Advertisement
IMAKESCRIPTSATSCHOOL

INFECT PLAYER // NYAN

Jan 25th, 2022
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. local PlayerName = "PUT PLAYER NAME HERE"
  2.  
  3.  
  4.  
  5.  
  6. --INFECT PLAYER // NYAN
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. local players = game:GetService("Players")
  14. local plr = players:FindFirstChild("PlayerName")
  15. local char = plr.Character
  16. local rigtype = char.Humanoid.RigType
  17. char.Shirt:Destroy()
  18. char.Pants:Destroy()
  19. if rigtype == Enum.HumanoidRigType.R6 then
  20. while true do
  21. wait()
  22. char.Head.BrickColor = BrickColor.Random()
  23. char.Torso.BrickColor = BrickColor.Random()
  24. char.LeftArm.BrickColor = BrickColor.Random()
  25. char.RightArm.BrickColor = BrickColor.Random()
  26. char.RightLeg.BrickColor = BrickColor.Random()
  27. char.LeftLeg.BrickColor = BrickColor.Random()
  28. char.Humanoid.Health = char.Humanoid.Health - 0.03
  29. char.Humanoid.HeadScale = char.Humanoid.HeadScale + math.random(-1,1)
  30. char.Humanoid.BodyHeightScale = char.Humanoid.BodyHeightScale + math.random(-1,1)
  31. char.Humanoid.BodyWidthScale = char.Humanoid.BodyWidthScale + math.random(-1,1)
  32. end
  33. --r15
  34. if rigtype == Enum.HumanoidRigType.R15 then
  35. while true do
  36. wait()
  37. char.Head.BrickColor = BrickColor.Random()
  38. char.LeftUpperArm.BrickColor = BrickColor.Random()
  39. char.LeftLowerArm.BrickColor = BrickColor.Random()
  40. char.LeftHand.BrickColor = BrickColor.Random()
  41. char.UpperTorso.BrickColor = BrickColor.Random()
  42. char.LowerTorso.BrickColor = BrickColor.Random()
  43. char.RightUpperArm.BrickColor = BrickColor.Random()
  44. char.RightLowerArm.BrickColor = BrickColor.Random()
  45. char.RightHand.BrickColor = BrickColor.Random()
  46. char.LeftUpperLeg.BrickColor = BrickColor.Random()
  47. char.LeftLowerLeg.BrickColor = BrickColor.Random()
  48. char.LeftFoot.BrickColor = BrickColor.Random()
  49. char.RightUpperLeg.BrickColor = BrickColor.Random()
  50. char.RightLowerLeg.BrickColor = BrickColor.Random()
  51. char.RightFoot.BrickColor = BrickColor.Random()
  52. char.Humanoid.Health = char.Humanoid.Health - 0.03
  53. char.Humanoid.HeadScale = char.Humanoid.HeadScale + math.random(-1,1)
  54. char.Humanoid.BodyHeightScale = char.Humanoid.BodyHeightScale + math.random(-1,1)
  55. char.Humanoid.BodyWidthScale = char.Humanoid.BodyWidthScale + math.random(-1,1)
  56. end
  57. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement