#hitbox issue
1 messages · Page 1 of 1 (latest)
show script
ok heres every script involved
the first one is on the client, the other two are server scripts
Is there more than one part that is included in your generator (besides the random wires you excluded)
wdym
just right box and left box and random wires
are you able to give a video of whats happening
but it could be a problem with your open connection
.Heartbeat is not disconnected will continue to run after the hitbox is used and deleted, and could cause some errors in the long run
and I might be stupid but how is workspace:GetPartsInPart working when you delete the part right before it?
it still works
just dw about that
but
what do you mean by heartbeat?
do yk a way to make it stop instantly after firing ocne?
once?
@knotty dagger
You want to event to only fire once, or you want it to stop once the hitbox detects a generator
then there is no reason to connect it to runservice
how should i do it then?
just remove the runservice, and move all of the lines inside of it out
RunService.Heartbeat is for if you want the code to repeatedly run basically every frame, but if you need something to run once then thats just normal lines of code
❤️
hey
@knotty dagger
sorry if im annoying u
but after testing it
it didnt create the hitbox at all this time
if u have any clue why then pls lmk
A couple of things, why are you destroying the hitbox multiple times within your script, and is your part visible, if not then do that so you can confim that the part is being placed