Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer --get the local player
- local Mouse = Player:GetMouse() --get the mouse
- Mouse.Button1Down:connect(function()
- if Mouse.Target ~= nil then
- if Mouse.Target.ClassName == "Model" then
- if Mouse.Target.Head then
- local part = Instance.new("Part", workspace)
- part.Anchored = true
- part.Transparency = 1
- part.CanCollide = false
- local furry = Mouse.Target
- part.Position = furry.Head.Position
- furry:Remove()
- local s = Instance.new("Sound", part)
- s.SoundId = "rbxassetid://1455060327"
- s.EmitterSize = "30"
- s:Play()
- wait(1)
- part:Remove()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement