Advertisement
noslenpo

Untitled

Nov 8th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.  
  3.  
  4. function infect(char)
  5. repeat wait() until char
  6. local torso = char["Torso"]
  7. repeat wait() until torso
  8. local Head = char:FindFirstChild("Head")
  9. if Head then
  10. if Head:FindFirstChild("face") then
  11. Head.face.Texture = "http://www.roblox.com/asset/?id=214522702"
  12. end
  13. end
  14. for i,v in pairs(char:GetChildren()) do
  15. if v:IsA("Shirt") or v:IsA("Pants") then
  16. v:Destroy()
  17. elseif v:IsA("BasePart") then
  18. v.BrickColor = BrickColor.new("Carnation pink")
  19. v.Changed:connect(function(prop)
  20. if prop == "BrickColor" then
  21. v.BrickColor = BrickColor.new("Carnation pink")
  22. end
  23. end)
  24. v.Touched:connect(function(hit)
  25. if hit:IsA("BasePart") then
  26. hit.BrickColor = BrickColor.new("Carnation pink")
  27. elseif hit and hit.Parent and game.Players:GetPlayerFromCharacter(hit.Parent) then
  28. infect(hit.Parent)
  29. end
  30. end)
  31. end
  32. end
  33. local RA, LA, LL, RL, Head = torso["Right Shoulder"],torso["Left Shoulder"],torso["Left Hip"],torso["Right Hip"],torso["Neck"]
  34. local sound = Instance.new("Sound", torso)
  35. sound.SoundId = "rbxassetid://278920581"
  36. sound.Volume = 1
  37. sound.Looped = true
  38. sound:Play()
  39.  
  40. local headshake = coroutine.wrap(function()
  41. while true do
  42. for i = 0,math.pi/10, 0.1 do
  43. Head.C0 = Head.C0*CFrame.Angles(i,0,0)
  44. wait()
  45. end
  46. for i = 0,math.pi/10, 0.1 do
  47. Head.C0 = Head.C0*CFrame.Angles(-i,0,0)
  48. wait()
  49. end
  50. end
  51. end)
  52.  
  53. local armsshake = coroutine.wrap(function()
  54. while true do
  55. for i = 0,math.pi/10, 0.1 do
  56. RA.C0 = RA.C0*CFrame.Angles(-i,0,0)
  57. LA.C0 = LA.C0*CFrame.Angles(-i,0,0)
  58. wait()
  59. end
  60. for i = 0,math.pi/10, 0.1 do
  61. RA.C0 = RA.C0*CFrame.Angles(i,0,0)
  62. LA.C0 = LA.C0*CFrame.Angles(i,0,0)
  63. wait()
  64. end
  65. end
  66. end)
  67.  
  68. local legsshake = coroutine.wrap(function()
  69. while true do
  70. for i = 0,math.pi/10, 0.1 do
  71. LL.C0 = LL.C0*CFrame.Angles(-i,0,0)
  72. RL.C0 = RL.C0*CFrame.Angles(-i,0,0)
  73. wait()
  74. end
  75. for i = 0,math.pi/10, 0.1 do
  76. LL.C0 = LL.C0*CFrame.Angles(i,0,0)
  77. RL.C0 = RL.C0*CFrame.Angles(i,0,0)
  78. wait()
  79. end
  80. end
  81. end)
  82.  
  83. legsshake()
  84. armsshake()
  85. headshake()
  86. end
  87.  
  88. for i,v in pairs(game.Players:GetPlayers()) do
  89. infect(v.Character)
  90. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement