Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local avoid = ("robloxandtyler")
- local player = game.Players.LocalPlayer
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = player.PlayerGui
- local textbutton3 = Instance.new("TextButton")
- local textbutton4 = Instance.new("TextButton")
- local textbar3 = Instance.new("TextBox")
- textbar3.Parent = screengui
- textbar3.Position = UDim2.new(0, 0, 0.428, 0)
- textbar3.Size = UDim2.new(0, 126, 0, 18)
- textbar3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbar3.TextColor3 = Color3.new(240, 240, 240)
- textbar3.BackgroundTransparency = (0)
- textbar3.BorderSizePixel = (0)
- textbutton3.Parent = screengui
- textbutton3.Text = ("Freeze")
- textbutton3.Position = UDim2.new(0, 0, 0.392, 0)
- textbutton3.Size = UDim2.new(0, 126, 0, 18)
- textbutton3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbutton3.TextColor3 = Color3.new(240, 240, 240)
- textbutton3.BackgroundTransparency = (0)
- textbutton3.BorderSizePixel = (0)
- textbutton4.Parent = screengui
- textbutton4.Text = ("Thaw")
- textbutton4.Position = UDim2.new(0, 0, 0.410, 0)
- textbutton4.Size = UDim2.new(0, 126, 0, 18)
- textbutton4.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbutton4.TextColor3 = Color3.new(240, 240, 240)
- textbutton4.BackgroundTransparency = (0)
- textbutton4.BorderSizePixel = (0)
- function onClick()
- if textbar3.Text == ("all") then
- for i,w in pairs(game.Players:GetChildren()) do
- local character = game.Workspace:FindFirstChild(w.Name)
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == ("Part") then
- if v.Parent.Name ~= (avoid) then
- v.Anchored = true
- end
- end
- end
- end
- end
- if textbar3.Text ~= ("all") then
- character = game.Workspace:FindFirstChild(textbar3.Text)
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == ("Part") then
- v.Anchored = true
- end
- end
- end
- end
- textbutton3.MouseButton1Click:connect(onClick)
- function onClick()
- if textbar3.Text == ("all") then
- for i,w in pairs(game.Players:GetChildren()) do
- local character = game.Workspace:FindFirstChild(w.Name)
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == ("Part") then
- if v.Name ~= (avoid) then
- v.Anchored = false
- end
- end
- end
- end
- end
- if textbar3.Text ~= ("all") then
- character = game.Workspace:FindFirstChild(textbar3.Text)
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == ("Part") then
- v.Anchored = false
- end
- end
- end
- end
- textbutton4.MouseButton1Click:connect(onClick)
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = player.PlayerGui
- local textbutton2 = Instance.new("TextButton")
- local textbar2 = Instance.new("TextBox")
- textbar2.Parent = screengui
- textbar2.Position = UDim2.new(0, 0, 0.370, 0)
- textbar2.Size = UDim2.new(0, 126, 0, 18)
- textbar2.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbar2.TextColor3 = Color3.new(240, 240, 240)
- textbar2.BackgroundTransparency = (0)
- textbar2.BorderSizePixel = (0)
- textbutton2.Parent = screengui
- textbutton2.Text = ("Kill")
- textbutton2.Position = UDim2.new(0, 0, 0.352, 0)
- textbutton2.Size = UDim2.new(0, 126, 0, 18)
- textbutton2.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbutton2.TextColor3 = Color3.new(240, 240, 240)
- textbutton2.BackgroundTransparency = (0)
- textbutton2.BorderSizePixel = (0)
- function onClick()
- if textbar2.Text == ("all") then
- for i,w in pairs(game.Players:GetChildren()) do
- local character = game.Workspace:FindFirstChild(w.Name)
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == ("Part") then
- if character.Name ~= (avoid) then
- v:Remove()
- end
- end
- end
- end
- if textbar2.Text ~= ("all") then
- character = game.Workspace:FindFirstChild(textbar2.Text)
- character:Remove()
- end
- end
- end
- textbutton2.MouseButton1Click:connect(onClick)
- local player = game.Players.LocalPlayer
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = player.PlayerGui
- local textbutton5 = Instance.new("TextButton")
- textbutton5.Parent = screengui
- textbutton5.Position = UDim2.new(0, 0, 0.275, 0)
- textbutton5.Size = UDim2.new(0, 126, 0, 18)
- textbutton5.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbutton5.TextColor3 = Color3.new(240, 240, 240)
- textbutton5.BackgroundTransparency = (0)
- textbutton5.Text = ("Gravity")
- textbutton5.BorderSizePixel = (0)
- function onClick()
- game.Workspace.Gravity = (196.2)
- end
- textbutton5.MouseButton1Click:connect(onClick)
- local player = game.Players.LocalPlayer
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = player.PlayerGui
- local textbutton6 = Instance.new("TextButton")
- textbutton6.Parent = screengui
- textbutton6.Position = UDim2.new(0, 0, 0.298, 0)
- textbutton6.Size = UDim2.new(0, 126, 0, 18)
- textbutton6.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- textbutton6.TextColor3 = Color3.new(240, 240, 240)
- textbutton6.BackgroundTransparency = (0)
- textbutton6.Text = ("NoGravity")
- textbutton5.BorderSizePixel = (0)
- function onClick()
- game.Workspace.Gravity = (0)
- end
- textbutton6.MouseButton1Click:connect(onClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement