#code-discussion

1 messages · Page 67 of 1

hot wraith
#

Project 4D to 3D with rotation with 2 plans XW and YZ

gilded gyro
#

💀 oh..

hot wraith
sudden snow
#

I had to look up what an L system is. Very interesting...

#

Have you thought about using GPU api and Cpp to do fractals?

#

I heard its very optimal

gilded gyro
#

i wonder when uh

#

if i can make a uh

#

idk 🥲

hot wraith
#

@sudden snow @gilded gyro 🙂

gilded gyro
#

holy 💀

sudden snow
#

sick!

hot wraith
#

HEHEHE

gilded gyro
#

is making like tree?

#

i mean just an example

hot wraith
#

Yep, Infinity Tree, but he can make everything, i made a lot of exemple

#

He can make a Turtle

gilded gyro
#

ohhh

hot wraith
#

A space

#

The infinity

sudden snow
#

how much?

tawdry cypress
#

hey anyone has any idea on how to prevent punch spamming and also two players punching at the same time , making a combat system similar to tsb . Would help a lot if u knew the solution

quick vapor
#

what type of game?

lucid fox
#

any idc

quick vapor
lucid fox
#

dm me

quick vapor
plush lichen
remote bear
charred night
plush lichen
remote bear
charred night
#

even the spacing of the timings is linear

#

lmao

astral crypt
#

Does Roblox have a PurchaseSuccessful thing for game passes? Or is it only for dev products?

I want a player to receive a tool once purchase is successful

exotic egret
#

how do you write tools w fully rojo managed projects?

north nest
charred night
astral crypt
#

MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(player, passId, wasPurchased)
if passId == 0 and wasPurchased then
giveTool(player)
end
end)

#

Im using this

#

It’s a speed coil giver 💔

#

Thru prox prompt

charred night
glass pumice
mossy kite
#

i need help guys

#

i got a virus in my studio and i wonder how i delete it

astral crypt
#

I thought this was a thing that stopped in 2015

mossy kite
#

well it auto adds hd admin and spamming errors

astral crypt
#

Check ur scripts that’s all you can rlly do

glass pumice
mossy kite
#

12:31:20.233 Script 'assets.LL-Updated.ServerLocationSystem.PerformanceGui.PerfDisplay.Handler', Line 63 - Studio

glass pumice
#

did you add an admin module?

mossy kite
#

i didnt

graceful void
#

How much should I pay for a bicycle chassis w/ animation?

glass pumice
# mossy kite i didnt

well you must've added a free model with an admin module or some sort of script in it

mossy kite
#

i did yesterday in another place

#

i think its a plugin tho

#

since i open a new place

uneven sage
#

can someone please look at my faulty code in code help and tell me whats going on i cant figure it out

mossy kite
#

it still appearing

glass pumice
#

if you added an admin module in another place its not gonna carry over

glass pumice
#

scripts you add in other places don't carry over to other places

#

whats confusing about that?

umbral carbon
halcyon canyon
#

yo

#

did roblox fix that annoying module bug?

tidal mantle
#

where tf can I learn metatables so I can fully grasp it and get it over with

somber vault
halcyon canyon
somber vault
somber vault
halcyon canyon
somber vault
#

So I can’t know if they’re useful or not

halcyon canyon
somber vault
lean ocean
#

What module bug

charred night
#

What module bug

snow roost
#

What the helly?
What the hellyanté?
What the helly on?
What the helly, Berry?
What the helly, Burton?
What the helly, 'Bron James?
What the helly Cyrus?

tardy pasture
#

guys anyone here is good with php ?

#

i dont understand that shit for one bit

marsh osprey
#

𒅌

#

𒀱

unreal dust
#

iam thinking with grid layouts but iam not sure how i would go witht he scripting of it

spiral jungle
#

Layoutorder and tweens

scenic cove
#

what do modules inside other modules do?

burnt edge
#

Is it more optimized to have multiple RunService.Heartbeat Connections for multiple functions or have one global one which has all the functions that should run on heartbeat?

unreal dust
spiral jungle
burnt edge
#

wait

#

wrong image

#
local Module = {}
Module.OtherModule = require(otherModule)

?

unreal dust
spiral jungle
#

And when you click on it you double the size and halve the size of the inside stuff

#

Easy peasy

scenic cove
#

Why do pepole do it

unreal dust
burnt edge
# scenic cove Yes

ok so basically:

local module = require(module) -- this has the othermodule require inside

module.OtherModule.Something -- you can now call functions from the other module through that original one, if you put multiple modules in "module" you can require only that module once and have all the functions from other modules you need for your code inside
spiral jungle
#

And then you can tween the size of the frames

burnt edge
unreal dust
unreal dust
tidal vine
#

my first script

spiral jungle
#

And then you add the new stuff below

tidal vine
#

how is it?

bright coral
quick vapor
#

BROOO SOMEONE SCAMMED ME AND I DELETED HIS ENTIRE WORKS HE SPEND 5 MONTHS TO BUILD IT BUT I DELETED IT BECAUSE HE SCAMMED ME LOL

jolly vessel
tidal vine
#

not my code

tardy pasture
#

how much does an average game make monthly with 100 ccu ?

unreal dust
tardy pasture
tidal vine
#

...

tidal vine
unreal dust
ornate ivy
#

You can make a lot more than 100k a month with a solid game at 100ccu

sacred widget
sacred widget
sacred widget
#

(80 ccu.)

#

To draw your conclusions check out romonitorstats game pages, you can estimate earnings via the Acquisition tab on each game

lean cave
honest fern
craggy niche
#

game states i think its called

#

or if he made a copy

honest fern
#

He has auto saves in the project file

#

So he can just go back to a previous state

#

Deleting does nothing

craggy niche
#

yeah

quick vapor
craggy niche
# quick vapor NO

u dont know about game states? and u were scripting for him for 5 months??

lean cave
untold vale
#

does anyone know how to make a working bicycle?

lean cave
#

I can make

#

ez

honest fern
somber vault
lean cave
#

alr I can so that

proud idol
glacial kestrel
#

I have decided to step down from my throne of valuebases and descend here

#

in my game I have a table, players can join in via a module and once there are enough people the round starts

velvet vapor
#

let's go

tardy pasture
glacial kestrel
# glacial kestrel

right now I’m storing the module in server storage and I’m putting the matches (as guids, since it allows me to track every match when needed) under it

proud idol
glacial kestrel
#

as valuebases

proud idol
#

Like correct me if im wrong but im pretty sure depicting casinos is against tos (but the gambling itself is not as long as you set the questionarie that ur game has gambling stuff)

tardy pasture
lofty plinth
#

I mean its flat out illegal for a good chunk of places for minors

#

Gotta respect the law and policy apis

proud idol
tardy pasture
#

btw i dont get it like if u dont want ur child to gamble then DONT give them money its that simple

#

but no its all roblox its fault

#

that children are gambling

lofty plinth
#

I mean it is if they allow it to happen with no precautions in ppace

#

Place*

#

Even if its not irl money its still harmful and can cause additions

proud idol
#

Unless is just visual stuff

lofty plinth
#

Its also why games are forced to show %s for stuff now

#

Legally forced 2

rare basin
#

EU regulations and new laws is some countries

velvet vapor
tardy pasture
velvet vapor
tardy pasture
proud idol
velvet vapor
lofty plinth
#

Not just lawsuits

proud idol
#

Roblox would be banned if they did not comply with the law

lofty plinth
#

Even stuff like lootboxes arent universal yet but are region based

tardy pasture
lofty plinth
#

Roblox only has 2 do the bare minimum most liability hangs on the experience owner

proud idol
tardy pasture
proud idol
#

Is not much, but is something

velvet vapor
proud idol
velvet vapor
proud idol
velvet vapor
#

But why would you do it?

proud idol
#

In ur video the first part doesnt have that, cause i assume ur directly using the mouse position

proud idol
foggy heart
#

they learn!

#

they adapt

lofty plinth
#

Nice

foggy heart
#

It's the least optimized script on the planet earth

#

400 lines because I'm lazy

proud idol
tardy pasture
foggy heart
#

Because it's chunky, it performs poorly

velvet vapor
proud idol
foggy heart
tardy pasture
# velvet vapor Why?

waste off time and tbh i dont really care about a tag in my name mayby if i wanna redo some commision then i could apply

proud idol
spiral jungle
weak radish
# foggy heart

What are they learning from tho? Cus they arent just programmed to check for contact in their surroundings, can they see short distances or something?

spiral jungle
#

probably distance to the green part

weak radish
#

Also is profilestore worth learning

covert storm
#

Looking for programmers who can script a sports game fire

Paying $5K+ 🤑

spiral jungle
#

its very easy to learn and use

weak radish
prime cave
#

yall can you guys give me some scripts to make that arent too complex that i can sell as a resellable product for my website?

weak radish
#

without sending/receiving data from chatgpt in any way

prime cave
#

bro

#

😭

weak radish
prime cave
#

creating ai

#

mm

#

so easy

weak radish
#

I mean ai isnt hard to create

#

but an exact copy of chatgpt wouldnt be possible

prime cave
#

so can you uh

#

give me some actual

rocky lynx
#

obviously you aren't gonna finetune billions of parameters when they're randomly initialized

prime cave
#

ideas

weak radish
#

I was about to check the definition of ai

rocky lynx
#

you can distill chatgpt

#

Thats how llama was made

#

They trained their own LLM using output from ChatGPT

prime cave
#

you wouldnt even be able to access things like google to train the AI to grow or receive data to respond to certain inputs

weak radish
prime cave
rocky lynx
weak radish
prime cave
#

because the ai could only respond based on what the player has taught it.

weak radish
rocky lynx
#

bro what are you talking about that's literally how a GPT works you just feed it a fuck ton of raw data and it learns how to predict what tokens come next

prime cave
rocky lynx
#

it doesn't fuckin matter lmfao

#

Luau code can program a neural network

#

they can run on ur CPU

weak radish
#

Look

rocky lynx
#

CPU inference is a real thing and its performant because its inference

weak radish
#

Its not that deep

#

it was a joke we can carry on

rocky lynx
#

nobody trains an LLM on their CPU u just train it with a GPU and upload it somewhere where you can download the model

#

then you write Luau inference

#

and you can run your model on Roblox

prime cave
#

sorry @rocky lynx , we didnt mean to trigger your inner rocket scientist

rocky lynx
#

sorry u have below average iq lmfao

prime cave
#

WHYYYYY how will this world survive

stable urchin
weak radish
#

lol

abstract dagger
#

i think he meant the term used

weak radish
#

Im saying its so broad that even {Data} is ai

abstract dagger
#

it just depends on what ur making

stable urchin
abstract dagger
#

i love tm

stable urchin
#

It don't matter if it's parallel

abstract dagger
#

oh sorry guys i just read the full chat

nimble star
#

sm1 pls hire me for scripting

stable urchin
abstract dagger
nimble star
abstract dagger
#

u will be paid in experience steamhappy

weak radish
static coral
# nimble star wdym

let me translate: you will be enslaved and must accept any requested labour for completely free

weak radish
static coral
nimble star
#

ofc you knew i was black

static coral
#

he is the one tryna get free labour out of u

nimble star
#

racism

weak radish
#

I hope not

#

Oops

nimble star
#

yes.

copper tundra
#

guys what is best way to learn coding?

abstract dagger
#

damn

weak radish
abstract dagger
weak radish
abstract dagger
#

google

nimble star
weak radish
nimble star
copper tundra
weak radish
abstract dagger
#

1 minute passed already

weak radish
#

Fr 😭

#

Man no way he just googled that

nimble star
#

it defines a variable pal

abstract dagger
#

😭

nimble star
#

im tryna multitask my playing a game

weak radish
nimble star
#

ask another question

weak radish
weak radish
#

whats a bool

nimble star
#

i was playing a game

weak radish
#

.

abstract dagger
#

😭

weak radish
#

Are we deadass

abstract dagger
#

it's 3 words

nimble star
#

boolean

weak radish
#

💀

nimble star
#

?

weak radish
#

YES

#

You jsut searched "bool" up and it gave answers for a "boolean" and so you were confused

#

BRO

#

ANSWER

nimble star
#

what

#

what is u on about

weak radish
#

WHAT

#

IS

nimble star
#

wait

#

hold on lemme get my noodles rq

weak radish
#

God help anyone who hires this man

#

He doesnt know what racism OR coding is

waxen token
#

Guys how to fix my blender punch animation it priority is action2 and it still overrides the walking animation

abstract dagger
waxen token
#

Yeah like the upper body punches and the lower keeps walking

abstract dagger
#

if ur using the blender plugin on roblox, it gives u the option to turn off the legs

weak radish
abstract dagger
#

😭

waxen token
#

If this works bro

abstract dagger
#

yea it will

#

just turn off the legs and reupload the anim

weak radish
#

Okay @nimble star Ill give you the answer, a boolean is a variable that stores a letter a-f

#

did you know that?

somber vault
#

hi guys, I am learning to program on roblox just this period, and just recently joined the server (just getting used to throwing these messages completely out of context) I was recommended to learn knit because it is in high demand however i noticed that it is archived on github, in your opinion is it still valid to learn it or is there something better?

weak radish
#

I assume you knew it right?

abstract dagger
#

i've seen it before, it seems like a pretty good module

#

welcome to the server btw

bleak glade
abstract dagger
#

oh sad

somber vault
somber vault
somber vault
bleak glade
#

you can use packets for networking though, its pretty good

somber vault
waxen token
abstract dagger
#

it worked?

bleak glade
#

if you started yesterday then why are you trying to jump into frameworks

waxen token
#

Yeah

abstract dagger
#

nice one bro

somber vault
waxen token
#

Ty bro really this made me so mad for the past 3 days

bleak glade
#

it uses buffers for deseralization and serialization

somber vault
bleak glade
#

with some type of network wrapper

somber vault
#

wdym with network wrapper?

weak radish
#

@nimble star Did you die of shock?

bleak glade
#

a module that does something network based, wraps it to make it easier, ie Packets

#

a wrapper just modifies an existing thing

somber vault
#

thanks i'll look into that

#

and thx for all the other advices

#

gtg now

bleak glade
#

use modules too

honest fern
foggy heart
# spiral jungle why are they stupid

The chance of them picking something entirely new to add to their path is very high, it means they can't quite pin point the square as easily but it means they can figure it out faster than if I were to reduce that chance

foggy heart
spiral jungle
#

stuipud

foggy heart
# spiral jungle stuipud

If I were to set it low they would get it easily it would just take forever for them to get to that point

abstract dagger
foggy heart
#

Am trying to make a neural network now, big step up and it is NOT easy

somber vault
abstract dagger
#

good luck

somber vault
#

what are you doing?

foggy heart
#

the edges to shapes to numbers part fiddles my brain

#

im only toying with concepts rn ill get to coding once i undestand it

abstract dagger
#

what lang

foggy heart
#

lua

abstract dagger
#

oh

foggy heart
#

BECAUSE

#

IM NOT SCARED

abstract dagger
#

good luck

somber vault
#

wha-

#

well seems cool

foggy heart
#

also our brains can do this

#

with ease

#

wish i could like

somber vault
#

explode?

foggy heart
#

rip apart someones brain

#

have a good lookey 🙂

#

prod a stick up in someones brain

somber vault
#

btw i think someone is using some brain cells for computing

foggy heart
#

i know someone ran doom on a rats brain

somber vault
#

tf

#

i wanna try it

foggy heart
#

u grow ur own brain

#

then run doon

somber vault
#

from virtual reality to distorted reality

void tapir
#

anyone experienced with the viethin gun system?

median echo
#

Anyone use codewars?

civic rain
#

basically trying to make a script to where you touch a parts and you get coins from them, there are multiple parts. I am just very confused.

civic rain
median echo
#

uhh , idts but dont think it matter since 99% is the same

civic rain
#

ohh ok

civic rain
median echo
#

ok give me a sec

civic rain
#

ok

median echo
#
game.Workspace.Part.Touched:Connect(function(hit)
    print(hit.Parent.Humanoid.DisplayName)
end)```
#

@civic rain

#

something like this?

civic rain
# median echo something like this?

if i implemented that would the script work, which is that when i touch a part it should give me coins. Obviously I would need to add some things but would the part be able to detect that its a humanoid touching it?

median echo
median echo
#

let me try make it work hold on

#
local CoinParts = game.Workspace.Coins

for index, part in ipairs(CoinParts:GetChildren()) do
    part.Touched:Connect(function(hit)
        local character = hit.Parent
        local humanoid = character and character:FindFirstChild("Humanoid")
        
        if humanoid then
            local player = game.Players:GetPlayerFromCharacter(character)
            if player then
                print(player.Name .. " touched the part!")
            end
        end
    end)
end```
#

@civic rain check this bro

glacial charm
#

Guys how do i test any system that needs other player, as combat systems, etc.

lean ocean
#

ipairs in 2025

median echo
#

whats the issue

#

is it bad practice?

lean ocean
#

for i, v in arr do

end

knotty cargo
#

how long does it take to grasp an understanding of lua that is enough to start doing modeling, animating and vfx?

bitter laurel
#

Like 6 months do do it well

median echo
#

are there any other lua / coding discords to join

median echo
rigid crane
static forum
#

yo can u help me with a stupid error so basically I got a hit box and I have it welded to a ball and I did ball.position for the hit box but the hit box won’t fit exactly in the middle of the ball cuz it’s cal collided is true cuz of it it won’t let it on top and I also can’t anchored it because the ball will fall same thing for the hit box btw just in case u say anchors the hit box and it will make it toghter but then it won’t allow the player to move

median echo
rigid crane
#

It's the biggest one

near roost
#

Yk what else is the biggest one?

tribal panther
#

give me a random roblox game idea to make that can be done in less then a day or so, ill make it

near roost
#

A game where the players fight each other and the winner gets $1000

#

There are rounds

#

Each round you can win up to $1000

#

1st gets $1000

#

2nd gets $250

#

3rd gets a participation award

#

And everyone else gets nothing

tribal panther
near roost
#

Yes

#

Unless you want to give away thousands of dollars everyday

tribal panther
#

💀

median echo
silver drum
#

Hello hello people of coding community people, I haven’t been able to study/code anything for the last four days or five and I was in my beginning journey with two or so, and I know that if you take some time away and don’t repeatedly do it, you lose what you have learned and everything so my question is how do you guys keep up on long period of time that you guys aren’t able to learn?

#

I am sending this meanwhile I’m at work right now, but I can’t get the feeling away that I am forgetting everything and won’t be able to come back and fix the momentum i had

open hull
#

is a building system a complicated thing to script

spare reef
#

What should I make as a beginner scripter to help improve my skills pls no hate

azure jetty
#

is there any way to make an abstract method

#

in lua

upbeat vine
upbeat vine
spare reef
#

I just don’t have any ideas rn

plush lichen
#

do games usually make their own modules or use popular open sourced ones?

spare reef
#

Oh gosh

#

No this person again

plush lichen
#

its crazy

spare reef
#

I was going to

#

But everyone was being jerks

plush lichen
#

maybe you're just asking just to ask not cause you actually want to

spare reef
#

And said it was horrible when I tried at all

#

I want to? What

#

Why would I ask to ask that’s wasting my time

plush lichen
#
  1. you're asking the same thing as yesterday
  2. you got discouraged easily cause you stopped when everyone said it was shit when ofc its going to be shit as a beginner
autumn oak
#

i want statues to spawn around spawnpoint (0, 0.5, 0) in a spiral way but still respecting the grid its spacing.

-- << services >>
local players = game:GetService("Players")

-- << storage >>
local storage = game.ReplicatedStorage:WaitForChild("storage")
local template = storage:WaitForChild("statue")

-- << settings >>
local load_interval = 0.1

-- << variables >>
local statueindex = 0

-- << other >>

-- << set-up >>
local function load_statue(userid)
    -- << player >>
    local name_success, playername =  pcall(function ()
        return players:GetNameFromUserIdAsync(userid)
    end)

    -- << create statue >>
    local statue = template:Clone()

    local avatar = statue:WaitForChild("avatar")
    local humanoid = avatar:WaitForChild("Humanoid")
    local label = statue:WaitForChild("sign"):WaitForChild("panel"):WaitForChild("gui"):WaitForChild("label")

    -- << load player statue >>
    if name_success then
        humanoid.DisplayName = tostring(playername)
        label.Text = tostring(userid)
    else
        warn("failed to fetch player name for userid " .. userid)
    end

    local description_success, description = pcall(function ()
        return players:GetHumanoidDescriptionFromUserId(userid)
    end)

    -- task delay works for some reason..?
    task.delay(0, function ()
        if description_success then
            humanoid:ApplyDescription(description)
        else
            warn("failed to fetch humanoid description for userid " .. userid)
        end
    end)

    statueindex += 1

    local spacing = 16

    local position -- i want statues to spawn around spawnpoint (0, 0.5, 0) in a spiral way but still respecting the grid its spacing.

    statue:SetPrimaryPartCFrame(position)
    statue.Parent = workspace
end

-- << load stored players >>
for i = 1, 9 do
    load_statue(916214315)
    task.wait(load_interval)
end```
quartz wraith
plush lichen
#

we all literally told him this yesterday too

#

don't bother

spare reef
#

Yup I’m just stupid

#

Love it

quartz wraith
limpid crown
#

Is scripting easier then modeling?

spare reef
quartz wraith
#

u cant even script

spare reef
#

I model

#

I think I would know

plush lichen
quartz wraith
spare reef
#

I’ve been trying scripting for like a month

upbeat vine
spare reef
#

So I didn’t just hop in this fast

autumn oak
#

pls can anyone help me out :
i want statues to spawn around spawnpoint (0, 0.5, 0) in a spiral way but still respecting the grid and its spacing.

spare reef
#

Onto 10 stages? Wow

upbeat vine
#

Why should someone buy N obey?

quartz wraith
#

sistem

spare reef
#

Fr

#

System

plush lichen
#

sounds like something that took a few days to make that's for sure

quartz wraith
wind raft
autumn oak
#

how much is the sistem

spare reef
#

Obby is too easy

upbeat vine
quartz wraith
#

let me play it

upbeat vine
#

I started scripting yesterday:D

spare reef
#

I didn’t make a full obby I just made the checkpoints and stuff like h tbh at

#

That

upbeat vine
#

Brawl devs guide carrying

spare reef
#

Killbricks

#

Rotating parts

autumn oak
upbeat vine
upbeat vine
spare reef
#

Nice

quartz wraith
upbeat vine
upbeat vine
#

?

wind raft
upbeat vine
quartz wraith
upbeat vine
#

Also in 3-4 months do you think I can learn enough to make a combat system)

upbeat vine
wind raft
spare reef
#

I can almost make a combat system I think

upbeat vine
quartz wraith
spare reef
#

Offend

spare reef
#

Do u think I could make combat system

quartz wraith
spare reef
#

I haven’t started

median echo
#

lets go this chat is active again

upbeat vine
spare reef
#

I just think I can based on what else I’ve done

#

Thx man 😃

upbeat vine
#

And learn fast

quartz wraith
quartz wraith
upbeat vine
quartz wraith
upbeat vine
upbeat vine
quartz wraith
#

depends on the person

upbeat vine
spare reef
#

Teleporter pads

#

Uhhh rotating parts

#

Disappearing parts after touched and reappearing in a tween

#

Smooth moving platform

#

That’s about it

quartz wraith
#

no raycasting

#

no combat system

autumn oak
#

got it working (with a better ai 😹

azure jetty
#

did i do this right

#

inheritance so weird in lua bro

spare reef
#

How would I assign a hitbox to every player that joins

#

Obviously player added but

deft pasture
hoary cedar
spare reef
#

Like inside the function idk what it’s be

median echo
#

I want to make a scripting tutorial channel

#

I assume there is a lack of high quality resources on youtube

hoary cedar
#

Yes

quartz wraith
bright bough
#

Any aspiring devs looking to join a gc where we can all communicate and give each other tips?

deft pasture
abstract dagger
bright bough
bright bough
lone rain
bright bough
proper merlin
#

Hello I was wondering if anyone could help me make an auto team sort using a chat command. I’m trying to make 3 types it so like !assign ‘type’ #of teams
And the type will be based on the rank numbers in the group

kind magnet
#

made a cool moderation thing where for every accessory detected in the game, it'll send an embed to a discord server channel through a bot i coded (using discord.js) and let me accept the ugc or decline it, which'll delete the item from anyone's avatars if they wear it

only took a few hours, here are the amount of lines of code it took to make this monstrosity of a side project lmao

#

i would show a video but its kinda hard to show it in action since the whole system is based on an embed and not in the actual game

ivory temple
vivid summit
#

it remind me pho discord API roblox 😭

kind magnet
#

plus it updates in real time

#

which is fun

hallow linden
kind magnet
hallow linden
#

picture not loading, errors?

kind magnet
#

this is how i get the image

#

can i explain more tmrw ? im tired lol

hallow linden
kind magnet
ivory temple
#
-- Ability Superclass

local Ability = {}
Ability.__index = Ability

function Ability.new(property: string)
  local self = setmetatable({}, Ability)
  self.property = property
  return self
end

function Ability:Print()
  print(self.property)
end

-- Inheritance

local Ability = require(path.to.ability)

local Attack = {}
Attack.__index = Attack
setmetatable(Attack, {
  __index = Ability,
})

function Attack.new(property: string)
  local self = setmetatable(Ability.new(property), Attack)
  return self
end

function Attack:Print()
  print(self.property)
end

return Attack
#

i think you did it right

#

for some reason i read it as in you didnt know how to do it

#

brain isnt braining

leaden folio
#

is your game real lag?

FIX:

while true do
  Instance.new("Part", workspace)
end)```
#

= 999999 FPS

#

👍

ivory temple
#

this should fix most lag issues on the platform

leaden folio
#

OMG IMA TRY THIS!

somber vault
#

RIP

thick dagger
#

How long are they planning on keeping the devforum down?

shy stone
#

Idk

thick dagger
#

I need to mindlessly scroll through everyones pointless post

shy stone
#

I am sure they use the same servers as Roblox games

#

So they are basically potatoes...

thick dagger
#

aw 😦

#

it aint gonna be up for another 2 hours

sudden estuary
#

🤣

timid turret
#

whos got hitbox recommendations, looking for a variety of things (eg projectiles, lingering aoes, fast paced hitboxes, tracking etc), any recs would be nice. mainly combat oriented

timid turret
#

i got around a year

dapper flume
timid turret
#

uh. no one atm, its a solo project for now :(

dapper flume
#

Oh

timid turret
#

so

#

im assuming no?

dapper flume
timid turret
#

what for

dapper flume
timid turret
#

im gonna go ask grok

thorn horizon
#

repeat
task.wait()
until game.Players.LocalPlayer.Character

--SERVICES

local P = game:GetService("Players")
local TS = game:GetService("TweenService")

--VARIABLES

local Plr = P.LocalPlayer

local PlrUi = Plr.PlayerGui

local Effect = script.HoverEffect

--TABLES

local Everything = game:GetDescendants()

--FUNCTIONS

--MAIN CODE

for i, v in ipairs(Everything) do

    if v:IsA("ClickDetector") and v.Parent:IsA("BasePart") then
            
            v.MouseHoverEnter:Connect(function()
                    print(v)
                    local Clone = Effect:Clone()
                    
                    Clone.Parent = v.Parent
                    
            end)
            
            v.MouseHoverLeave:Connect(function()

                    if v.Parent:FindFirstChild("HoverEffect") then
                            
                            v.Parent:FindFirstChild("HoverEffect"):Destroy()

                    end

            end)
            
    end

end

For some reason, when I add this print statement, it all works, when I remove it, it no longer works. No errors. Does anyone know why this does not work?

thorn horizon
dapper flume
thorn horizon
#

Sure.

#

DM's?

shy walrus
#

@near knoll The water physics you got going on, do you think you can replicate it onto bigger items like a ship?

#

I also didn't realize that Roblox doesn't do that with their water by default

teal basin
# thorn horizon Sure.

He's a scammer btw dont fall for it, someone already made a report against him as well as him having DMd me minutes later

teal basin
#

😭

thorn horizon
#

He did not even know what ui is.

shy walrus
sudden estuary
foggy heart
sudden estuary
#

whats this

foggy heart
#

the graph is just a visualization of 1 or 0 depending on which output is greater

#

2 inputs and 2 outputs 🙏

brisk aurora
#

Guys how do I add an animation to this: (I want it to spawn the part when the animation reaches the event "SpawnFrame", I've used the method on the DevForum, but it didn't work, pls help 😭 🙏🏼 )

lost burrow
#

no hiring in chat

blissful wharf
#

ok ok mb

spiral jungle
sudden snow
#

i got my ui in for my checkpoint system

twin bough
#

Random.new():NextNumber(0, 50) < 15 - What percent chance is this to be true ( Number picked is less that 15 )

foggy heart
lost burrow
#

ja

charred shore
#

is it even possible for a ui to be scripted like this in studio?

sudden snow
#

yeah

charred shore
gilded gyro
#

i wanted to do something for experimenting to able to make with advanced grinding system

#

by BasePart:GetClosestPointOnSurface
but in Multiple Part

#

turning into Get Closest Point On Surface

#

so i don't longer have to use "Rail" Tagged

#

this is gonna be a complex and math to use my brain Skull

#

in order to make a best grinding system ever made

lofty plinth
#

Stat polygons are actually surprisingly easy 2 do without editable images

lofty plinth
#

Effectively create a circle. Divide the circumference into how many stats u wanna show. The further away from the center of the circle is the higher the stat

#

Connect each point via lines

#

Then fill with triangles (u'd need to clean the edges or u get artifacts)

#

Left us without clean edges

#

Right is

#

You can add as many points as you want aslong as its 2 or more

lofty plinth
#

Obviously you'll get better results with editableimages most of the time

#

But u can pretty much do it cleaner without it

dusky relic
lofty plinth
#

Just a right angle triangle image that i stretch to fill between the lines

#

Every section is effectively just a triangle so its just doing funky math to get the 2 points and making it work within that space

#

Ill show what i do in a bit on mobilw rn

gilded gyro
lofty plinth
#

No?

#

This was down before path2d was a thing I believe

#

Never bothered to update it

dusky relic
#

Huh,can you resize a right angle triangle to become ant triangle. That don't make sense. Or do you fill the image with only right angled triangles?

lofty plinth
#

Lemme get a ss probs easy to explain with it

pure shale
#

do u guys see any errors in this ?

lofty plinth
#

the white lines are just frames

meager ocean
sudden snow
#

i knew it would tequire some sort of triangle calculation

#

i was assuming it would be using isoceles triangles and linking them by their base vertices

#

i see why you need right teiangles though

lofty plinth
#

Yeah

tidal shuttle
#

i've inserted a billboardGui in the head of character, when the player increase of size or shrinks, how i can scale the billboardGui?

lofty plinth
#

The math itself isnt hard 2 its just finicky when u dont use editable images and triangles with clean edges

lofty plinth
#

Or am i thinking of smth else

tidal shuttle
#

i'm not scaling directly the model of the character

lofty plinth
#

Oh I see

#

Then u can just have the Size property of the billboard and modify it as a % of size

#

E.g default size is 1 then 1.1 for bigger .9 for smaller

#

Ud need to cache the x1 size tho

#

Easiest way i can think off rn

pure shale
tidal shuttle
#

let me test it

vernal peak
#

when using dataStores, can i have multiple in diff scripts and call them in other scripts?

meager ocean
pure shale
#

so is it g?

lofty plinth
#

Makes managing them easier

lapis oak
#

Hi, I just started coding, just practiced on making a punch function

#

am I on the right track?

local tool = script.Parent

local Punching = false


tool.Equipped:Connect(function()  --IMPORTANT, DO THIS FIRST, IF NOT IT WILL CONSIDER IT IN A BACKPACK ONLY
    local character = tool.Parent
    local humanoid = character:FindFirstChild("Humanoid")
    local PunchAnimation = humanoid.Animator:LoadAnimation(script.Punch)
    local Hrt = character:FindFirstChild("HumanoidRootPart")
    local isEquipped = true
    
    print(character)
    print(humanoid)
    print("Tool Parent:", tool.Parent)
    
     --Mistake #3, punching must be defined outside the function, basically the normal state
     --Separate the functions to multiple parts to make it more in order.
     
    local function startPunching()
        if not isEquipped then return end  -- Check if the tool is still equipped

        if not Punching then
            Punching = true
            PunchAnimation:Play()
            print(Punching)
            task.wait(1)
            PunchAnimation:Stop()
            Punching = false
            print(Punching)
        end
    end
    
    UIS.InputBegan:Connect(function(input, gpe)  
        if gpe then return end

        if input.UserInputType == Enum.UserInputType.MouseButton1 then
            startPunching()
            
            
        end
    end)
    
        tool.Unequipped:Connect(function() -- prevent the function to be activated when unequipped
        isEquipped = false 
        Punching = false 
        print("Tool Unequipped: Punching reset to false.")
    end)
end)


vernal peak
lapis oak
#

What would be the best way to practice coding

lofty plinth
#

Its recommended to use both due to the fact datastores can die

somber vault
abstract dagger
#

situational

#

just make projects

somber vault
#

ig it depends

lofty plinth
#

Ive found the golden spot yo be around every 2 minutes~

somber vault
#

if u want to be better at making efficient algorithms

#

do coding problems

lofty plinth
#

Then when uve done a few work on all of them working together 2 do smth

#

Aka getting to understand how to make stuff modular

abstract dagger
#

play a lot of warframe too it helps with coding

#

😺

lofty plinth
#

Facts

tidal shuttle
# lofty plinth E.g default size is 1 then 1.1 for bigger .9 for smaller
            local textLabel = child:FindFirstChild("SizeText")

            if humanoid and textLabel then
                -- Original size and offset values
                local originalSize = child.Size
                local originalStudsOffset = child.StudsOffset
                local originalTextSize = textLabel.TextSize


                child.StudsOffset = Vector3.new(
                    originalStudsOffset.X * scaleFactor,
                    originalStudsOffset.Y * scaleFactor,  
                    originalStudsOffset.Z * scaleFactor
                )


                child.Size = UDim2.new(
                    originalSize.X.Scale,
                    originalSize.X.Offset * scaleFactor,
                    originalSize.Y.Scale,
                    originalSize.Y.Offset * scaleFactor
                )


                textLabel.TextSize = originalTextSize * scaleFactor


                child.MaxDistance = 100 * scaleFactor

                local baseText = "Clone x " .. tostring(cloneValue)
                textLabel.Text = baseText


                child.AlwaysOnTop = true

i've did this but doesn't work, the size maybe works, but the StudsOffset don't scale it

lapis oak
#

Wats that

lofty plinth
# lapis oak Modular?

Like have multiple scripts/modules interact with each other to create a game or a gimmick kinda thing

lapis oak
#

Ohh

#

I think I'm yet to make like two scripts interact with each other

#

is that related to remote event btw?

lofty plinth
#

Nah not rly

#

Well it can be but its not rly what I meant

lapis oak
#

hmm

#

alright I'm bout to sleep

lofty plinth
#

But u should 100% learn remote events before it

lapis oak
#

I'll take your advice in mind

lapis oak
lofty plinth
#

If u need help when ur awake feel free to ping to ask

cobalt rock
#

Yo, anybody done combat systems before?

lofty plinth
foggy heart
#

wow

mortal hare
#

This might be a really dumb question but I'm new to roblox game dev, is Lua the only language used? Or do studios use other languages?

obtuse tree
#

How can i change the idle/walk animation for player when tool is equipped?
r15 btw

regal geyser
#

anyone here is Asian, where can I have people to try out my game i need bug test 🙂

cobalt rock
mortal hare
cobalt rock
#

very easy language compared to others imo

tired geyser
#

hello

tidal vine
#

hi bro

obtuse tree
misty cloak
#

if i connect a anonymous function doesnt it create a new function eachtime the code runs?

regal geyser
#

anyone here is Asian, where can I have people to try out my game i need bug test 🙂

harsh fiber
#

What makes someone a good scripter/programmer?

cobalt rock
#

also somebody who has enough knowledge to complete challenging tasks

bleak glade
#

whats the best way to secure my fishing system from the client being able to autofarm it? its like stardew valley, but progress is made on the client so idk how to secure it from autofarm? the random item is selected on the server (img 2)

obtuse tree
bleak glade
#

its weird for the server to track it

#

hold on let me send a video

obtuse tree
#

ye but client can change any information to send it to server

lofty plinth
#

Add a hard cooldown on the server between fishing attempts is 1

#

U can either kick if they are doing 2 fast

#

nerf luck like crazy

#

Or track and do ban waves

bleak glade
lofty plinth
#

U can alternatively do snapshots between the client and server

bleak glade
lofty plinth
#

They could but banwaves makes it more difficult

#

So they cant fine tune the numbers

#

I personally nerf luck and then do ban waves for auto farmers

bleak glade
#

i can probably just ban them

#

as they still gain something from getting common items

lofty plinth
#

Fe

abstract dagger
bleak glade
fierce talon
#

how can i learn scripting when i know all the basics of scripting?

livid tundra
bleak glade
livid tundra
#

yea but lua u is diffrent from every language

bleak glade
#

no not really

livid tundra
#

?

honest hill
fierce talon
bleak glade
#

it has 30k lines of code all written by me

#

maybe more i havent really counted, more or less around that though

honest hill
#

thats wonderful bro u did everything UI and all the building? or mainly scripting

bleak glade
#

i only script i didnt do the ui

livid tundra
bleak glade
livid tundra
#

and u concider urself an expert

#

?

bleak glade
#

for the most part

livid tundra
#

have u developed any games?

bleak glade
#

yea

livid tundra
#

u know how to 3d model to?

#

and animate?

bleak glade
#

no i dont need to learn multiple things at once

honest hill
#

yo bro honestly rn i wanna learn and im not in college yet, im starting it next year, i have a grasp on random stuff here and there like hash maps, linked lists, some basic logic in roblox but i feel stuck ion know what to learn next

#

did u ever encounter this?

bleak glade
honest hill
livid tundra
bleak glade
bleak glade
honest hill
#

wait let me drop one that i've been working on lately

#

this one is a pet movement system with equipping and unequipping that i've made but it's pretty basic, im just using align position and made modules for animation and movement

bleak glade
#

those movements are nice

honest hill
#

yea took me a while to make it smooth lmao

bleak glade
#

i dont really do visual stuff

honest hill
#

u more on frameworks?

#

actually what are frameworks

bleak glade
#

basically just modules that do stuff over an entire game

honest hill
#

ooo

honest hill
#

that's neat

bleak glade
#

the weather system has tornados too

livid tundra
honest hill
bleak glade
#

not the vfx but the physicsd

honest hill
#

oh

#

are the weather chance based

bleak glade
#

yea

honest hill
#

daaam

bleak glade
#

it changes randomly throughout clocktime

livid tundra
honest hill
bleak glade
livid tundra
bleak glade
livid tundra
bleak glade
honest hill
bleak glade
livid tundra
bleak glade
#

bodyvelocity is depricated but i still like to use it

icy gale
bleak glade
#

depricated or not still works

honest hill
icy gale
#

Why do you prefer them to superior and functionality identical solutions?

honest hill
icy gale
#

A lot of deprecated stuff has features which Roblox still haven't reimplemented

#

Used to it??? It's like 10 minutes of learning

bleak glade
lofty plinth
lofty plinth
#

Ye

bleak glade
#

neither

#

theyre billboardguis

lofty plinth
#

Ohhh

#

Smart

bleak glade
#

and images

livid tundra
bleak glade
lofty plinth
#

Would of never thought of it

livid tundra
bleak glade
livid tundra
#

and u programed games?

bleak glade
#

none with graphics

livid tundra
#

what u learned in collage

#

programing

#

data

#

bludi got bored

charred shore
#

how did you guys learn? i pay for tutor and know a little but not much and im not tryna pay a lot of money

abstract dagger
#

dont pay

#

just go on youtube or something

honest hill
# bleak glade

i get it now so the way the probability of being chosen is by running for pairs with the selected pattern's transitions then a math.random() that returns a number between 0 to 1, but aren't the chances inaccurate if the randomvalue doesn't change and also the cumulative always increasing and chooses whichever the last transition weather it iterated to?
also wouldn't it throw an error since math.random(1, #applicablePatterns) will drop a number w decimals?

ivory temple
somber vault
mild sequoia
#

can someone help me on my custom rig character

lofty plinth
mild sequoia
lofty plinth
#

HumanoidRootPart

mild sequoia
#

yep

mild sequoia
lofty plinth
#

Check the rotation on it

mild sequoia
lofty plinth
#

Properties or the rotation tool

mild sequoia
#

yeah but i still cant add animation

#

and its floating

lofty plinth
#

Modify the hipheight under humanoid properies for the floating issue

#

And modify the animate script for custom animations

lime gyro
#

local playerScripts=player:WaitForChild("PlayerScripts")

#

hold my hand tight when you tell me , is this a thing ?

lofty plinth
#

I believe so but it might be starterplayer

#

Ud have to check during runtime cant remeber from memory 100%

lime gyro
#

imma check

#

yeah still infinite yield cryingdead

mild sequoia
mild sequoia
#

i dont know how to modify the animation

#

localscript

lofty plinth
#

Have you made animations for it?

mild sequoia
#

yeah

#

wait

valid axle
#

Looking for someone to help fixing my inventory system, dm me

lofty plinth
#

Upload to roblox and replace the ids in the script with urs

mild sequoia
#

i reuploaded it

#

nope still no

#

same id still doesnt work

lofty plinth
#

Are those ur ids?

mild sequoia
#

yeah

#

animation prio is idle

lofty plinth
#

Hmm

mild sequoia
#

i tried the jump anim but still doesnt work

lofty plinth
#

Does it have an animator?

mild sequoia
#

whats

#

wait

lofty plinth
#

In the startercharacter anywhere

mild sequoia
#

whats that

#

like this?

lofty plinth
#

It should be called Animator

#

Its where u have to call load animation 2

mild sequoia
#

do i put it anywhere

#

oh humanoid

#

yes it has

mild sequoia
lofty plinth
#

Dw its just a technical thing the script should deal with