#deals dmg of missed attacks

1 messages · Page 1 of 1 (latest)

amber ruin
fringe sage
#

press this button in the script tab

amber ruin
#

ok?

fringe sage
#

cus its like annoying to read

amber ruin
#

any clue?

left lagoon
#

My scripts are saved 🙏

amber ruin
#

the function should end when theres no humanoid detected but it stiill waits until theres a humanoid to deal dmg

left lagoon
#

Does this hitbox linger forever

glass remnantBOT
#

studio** You are now Level 3! **studio

left lagoon
#

Or just a few seconds

amber ruin
#

it lingers

#

should i just clone it?

winter sun
#

for hitboxes i recommend using workspace:getpartsinaprt

#

so it only detects when the hitbox gets created

#

either way though you should destroy the hitbox when you're done with it

#

can cause alot of lag

amber ruin
#

ill try rq

left lagoon
#

But he doesn't create the hitbox, it just toggles between touchable and untouchable

#

Deleting it would probably break his script no?

winter sun
#

oh what

#

wait so you just have 1 hitbox per player at all times?

#

i guess its lag friendly..? idk just not the approach i would take

left lagoon
#

Yeah it looks like a weird system

winter sun
#

oh yeah @amber ruin

#

you should make a modulescript for hitboxes

left lagoon
winter sun
#

rather than have to copy it everywhere

left lagoon
#

Oh I've just clocked

winter sun
left lagoon
winter sun
left lagoon
#

I'm not very good at scripting but it feels messy using that way

winter sun
#

i just find getpartsinpart much more controllable

left lagoon
#

Because I just repeat it

winter sun
#

if you find .touched serving your purpose fine then go ahead

winter sun
#

i have experience having connections in other connections and it aint nice

left lagoon
#

Yeah , it will make your damage stack

winter sun
#
connection:Disconnect``` is how you do it btw
amber ruin
winter sun
#

what your hitbox effect is stacking?

#

because thats what disconnect should be fixing

amber ruin
#

lemme try

left lagoon
winter sun
#

yeah idrk what the problem is here ngl

left lagoon
#

I thought it was the hitbox being stuck in place and hitting after

#

But this makes much more sense

winter sun
#

i mean .Touched shouldnt activate if CanTouch is disabled

spiral path
# amber ruin

first of all, why is your hitbox system not a module? actually i shouldnt complain about that nvm.

spiral path
winter sun
#

oh dang

spiral path
winter sun
#

yeah just disconnect then

#

i dont use .touched anymore

#

i use getpartsinpart now

#

🤫

spiral path
#

Also it would be better IF you use raycasting for hitboxes

#

😭

winter sun
#

well

#

if you dont want hitting through walls

#

sure

#

also how does raycasting work if its like big

#

do you just use shapecasting instead

amber ruin
spiral path
left lagoon
#

@amber ruin you prolly don't want to use touched for your hitboxes, better to rework the system now rather then waiting for later

spiral path
#

can work even if its big

winter sun
#

and then at the end do connect:Disconnect

left lagoon
winter sun
amber ruin
#

would it not be better?

left lagoon
winter sun
#

hitboxes should be in module script since u'll be using it alot

left lagoon
#

It only detects moving parts

#

I used to use it as well

amber ruin
left lagoon
#

Yeah

amber ruin
#

seems to work fine when im standing still

spiral path
left lagoon
#

Learn how to use getpartsinpart

spiral path
winter sun
#

cool

amber ruin
#

guess im reworking it

#

if i use raycast then it shouldnt have the issue

#

thx tho

left lagoon
spiral path
#

i hate survivors so... no\