Advertisement
Guest User

No humanoide

a guest
Jan 19th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. script.Parent = workspace.Josemmoya.Torso
  2.  
  3. function onTouched(Part)
  4. local h = Part.Parent:FindFirstChild("Humanoid")
  5. if h~= nil then
  6. h:Destroy()
  7. end
  8. end
  9. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement