The explosion at the bottom of the script seems to be messing it up, but I can't see why.
function onTouch(hit)
local h = hit.Parent:findFirstChild("Humanoid")
if h ~= nil then
x = Instance.new("Hint")
x.Parent = game.Workspace
x.Text = "Hello Eminem, I am your father."
wait(4)
x.Text = "I have been watching you from the heaven's since I left your mother."
wait(4)
x.Text = "And now it is your time to die, and come up with me..."
wait(.1)
h.Health = 90
wait(.1)
h.Health = 80
wait(.1)
h.Health = 70
wait(.1)
h.Health = 60
wait(.1)
h.Health = 50
wait(.1)
h.Health = 40
wait(.1)
h.Health = 30
wait(.1)
h.Health = 20
wait(.1)
h.Health = 10
wait(3.1)
x.Text = "APRIL FOOLS!!! I AM JUST AN EVIL DUCK!"
wait(3)
local y = Instance.new("Explosion")
y.Parent = hit.Parent.Head
y.BlastRadius = 100
x.Text = ">:D"
wait(2)
x:remove()
wait(.1)
script.Disabled = true
end
end
script.Parent.Touched:connect(onTouch)
|