#Humanoid:GetPropertyChangedSignal("Health") breaks after character resets

27 messages · Page 1 of 1 (latest)

snow holly
#

when is the event listener initialized

#

like is it when the game starts or whenever the character spawns

thorn marlin
#

Game starts. I made it so when the character spawns but that didnt change anything

#

The property signal just completely stops connecting. It doesn't even print test

modern citrus
#

You have to put the script in StarterCharacterScriptsw

thorn marlin
#

Ah

#

Well it is connecting now

#

Okay sweet

#

My bad

#

I tried earlier and it had no effect

snow holly
#

why do people delete the thread message when they find their solution

#

other people can learn from this

thorn marlin
#

Apologies I just assumed that was how it should be done

#

So people can find the top ones better

snow holly
#

ur good no worries

thorn marlin
#

Idk now that I think about it thats silly

snow holly
#

you can always just close the thread

#

by right clicking on it

thorn marlin
#

Idk how haha

#

Alright sweet

snow holly
#

no worries

#

have fun scripting and good luck boss

thorn marlin
#

Thanks for the help

snow holly
#

you can have a serverside script listening for propertychanges of playercharacters too

#

but as long as your solution works for your use case, no need to change i guess

rigid valley
#

You are supposed to update the humanoid to the player new character whenever the player resets (die)