Advertisement
RyanDaCoder

Troll Script

Sep 22nd, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. function onHit(hit)
  2. hit.BrickColor = BrickColor.Random()
  3. end
  4.  
  5. game.Players.LocalPlayer.Character['Torso'].Touched:connect(onHit)
  6.  
  7. function onHit(hit)
  8. hit.BrickColor = BrickColor.Random()
  9. end
  10.  
  11. game.Players.LocalPlayer.Character['Head'].Touched:connect(onHit)
  12.  
  13. function onHit(hit)
  14. hit.BrickColor = BrickColor.Random()
  15. end
  16.  
  17. game.Players.LocalPlayer.Character['Left Leg'].Touched:connect(onHit)
  18.  
  19. function onHit(hit)
  20. hit.BrickColor = BrickColor.Random()
  21. local newmesh = Instance.new("SpecialMesh")
  22. newmesh.MeshType = "Head"
  23. newmesh.Parent = hit
  24. end
  25.  
  26. game.Players.LocalPlayer.Character['Right Leg'].Touched:connect(onHit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement