Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

This health death script wont work. What did i do wrong? AAAAAAAAAAAAAAAAAAAAAA [closed]

Asked by 6 years ago
Edited 6 years ago

Health = script.Parent.Humanoid.Health
Head = script.parent.Head
Eye1 = script.Parent.Eye1
Eye2 = script.parent.Eye2

while wait() do

if Health <= 0 then
Head.CanCollide = false
end

end

I have no idea what i did wrong. This should work and it should make it so it falls into the ground and into the void when its health is 0. It would not let me post this with out me putting all of those letters at the end... So please dont down vote this just cause of that.

0
I answered that in the comments of your last question. :| TheeDeathCaster 2368 — 6y
0
For some reason it did not work. I can send you a link of the model with the script that you gave me in it. It does not do what its meant to do. OmegaNoobBones 4 — 6y
0
Unfortunately, you can't change the cancollide values of a player, but you can make it where nothing else can collide with the player by making collision groups. ax_gold 360 — 6y

Marked as Duplicate by TheeDeathCaster and cabbler

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?