Advertisement
Guest User

Car Crushers 2 Script by MoXPer :d

a guest
Mar 26th, 2019
92,858
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.17 KB | None | 0 0
  1. --Для моих подписчиков!
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local AutoFarmButton = Instance.new("TextButton")
  5. local DisableAutoFarmButton = Instance.new("TextButton")
  6. local NameOfTheGUI = Instance.new("TextLabel")
  7. local NameOfTheGUI_2 = Instance.new("TextLabel")
  8. local EnabledOrDisabledBar = Instance.new("ImageButton")
  9. local EnabledBar = Instance.new("ImageButton")
  10. local EnabledTextOnBar = Instance.new("TextLabel")
  11. local DisabledBar = Instance.new("ImageButton")
  12. local DisabledTextOnBar = Instance.new("TextLabel")
  13. local TextButton = Instance.new("TextButton")
  14. --Properties:
  15. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.Active = true
  20. Frame.BackgroundColor3 = Color3.new(0, 0.745098, 0)
  21. Frame.BorderSizePixel = 0
  22. Frame.Position = UDim2.new(0.373456776, 0, 0.372727275, 0)
  23. Frame.Selectable = true
  24. Frame.Size = UDim2.new(0, 262, 0, 212)
  25. Frame.Draggable = true
  26.  
  27. AutoFarmButton.Name = "AutoFarmButton"
  28. AutoFarmButton.Parent = Frame
  29. AutoFarmButton.BackgroundColor3 = Color3.new(0, 0, 0)
  30. AutoFarmButton.BorderSizePixel = 0
  31. AutoFarmButton.Position = UDim2.new(0.141221374, 0, 0.216436312, 0)
  32. AutoFarmButton.Size = UDim2.new(0, 187, 0, 47)
  33. AutoFarmButton.Font = Enum.Font.Fantasy
  34. AutoFarmButton.Text = "AutoFarm"
  35. AutoFarmButton.TextColor3 = Color3.new(1, 1, 1)
  36. AutoFarmButton.TextSize = 40
  37. AutoFarmButton.TextStrokeColor3 = Color3.new(1, 1, 1)
  38. AutoFarmButton.TextStrokeTransparency = 0.60000002384186
  39. AutoFarmButton.TextWrapped = true
  40. AutoFarmButton.MouseButton1Down:connect(function()
  41. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Enabled!", Text = "AutoFarm is starting!"})
  42. EnabledBar.Visible = true
  43. DisabledBar.Visible = false
  44. _G.Enabled = true
  45. _G.VehicleName = "UAZ"
  46. while _G.Enabled do
  47. wait()
  48. local Arguments = {
  49. [1] = "Save",
  50. [2] = {
  51. ["BodyColor"] = "Institutional white",
  52. ["BodyMaterial"] = "Platinum"
  53. },
  54. [3] = _G.VehicleName
  55. }
  56.  
  57. game.ReplicatedStorage.rF['LoadSaveCustoms']:InvokeServer(unpack(Arguments))
  58. game:GetService("ReplicatedStorage").rF.SpawnVehicle:InvokeServer(_G.VehicleName)
  59. for i=1,10 do
  60. wait(0.5)
  61. game.Workspace["All crushers"]["Stair Fall"].Wall.CFrame = CFrame.new(0,900,0)
  62. game.Workspace["All crushers"]["Stair Fall"].Wall.Size = Vector3.new(10000,1,10000)
  63. game.Workspace["All crushers"]["Stair Fall"].Wall.CanCollide = false
  64. game.Workspace.CarCollection:findFirstChild(game.Players.LocalPlayer.Name).Car:MoveTo(Vector3.new(0,910,0))
  65. end
  66. end
  67. end)
  68.  
  69. DisableAutoFarmButton.Name = "DisableAutoFarmButton"
  70. DisableAutoFarmButton.Parent = Frame
  71. DisableAutoFarmButton.BackgroundColor3 = Color3.new(0, 0, 0)
  72. DisableAutoFarmButton.BorderSizePixel = 0
  73. DisableAutoFarmButton.Position = UDim2.new(0.141221374, 0, 0.655501306, 0)
  74. DisableAutoFarmButton.Size = UDim2.new(0, 187, 0, 47)
  75. DisableAutoFarmButton.Font = Enum.Font.Fantasy
  76. DisableAutoFarmButton.Text = "Turn off"
  77. DisableAutoFarmButton.TextColor3 = Color3.new(1, 1, 1)
  78. DisableAutoFarmButton.TextSize = 30
  79. DisableAutoFarmButton.TextStrokeColor3 = Color3.new(1, 1, 1)
  80. DisableAutoFarmButton.TextStrokeTransparency = 0.60000002384186
  81. DisableAutoFarmButton.TextWrapped = true
  82. DisableAutoFarmButton.MouseButton1Down:connect(function()
  83. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Disabled!", Text = "AutoFarm is started disable yourself! Just wait..."})
  84. EnabledBar.Visible = false
  85. DisabledBar.Visible = true
  86. _G.Enabled = false
  87. end)
  88.  
  89. NameOfTheGUI.Name = "NameOfTheGUI"
  90. NameOfTheGUI.Parent = Frame
  91. NameOfTheGUI.BackgroundColor3 = Color3.new(0, 0.952941, 0)
  92. NameOfTheGUI.Position = UDim2.new(-0.0648854971, 0, 0, 0)
  93. NameOfTheGUI.Size = UDim2.new(0, 296, 0, 30)
  94. NameOfTheGUI.Font = Enum.Font.SourceSans
  95. NameOfTheGUI.Text = "Car Crushers 2 Script"
  96. NameOfTheGUI.TextColor3 = Color3.new(0, 0, 0)
  97. NameOfTheGUI.TextScaled = true
  98. NameOfTheGUI.TextSize = 14
  99. NameOfTheGUI.TextWrapped = true
  100.  
  101. NameOfTheGUI_2.Name = "NameOfTheGUI"
  102. NameOfTheGUI_2.Parent = Frame
  103. NameOfTheGUI_2.BackgroundColor3 = Color3.new(0, 0.952941, 0)
  104. NameOfTheGUI_2.Position = UDim2.new(-0.0648854971, 0, 1, 0)
  105. NameOfTheGUI_2.Size = UDim2.new(0, 296, 0, 30)
  106. NameOfTheGUI_2.Font = Enum.Font.SourceSans
  107. NameOfTheGUI_2.Text = "Made by MoXPer :d"
  108. NameOfTheGUI_2.TextColor3 = Color3.new(0, 0, 0)
  109. NameOfTheGUI_2.TextScaled = true
  110. NameOfTheGUI_2.TextSize = 14
  111. NameOfTheGUI_2.TextWrapped = true
  112.  
  113. EnabledOrDisabledBar.Name = "EnabledOrDisabledBar"
  114. EnabledOrDisabledBar.Parent = Frame
  115. EnabledOrDisabledBar.BackgroundColor3 = Color3.new(1, 1, 1)
  116. EnabledOrDisabledBar.BackgroundTransparency = 1
  117. EnabledOrDisabledBar.BorderSizePixel = 0
  118. EnabledOrDisabledBar.Position = UDim2.new(0.222070128, 0, 0.302132934, 0)
  119. EnabledOrDisabledBar.Size = UDim2.new(0, 145, 0, 100)
  120. EnabledOrDisabledBar.Image = "rbxassetid://939118523"
  121.  
  122. EnabledBar.Name = "EnabledBar"
  123. EnabledBar.Parent = EnabledOrDisabledBar
  124. EnabledBar.BackgroundColor3 = Color3.new(1, 1, 1)
  125. EnabledBar.BackgroundTransparency = 1
  126. EnabledBar.Position = UDim2.new(0.337903947, 0, 0.133043513, 0)
  127. EnabledBar.Size = UDim2.new(0, 77, 0, 75)
  128. EnabledBar.Visible = false
  129. EnabledBar.Image = "rbxassetid://939119635"
  130. EnabledBar.ImageColor3 = Color3.new(0.333333, 0.666667, 0)
  131.  
  132. EnabledTextOnBar.Name = "EnabledTextOnBar"
  133. EnabledTextOnBar.Parent = EnabledBar
  134. EnabledTextOnBar.BackgroundColor3 = Color3.new(1, 1, 1)
  135. EnabledTextOnBar.BackgroundTransparency = 1
  136. EnabledTextOnBar.BorderSizePixel = 0
  137. EnabledTextOnBar.Position = UDim2.new(0.142857134, 0, 0.333333313, 0)
  138. EnabledTextOnBar.Size = UDim2.new(0, 55, 0, 24)
  139. EnabledTextOnBar.Font = Enum.Font.SourceSans
  140. EnabledTextOnBar.Text = "Enabled"
  141. EnabledTextOnBar.TextColor3 = Color3.new(0, 1, 0)
  142. EnabledTextOnBar.TextSize = 14
  143.  
  144. DisabledBar.Name = "DisabledBar"
  145. DisabledBar.Parent = EnabledOrDisabledBar
  146. DisabledBar.BackgroundColor3 = Color3.new(1, 1, 1)
  147. DisabledBar.BackgroundTransparency = 1
  148. DisabledBar.Position = UDim2.new(0.0970593691, 0, 0.128695682, 0)
  149. DisabledBar.Size = UDim2.new(0, 81, 0, 75)
  150. DisabledBar.Image = "rbxassetid://939126427"
  151. DisabledBar.ImageColor3 = Color3.new(0.666667, 0, 0)
  152.  
  153. DisabledTextOnBar.Name = "DisabledTextOnBar"
  154. DisabledTextOnBar.Parent = DisabledBar
  155. DisabledTextOnBar.BackgroundColor3 = Color3.new(1, 1, 1)
  156. DisabledTextOnBar.BackgroundTransparency = 1
  157. DisabledTextOnBar.BorderSizePixel = 0
  158. DisabledTextOnBar.Position = UDim2.new(0.185185179, 0, 0.339130461, 0)
  159. DisabledTextOnBar.Size = UDim2.new(0, 49, 0, 27)
  160. DisabledTextOnBar.Font = Enum.Font.SourceSans
  161. DisabledTextOnBar.Text = "Disabled"
  162. DisabledTextOnBar.TextColor3 = Color3.new(1, 0, 0.0156863)
  163. DisabledTextOnBar.TextSize = 14
  164.  
  165. TextButton.Parent = Frame
  166. TextButton.BackgroundColor3 = Color3.new(0.470588, 0.862745, 0.188235)
  167. TextButton.BorderColor3 = Color3.new(0.807843, 0, 0)
  168. TextButton.BorderSizePixel = 0
  169. TextButton.Position = UDim2.new(0.938931286, 0, 0, 0)
  170. TextButton.Size = UDim2.new(0, 33, 0, 30)
  171. TextButton.Font = Enum.Font.SourceSans
  172. TextButton.Text = "X"
  173. TextButton.TextColor3 = Color3.new(0.54902, 0, 0)
  174. TextButton.TextSize = 40
  175. TextButton.TextWrapped = true
  176. TextButton.MouseButton1Down:connect(function()
  177. Frame.Visible = false
  178. TextButton.Visible = false
  179. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement