#how to implement a debounce to my clientcast hitbox sword

12 messages · Page 1 of 1 (latest)

ebon stream
#

you get your list of humanoids into a array

#

and go through them and add them to another table if they arent there

#

so using table.find(table,humanoid) to check if it is there

#

i would send a example of my code but im on phone bruh

#

lemme just

#
local alreadyhit = {}
for _, i in ipairs(humanoids) do
if not table.find(alreadyhit,i)then
-- do damage
table.insert(alreadyhit,i)
end
end
#

basically

#

yep lol

#

im just giving a example
it works for me,might not for you

native cryptBOT
#

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

ebon stream
#

im going to sleep

#

you can learn alot more roblox with documentation,devforum,youtube