Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Trolls = {"Trip","Slow Down","Reduce Health","No Humanoid","Invisible","ClothOff","Camera","De-Arm","De-Jump","Lag"}
- local SG = Instance.new("ScreenGui",Player.PlayerGui)
- function PlayCmd(Targ,Cmd)
- if Cmd == "Trip" then
- Targ.Character.Torso.CFrame = Targ.Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
- elseif Cmd == "Slow Down" then
- Targ.Character.Humanoid.WalkSpeed = 1
- elseif Cmd == "Reduce Health" then
- Targ.Character.Humanoid.MaxHealth = 1
- elseif Cmd == "No Humanoid" then
- Targ.Character.Humanoid:Destroy()
- elseif Cmd == "De-Arm" then
- Targ.Character["Right Arm"]:Destroy()
- elseif Cmd == "De-Jump" then
- Targ.Character.Humanoid.JumpPower = 1
- elseif Cmd == "ClothOff" then
- Targ.Character.Shirt:Destroy()
- Targ.Character.Pants:Destroy()
- elseif Cmd == "Camera" then
- Targ.Character.Humanoid.CameraOffset = Vector3.new(20,20,20)
- elseif Cmd == "Invisible" then
- local par = Targ.Character:GetChildren()
- for b = 1,#par do
- if par[b].ClassName == "Part" then
- par[b].Transparency = 1
- if par[b].Name == "Head" then
- par[b].face:Destroy()
- end
- elseif par[b].ClassName == "Hat" then
- par[b]:Destroy()
- end
- end
- elseif Cmd == "Lag" then
- local p = Instance.new("Part",game.Workspace)
- p.Transparency = 0
- p.Size = Vector3.new(3,3,3)
- p.CFrame = CFrame.new(1,1,1)
- p.CanCollide = true
- p.Anchored = false
- local w = Instance.new("Weld",Targ.Character.Head)
- w.Part0 = Targ.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(2,0,2)
- local p = Instance.new("Part",game.Workspace)
- p.Transparency = 0
- p.Size = Vector3.new(3,3,3)
- p.CFrame = CFrame.new(1,1,1)
- p.CanCollide = true
- p.Anchored = false
- local w = Instance.new("Weld",Targ.Character.Head)
- w.Part0 = Targ.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(-2,0,-2)
- local p = Instance.new("Part",game.Workspace)
- p.Transparency = 0
- p.Size = Vector3.new(3,3,3)
- p.CFrame = CFrame.new(1,1,1)
- p.CanCollide = true
- p.Anchored = false
- local w = Instance.new("Weld",Targ.Character.Head)
- w.Part0 = Targ.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(2,0,-2)
- local p = Instance.new("Part",game.Workspace)
- p.Transparency = 0
- p.Size = Vector3.new(3,3,3)
- p.CFrame = CFrame.new(1,1,1)
- p.CanCollide = true
- p.Anchored = false
- local w = Instance.new("Weld",Targ.Character.Head)
- w.Part0 = Targ.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(-2,0,2)
- for i = 1,20 do
- local f = Instance.new("Fire",Targ.Character.Head)
- f.Size = 60
- end
- end
- end
- local x = game.Players:GetChildren()
- for i = 1,#x do
- local Targ = x[i]
- local tb = Instance.new("TextButton",SG)
- tb.BackgroundColor3 = Color3.new(1,1,1)
- tb.TextScaled = true
- tb.BorderSizePixel = 0
- tb.Text = x[i].Name
- tb.Size = UDim2.new(0.2,0,0.1,0)
- tb.Position = UDim2.new(0.8,0,0.1*(i-1),0)
- local Looped = {}
- coroutine.resume(coroutine.create(function()
- while true do
- wait(2)
- if not x[i].Character:FindFirstChild("Affected") then
- local val = Instance.new("IntValue",x[i].Character)
- val.Name = "Affected"
- for v = 1,#Looped do
- PlayCmd(x[i],Looped[v])
- end
- end
- end
- end))
- tb.MouseButton1Down:connect(function()
- local fr = Instance.new("Frame",SG)
- fr.BackgroundColor3 = Color3.new(1,1,1)
- fr.BorderSizePixel = 0
- fr.BackgroundTransparency = 1
- fr.Size = UDim2.new(1,0,1,0)
- for z = 1,#Trolls do
- local tb = Instance.new("TextButton",fr)
- tb.BackgroundColor3 = Color3.new(1,1,1)
- tb.TextScaled = true
- tb.BorderSizePixel = 0
- tb.Text = Trolls[z]
- tb.Size = UDim2.new(0.2,0,0.05,0)
- tb.Position = UDim2.new(0.6,0,0.06*(z-1),0)
- tb.MouseButton1Down:connect(function()
- table.insert(Looped,Trolls[z])
- local val = Instance.new("IntValue",x[i].Character)
- val.Name = "Affected"
- PlayCmd(Targ,Trolls[z])
- fr:Destroy()
- end)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement