Awooslayer699

test

May 10th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local char = owner.Character
  2.  
  3. for i,v in pairs(char:GetChildren()) do
  4. for i,s in pairs(v:GetChildren()) do
  5. if s.ClassName == "Decal" then
  6. s:Destroy()
  7. end
  8. end
  9. if v.ClassName == "Hat" or v.ClassName == "Accessory" and v.Handle then
  10. v = v.Handle
  11. v.Transparency = 0
  12. v.Material = "ForceField"
  13. v.BrickColor = BrickColor.new("Medium stone gray")
  14. end
  15.  
  16. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  17. if not(v.Name == "HumanoidRootPart") then
  18. v.Transparency = 0
  19. v.Material = "ForceField"
  20. v.BrickColor = BrickColor.new("Medium stone gray")
  21. end
  22. end
  23. end
  24.  
  25. while true do
  26. wait()
  27. for i,v in pairs(char:GetChildren()) do
  28. for i,s in pairs(v:GetChildren()) do
  29. if s.ClassName == "Decal" then
  30. s:Destroy()
  31. end
  32. end
  33.  
  34. if v.ClassName == "Model" then
  35. for i,s in pairs(v:GetChildren()) do
  36. if s.ClassName == "Part" or s.ClassName == "MeshPart" then
  37. if not(s.Name == "HumanoidRootPart") then
  38. s.Transparency = 0
  39. s.Material = "ForceField"
  40. s.BrickColor = BrickColor.new("Medium stone gray")
  41. end
  42. end
  43. end
  44. end
  45.  
  46. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  47. if not(v.Name == "HumanoidRootPart") then
  48. v.Transparency = 0
  49. v.Material = "ForceField"
  50. v.BrickColor = BrickColor.new("Medium stone gray")
  51. end
  52. end
  53. end
  54.  
  55. end
Add Comment
Please, Sign In to add comment