Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer --get the local player
  2. local Mouse = Player:GetMouse() --get the mouse
  3.  
  4. Mouse.Button1Down:connect(function()
  5. if Mouse.Target ~= nil then
  6. if Mouse.Target.ClassName == "Model" then
  7. if Mouse.Target.Head then
  8. local part = Instance.new("Part", workspace)
  9. part.Anchored = true
  10. part.Transparency = 1
  11. part.CanCollide = false
  12. local furry = Mouse.Target
  13. part.Position = furry.Head.Position
  14. furry:Remove()
  15. local s = Instance.new("Sound", part)
  16. s.SoundId = "rbxassetid://1455060327"
  17. s.EmitterSize = "30"
  18. s:Play()
  19. wait(1)
  20. part:Remove()
  21. end
  22. end
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement