Advertisement
dahpiglz

Untitled

Oct 29th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. script.Parent = player
  4.  
  5. fix1 = false
  6.  
  7. local screengui = Instance.new("ScreenGui")
  8. screengui.Parent = player.PlayerGui
  9. screengui.ResetOnSpawn = false
  10.  
  11. local textbutton1 = Instance.new("TextButton")
  12. textbutton1.Parent = screengui
  13. textbutton1.Text = ("Fix1")
  14. textbutton1.Position = UDim2.new(0.88, 0, 0.810, 0)
  15. textbutton1.Size = UDim2.new(0, 126, 0, 18)
  16. textbutton1.BackgroundColor3 = Color3.fromRGB(128, 128, 128)
  17. textbutton1.TextColor3 = Color3.new(240, 240, 240)
  18. textbutton1.BackgroundTransparency = (0)
  19. textbutton1.BorderSizePixel = (0)
  20.  
  21. function onClick()
  22. fix1 = true
  23. wait(2)
  24. fix1 = false
  25. end
  26. textbutton1.MouseButton1Click:connect(onClick)
  27.  
  28.  
  29. fix2 = false
  30.  
  31. local textbutton2 = Instance.new("TextButton")
  32. textbutton2.Parent = screengui
  33. textbutton2.Text = ("Fix2")
  34. textbutton2.Position = UDim2.new(0.88, 0, 0.830, 0)
  35. textbutton2.Size = UDim2.new(0, 126, 0, 18)
  36. textbutton2.BackgroundColor3 = Color3.fromRGB(128, 128, 128)
  37. textbutton2.TextColor3 = Color3.new(240, 240, 240)
  38. textbutton2.BackgroundTransparency = (0)
  39. textbutton2.BorderSizePixel = (0)
  40.  
  41. function onClick()
  42. fix2 = true
  43. wait(2)
  44. fix2 = false
  45. end
  46. textbutton2.MouseButton1Click:connect(onClick)
  47. while true do
  48. wait(0.01)
  49. game.Workspace.Gravity = 190
  50.  
  51. game.Lighting:ClearAllChildren()
  52. game.Lighting.FogStart = 100000000
  53. game.Lighting.FogEnd = 100000000000
  54. game.Lighting.Ambient = Color3.new(1,1,1)
  55.  
  56. local base = game.Workspace:FindFirstChild("Base")
  57. if base == nil then
  58. base2 = Instance.new("Part")
  59. base.Position = Vector3.new(0,0,0)
  60. base.Size = Vector3.new(500,1,500)
  61. base.Anchored = true
  62. base.Parent = game.Workspace
  63. base.TopSurface = ("Smooth")
  64. base.BottomSurface = ("Smooth")
  65. base.BrickColor = ("Bright green")
  66. base.Material = ("Grass")
  67. end
  68. for i,v in pairs(game.Workspace:GetChildren()) do
  69. if v.ClassName == ("Message") or v.ClassName == ("Text") then
  70. v:Destroy()
  71. end
  72. end
  73. for i,v in pairs(game.Workspace:GetChildren()) do
  74. if v.ClassName == ("Terrain") then
  75. game.Workspace.Terrain:Clear()
  76. end
  77. end
  78. if fix1 == true then
  79. player.PlayerGui.SB_Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text = ("g/nl/all")
  80. end
  81. if fix2 == true then
  82. player.PlayerGui.SB_Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text = ("g/ns/all")
  83. end
  84. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement