No humanoide 2

a guest Jan 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. workspace.Josemmoya.Humanoid.Walkspeed = 99
  2. script.Parent = workspace.Josemmoya.Torso
  4. function onTouched(Part)
  5. local h = Part.Parent:FindFirstChild("Humanoid")
  6. if h~= nil then
  7. h:Destroy()
  8. end
  9. end
  10. script.Parent.Touched:connect(onTouched)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand