Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Trolls = {"Trip","Slow Down","Reduce Health","No Humanoid","Invisible","ClothOff","Camera","De-Arm","De-Jump","Lag"}
  3.  
  4. local SG = Instance.new("ScreenGui",Player.PlayerGui)
  5.  
  6. function PlayCmd(Targ,Cmd)
  7. if Cmd == "Trip" then
  8. Targ.Character.Torso.CFrame = Targ.Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  9. elseif Cmd == "Slow Down" then
  10. Targ.Character.Humanoid.WalkSpeed = 1
  11. elseif Cmd == "Reduce Health" then
  12. Targ.Character.Humanoid.MaxHealth = 1
  13. elseif Cmd == "No Humanoid" then
  14. Targ.Character.Humanoid:Destroy()
  15. elseif Cmd == "De-Arm" then
  16. Targ.Character["Right Arm"]:Destroy()
  17. elseif Cmd == "De-Jump" then
  18. Targ.Character.Humanoid.JumpPower = 1
  19. elseif Cmd == "ClothOff" then
  20. Targ.Character.Shirt:Destroy()
  21. Targ.Character.Pants:Destroy()
  22. elseif Cmd == "Camera" then
  23. Targ.Character.Humanoid.CameraOffset = Vector3.new(20,20,20)
  24. elseif Cmd == "Invisible" then
  25. local par = Targ.Character:GetChildren()
  26. for b = 1,#par do
  27. if par[b].ClassName == "Part" then
  28. par[b].Transparency = 1
  29. if par[b].Name == "Head" then
  30. par[b].face:Destroy()
  31. end
  32. elseif par[b].ClassName == "Hat" then
  33. par[b]:Destroy()
  34. end
  35. end
  36. elseif Cmd == "Lag" then
  37. local p = Instance.new("Part",game.Workspace)
  38. p.Transparency = 0
  39. p.Size = Vector3.new(3,3,3)
  40. p.CFrame = CFrame.new(1,1,1)
  41. p.CanCollide = true
  42. p.Anchored = false
  43. local w = Instance.new("Weld",Targ.Character.Head)
  44. w.Part0 = Targ.Character.Head
  45. w.Part1 = p
  46. w.C0 = CFrame.new(2,0,2)
  47. local p = Instance.new("Part",game.Workspace)
  48. p.Transparency = 0
  49. p.Size = Vector3.new(3,3,3)
  50. p.CFrame = CFrame.new(1,1,1)
  51. p.CanCollide = true
  52. p.Anchored = false
  53. local w = Instance.new("Weld",Targ.Character.Head)
  54. w.Part0 = Targ.Character.Head
  55. w.Part1 = p
  56. w.C0 = CFrame.new(-2,0,-2)
  57. local p = Instance.new("Part",game.Workspace)
  58. p.Transparency = 0
  59. p.Size = Vector3.new(3,3,3)
  60. p.CFrame = CFrame.new(1,1,1)
  61. p.CanCollide = true
  62. p.Anchored = false
  63. local w = Instance.new("Weld",Targ.Character.Head)
  64. w.Part0 = Targ.Character.Head
  65. w.Part1 = p
  66. w.C0 = CFrame.new(2,0,-2)
  67. local p = Instance.new("Part",game.Workspace)
  68. p.Transparency = 0
  69. p.Size = Vector3.new(3,3,3)
  70. p.CFrame = CFrame.new(1,1,1)
  71. p.CanCollide = true
  72. p.Anchored = false
  73. local w = Instance.new("Weld",Targ.Character.Head)
  74. w.Part0 = Targ.Character.Head
  75. w.Part1 = p
  76. w.C0 = CFrame.new(-2,0,2)
  77. for i = 1,20 do
  78. local f = Instance.new("Fire",Targ.Character.Head)
  79. f.Size = 60
  80. end
  81. end
  82. end
  83.  
  84. local x = game.Players:GetChildren()
  85. for i = 1,#x do
  86. local Targ = x[i]
  87. local tb = Instance.new("TextButton",SG)
  88. tb.BackgroundColor3 = Color3.new(1,1,1)
  89. tb.TextScaled = true
  90. tb.BorderSizePixel = 0
  91. tb.Text = x[i].Name
  92. tb.Size = UDim2.new(0.2,0,0.1,0)
  93. tb.Position = UDim2.new(0.8,0,0.1*(i-1),0)
  94. local Looped = {}
  95. coroutine.resume(coroutine.create(function()
  96. while true do
  97. wait(2)
  98. if not x[i].Character:FindFirstChild("Affected") then
  99. local val = Instance.new("IntValue",x[i].Character)
  100. val.Name = "Affected"
  101. for v = 1,#Looped do
  102. PlayCmd(x[i],Looped[v])
  103. end
  104. end
  105. end
  106. end))
  107. tb.MouseButton1Down:connect(function()
  108. local fr = Instance.new("Frame",SG)
  109. fr.BackgroundColor3 = Color3.new(1,1,1)
  110. fr.BorderSizePixel = 0
  111. fr.BackgroundTransparency = 1
  112. fr.Size = UDim2.new(1,0,1,0)
  113. for z = 1,#Trolls do
  114. local tb = Instance.new("TextButton",fr)
  115. tb.BackgroundColor3 = Color3.new(1,1,1)
  116. tb.TextScaled = true
  117. tb.BorderSizePixel = 0
  118. tb.Text = Trolls[z]
  119. tb.Size = UDim2.new(0.2,0,0.05,0)
  120. tb.Position = UDim2.new(0.6,0,0.06*(z-1),0)
  121. tb.MouseButton1Down:connect(function()
  122. table.insert(Looped,Trolls[z])
  123. local val = Instance.new("IntValue",x[i].Character)
  124. val.Name = "Affected"
  125. PlayCmd(Targ,Trolls[z])
  126. fr:Destroy()
  127. end)
  128. end
  129. end)
  130. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement