Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- script.Parent = player
- fix1 = false
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = player.PlayerGui
- screengui.ResetOnSpawn = false
- local textbutton1 = Instance.new("TextButton")
- textbutton1.Parent = screengui
- textbutton1.Text = ("Fix1")
- textbutton1.Position = UDim2.new(0.88, 0, 0.810, 0)
- textbutton1.Size = UDim2.new(0, 126, 0, 18)
- textbutton1.BackgroundColor3 = Color3.fromRGB(128, 128, 128)
- textbutton1.TextColor3 = Color3.new(240, 240, 240)
- textbutton1.BackgroundTransparency = (0)
- textbutton1.BorderSizePixel = (0)
- function onClick()
- fix1 = true
- wait(2)
- fix1 = false
- end
- textbutton1.MouseButton1Click:connect(onClick)
- fix2 = false
- local textbutton2 = Instance.new("TextButton")
- textbutton2.Parent = screengui
- textbutton2.Text = ("Fix2")
- textbutton2.Position = UDim2.new(0.88, 0, 0.830, 0)
- textbutton2.Size = UDim2.new(0, 126, 0, 18)
- textbutton2.BackgroundColor3 = Color3.fromRGB(128, 128, 128)
- textbutton2.TextColor3 = Color3.new(240, 240, 240)
- textbutton2.BackgroundTransparency = (0)
- textbutton2.BorderSizePixel = (0)
- function onClick()
- fix2 = true
- wait(2)
- fix2 = false
- end
- textbutton2.MouseButton1Click:connect(onClick)
- while true do
- wait(0.01)
- game.Workspace.Gravity = 190
- game.Lighting:ClearAllChildren()
- game.Lighting.FogStart = 100000000
- game.Lighting.FogEnd = 100000000000
- game.Lighting.Ambient = Color3.new(1,1,1)
- local base = game.Workspace:FindFirstChild("Base")
- if base == nil then
- base2 = Instance.new("Part")
- base.Position = Vector3.new(0,0,0)
- base.Size = Vector3.new(500,1,500)
- base.Anchored = true
- base.Parent = game.Workspace
- base.TopSurface = ("Smooth")
- base.BottomSurface = ("Smooth")
- base.BrickColor = ("Bright green")
- base.Material = ("Grass")
- end
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName == ("Message") or v.ClassName == ("Text") then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName == ("Terrain") then
- game.Workspace.Terrain:Clear()
- end
- end
- if fix1 == true then
- player.PlayerGui.SB_Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text = ("g/nl/all")
- end
- if fix2 == true then
- player.PlayerGui.SB_Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text = ("g/ns/all")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement