Advertisement
naser2345

Invisibility script

Aug 9th, 2016
906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. -- invisibility script by naser2018
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local head = char.Head
  9. local torso = char.Torso
  10.  
  11. for i,v in pairs(char:children()) do
  12. if v:IsA("Hat") then
  13. v:Destroy()
  14. end
  15. end
  16.  
  17. for i,v in pairs (head:GetChildren()) do
  18. if v:IsA("Sound") then
  19. v:Destroy()
  20. end
  21. end
  22.  
  23. larm.Transparency = 1
  24. rarm.Transparency = 1
  25. lleg.Transparency = 1
  26. rleg.Transparency = 1
  27. torso.Transparency = 1
  28. head.Transparency = 1
  29. head.face.Transparency = 1
  30.  
  31. larm.CanCollide = false
  32. rarm.CanCollide = false
  33. lleg.CanCollide = false
  34. rleg.CanCollide = false
  35. head.CanCollide = false
  36. torso.CanCollide = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement