AlinCZ

Untitled

Nov 22nd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. c = game.Players.LocalPlayer
  2. asd = c.Character
  3.  
  4. local mesh = Instance.new("SpecialMesh")
  5. mesh.Parent = asd.Torso
  6. mesh.MeshType = "Sphere"
  7. mesh.Scale = Vector3.new(1.5, 1.5, 3)
  8. mesh.Offset = Vector3.new(0,-.3,0)
  9. asd.Head.face.Texture = "http://www.roblox.com/asset/?id=323865883"
  10. function onTouched(part)
  11. local h = part.Parent:findFirstChild("Humanoid")
  12. if h~=nil then
  13. o1 = Instance.new("Sound")
  14. o1.Parent = workspace
  15. o1.SoundId = "rbxassetid://618667795"
  16. o1:Play()
  17. h.Parent:Destroy()
  18. mesh.Scale = mesh.Scale * 1.2
  19. end
  20. end
  21.  
  22. c.Character.Torso.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment