Advertisement
MarcAndrew

Untitled

Apr 2nd, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. mouse = plr:GetMouse()
  3.  
  4. function onClicked()
  5. if onClicked ~= nil then
  6. local Victim = onClicked.Parent:FindFirstChild("Humanoid") or onClicked.Parent.Parent:FindFirstChild("Humanoid") or (onClicked.Parent.Parent.Parent ~= nil and onClicked.Parent.Parent.Parent:FindFirstChild("Humanoid"))
  7. if Victim ~= nil then
  8.  
  9. for _, a in pairs(Victim:children()) do
  10. if a:IsA'Part' then
  11. while true do
  12. wait()
  13. for i = 1,10 do
  14. wait(0.5)
  15. a.Transparency =a.Transparency - 0.1
  16. end
  17. end
  18. wait(5)
  19. a:Destroy()
  20. end
  21. end
  22. mouse.Button1Down:connect(onClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement