#Someone????

1 messages · Page 1 of 1 (latest)

dense hatch
last condor
#

have you seen brawldev?

dense hatch
#

Idk who is he

limpid knoll
dense hatch
limpid knoll
#

Debounce is a coding technique used when you would like a function/event to finish / add a cooldown before it can be executed again.

alpine wyvern
#

like if debounce then

limpid knoll
#

The way you use it is by adding a variable (normally called “debounce”) and setting it to true. When the function starts, you first check if debounce is true. If it is, THEN you execute the function and turn off debounce, not turning it on again until the function ends.

limpid knoll
# alpine wyvern like if debounce then

Since debounce is normally a bool value, “if debounce then” is checking if debounce is true, unless debounce is an instance, then it’s checking if it exists

dense hatch
#

Bro u saved me

#

So tganks

limpid knoll
#

Np

#

I’d suggest you just ask chatgpt for questions whenever you have them but MAKE SURE that you actually read what it says and understand the solition

atomic domeBOT
#

studio** You are now Level 1! **studio

limpid knoll
#

Want an example of debounce?

#

Also .parent is a property of instances that returns the instance that contains it

#

So for example if you have a script inside a part, and you want to change something about that part, you’d refer to it with .Parent

local Part = script.Parent

tender oasis
#

basically a parent is the thing an object is inside

limpid knoll
#

Yeah

tender oasis
#

for exmaple

#

example

#

starterpack is the parent of this tool

limpid knoll
#

Yup

#

It’s important to note that Parent can be chained