Advertisement
FurkingBoi

Snowball Simulator GUI

Dec 19th, 2019
5,974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextButton_4 = Instance.new("TextButton")
  13. local TextButton_5 = Instance.new("TextButton")
  14. local TextButton_6 = Instance.new("TextButton")
  15. local Frame_2 = Instance.new("Frame")
  16. local TextButton_7 = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. ScreenGui.Parent = game.CoreGui
  21.  
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  24. Frame.Position = UDim2.new(0.0788844526, 0, 0.54004848, 0)
  25. Frame.Size = UDim2.new(0, 297, 0, 274)
  26. Frame.Visible = false
  27. Frame.Active = true
  28. Frame.Draggable = true
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TextLabel.Size = UDim2.new(0, 297, 0, 23)
  33. TextLabel.Font = Enum.Font.GothamBlack
  34. TextLabel.Text = "SnowMan Simulator GUI"
  35. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  36. TextLabel.TextSize = 20
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextButton.Position = UDim2.new(0.0370370448, 0, 0.145985395, 0)
  41. TextButton.Size = UDim2.new(0, 124, 0, 50)
  42. TextButton.Font = Enum.Font.SourceSans
  43. TextButton.Text = "AutoFarm"
  44. TextButton.TextColor3 = Color3.new(0, 0, 0)
  45. TextButton.TextSize = 14
  46. TextButton.MouseButton1Down:connect(function()
  47. --AutoFarm-AutoSell
  48. _G.LULU = true--change to true or false
  49.  
  50. function AntiAFK()
  51. if _G.LULU == false then return end
  52. game:GetService("Players").LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  53. wait(1)
  54. spawn(AntiAFK)
  55. end
  56.  
  57. spawn(AntiAFK)
  58.  
  59. while _G.LULU do
  60. wait(0.3)--dont change time if you change you kicked and move your character to not be kick
  61. game:GetService("ReplicatedStorage").ThisGame.Calls.collectSnow:FireServer()
  62. local A_1 = "stopRoll"
  63. game:GetService("ReplicatedStorage").ThisGame.Calls.snowballControllerFunc:InvokeServer(A_1)
  64. local A_1 = "addToSnowman"
  65. game:GetService("ReplicatedStorage").ThisGame.Calls.snowballController:FireServer(A_1)--Change the script to false for gain money
  66. end
  67. end)
  68.  
  69. TextButton_2.Parent = Frame
  70. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  71. TextButton_2.Position = UDim2.new(0.508417487, 0, 0.145985395, 0)
  72. TextButton_2.Size = UDim2.new(0, 124, 0, 50)
  73. TextButton_2.Font = Enum.Font.SourceSans
  74. TextButton_2.Text = "Collect Candy"
  75. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  76. TextButton_2.TextSize = 14
  77. TextButton_2.MouseButton1Down:connect(function()
  78. while wait(0.3)do
  79. for i,v in pairs (game.Workspace.gameCandyCanes:GetChildren()) do
  80. if v.cane then
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.cane.Position)
  82. end
  83. end
  84. end
  85. end)
  86.  
  87. TextButton_3.Parent = Frame
  88. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  89. TextButton_3.Position = UDim2.new(0.0370370448, 0, 0.434306532, 0)
  90. TextButton_3.Size = UDim2.new(0, 200, 0, 50)
  91. TextButton_3.Font = Enum.Font.SourceSans
  92. TextButton_3.Text = "Collect Gold Candy (ONLY WHEN IT SPAWNS)"
  93. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  94. TextButton_3.TextSize = 12
  95. TextButton_3.MouseButton1Down:connect(function()
  96. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.singleCaneSpawners.goldCaneSpawnObbyEnd.Position)
  97. end)
  98.  
  99. Frame_2.Parent = ScreenGui
  100. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  101. Frame_2.Position = UDim2.new(0.00717131514, 0, 0.444174707, 0)
  102. Frame_2.Size = UDim2.new(0, 91, 0, 28)
  103. Frame.Active = true
  104. Frame.Draggable = true
  105.  
  106.  
  107. TextButton_7.Parent = Frame_2
  108. TextButton_7.BackgroundColor3 = Color3.new(1, 1, 1)
  109. TextButton_7.Position = UDim2.new(0, 0, 0.0357142873, 0)
  110. TextButton_7.Size = UDim2.new(0, 190, 0, 260)
  111. TextButton_7.Font = Enum.Font.SourceSans
  112. TextButton_7.Text = "Open"
  113. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  114. TextButton_7.TextSize = 14
  115. TextButton_7.MouseButton1Down:connect(function()
  116. Frame_2.Visible = false
  117. Frame.Visible = true
  118. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement