I know I'm way off with this script. Please Help :D Edited once: the click detector will insert, but wont work.
tom = false while true do wait() --added Click = Instance.new("ClickDetector") if script.Parent.Parent.Humanoid.Health <= 0 then tom = true Click.Parent = script.Parent end end function click(guy) if tom == true and script.Parent.Parent.Player.ToolTip == guy then script.Parent.Parent:Remove() end end script.Parent.Clicked:connect(click)
Solved
The function and while true do needed separate scripts. Activated by outside occurrences.
ANY Help is appreciated. Thanks :D