Nova355killer

snow simulator gui 2

Dec 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. -- made by TheUniCoder
  2. -- Instances:
  3. local SnowMan = Instance.new("ScreenGui")
  4. local GuiFrame = Instance.new("Frame")
  5. local Start = Instance.new("TextButton")
  6. local Stop = Instance.new("TextButton")
  7. local TextLabel1 = Instance.new("TextLabel")
  8. local AddToSnow = Instance.new("TextButton")
  9. local StopSnow = Instance.new("TextButton")
  10. local TextButton = Instance.new("TextButton")
  11. --Properties:
  12. SnowMan.Name = "SnowMan"
  13. SnowMan.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14.  
  15. GuiFrame.Name = "GuiFrame"
  16. GuiFrame.Parent = SnowMan
  17. GuiFrame.BackgroundColor3 = Color3.new(0.890196, 0, 0)
  18. GuiFrame.BorderColor3 = Color3.new(0, 0, 0)
  19. GuiFrame.Position = UDim2.new(0.0252454411, 0, 0.12333966, 0)
  20. GuiFrame.Size = UDim2.new(0, 182, 0, 252)
  21.  
  22. Start.Name = "Start"
  23. Start.Parent = GuiFrame
  24. Start.BackgroundColor3 = Color3.new(0, 0, 0)
  25. Start.BorderColor3 = Color3.new(0, 0, 0)
  26. Start.Position = UDim2.new(0.082417585, 0, 0.128609836, 0)
  27. Start.Size = UDim2.new(0, 149, 0, 38)
  28. Start.Font = Enum.Font.Fantasy
  29. Start.Text = "Start Auto Farm"
  30. Start.TextColor3 = Color3.new(1, 0, 0)
  31. Start.TextSize = 18
  32.  
  33. Stop.Name = "Stop"
  34. Stop.Parent = GuiFrame
  35. Stop.BackgroundColor3 = Color3.new(0, 0, 0)
  36. Stop.BorderColor3 = Color3.new(0, 0, 0)
  37. Stop.Position = UDim2.new(0.082417585, 0, 0.304076821, 0)
  38. Stop.Size = UDim2.new(0, 149, 0, 34)
  39. Stop.Font = Enum.Font.Fantasy
  40. Stop.Text = "Stop Auto Farm"
  41. Stop.TextColor3 = Color3.new(1, 0, 0)
  42. Stop.TextSize = 18
  43.  
  44. TextLabel1.Name = "TextLabel1"
  45. TextLabel1.Parent = GuiFrame
  46. TextLabel1.BackgroundColor3 = Color3.new(0.890196, 0, 0)
  47. TextLabel1.BorderColor3 = Color3.new(0.890196, 0, 0)
  48. TextLabel1.Position = UDim2.new(0, 0, -0.00243800133, 0)
  49. TextLabel1.Size = UDim2.new(0, 182, 0, 37)
  50. TextLabel1.Font = Enum.Font.Fantasy
  51. TextLabel1.Text = "UniCoders snowman sim Gui"
  52. TextLabel1.TextColor3 = Color3.new(0, 0, 0)
  53. TextLabel1.TextSize = 14
  54.  
  55. AddToSnow.Name = "AddToSnow"
  56. AddToSnow.Parent = GuiFrame
  57. AddToSnow.BackgroundColor3 = Color3.new(0, 0, 0)
  58. AddToSnow.BorderColor3 = Color3.new(0, 0, 0)
  59. AddToSnow.Position = UDim2.new(0.082417585, 0, 0.470305145, 0)
  60. AddToSnow.Size = UDim2.new(0, 149, 0, 36)
  61. AddToSnow.Font = Enum.Font.Fantasy
  62. AddToSnow.Text = "Auto Collect"
  63. AddToSnow.TextColor3 = Color3.new(1, 0, 0)
  64. AddToSnow.TextSize = 18
  65.  
  66. StopSnow.Name = "StopSnow"
  67. StopSnow.Parent = GuiFrame
  68. StopSnow.BackgroundColor3 = Color3.new(0, 0, 0)
  69. StopSnow.BorderColor3 = Color3.new(0, 0, 0)
  70. StopSnow.Position = UDim2.new(0.082417585, 0, 0.640789032, 0)
  71. StopSnow.Size = UDim2.new(0, 148, 0, 36)
  72. StopSnow.Font = Enum.Font.Fantasy
  73. StopSnow.Text = "Stop Auto Collect"
  74. StopSnow.TextColor3 = Color3.new(1, 0, 0)
  75. StopSnow.TextSize = 14
  76.  
  77. TextButton.Parent = GuiFrame
  78. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  79. TextButton.BorderColor3 = Color3.new(0, 0, 0)
  80. TextButton.Position = UDim2.new(0.0879120901, 0, 0.820942402, 0)
  81. TextButton.Size = UDim2.new(0, 147, 0, 34)
  82. TextButton.Font = Enum.Font.Fantasy
  83. TextButton.Text = "Add to snowman"
  84. TextButton.TextColor3 = Color3.new(1, 0, 0)
  85. TextButton.TextSize = 14
  86.  
  87. plr = game.Players.LocalPlayer:GetMouse()
  88. mouse = plr.KeyDown:connect(function(key)
  89. if key == "l" then
  90. if GuiFrame.Visible == true then
  91. GuiFrame.Visible = false
  92. else
  93. GuiFrame.Visible = true
  94. end
  95. end
  96. end)
  97. GuiFrame.Active = true
  98. GuiFrame.Draggable = true
  99.  
  100. -- Scripts:
  101. Start.MouseButton1Click:Connect(function()
  102. hello = true
  103. while hello == true do
  104. wait(0.1)
  105. game.ReplicatedStorage.ThisGame.Calls.collectSnow:FireServer()
  106. end
  107. end)
  108. Stop.MouseButton1Click:Connect(function()
  109. hello = false
  110. end)
  111. AddToSnow.MouseButton1Click:Connect(function()
  112. snowgo = true
  113. while snowgo == true do
  114. wait(5.0)
  115. game.ReplicatedStorage.ThisGame.Calls.snowballControllerFunc:InvokeServer("stopRoll")
  116. end
  117. end)
  118. StopSnow.MouseButton1Click:Connect(function()
  119. snowgo = false
  120. end)
  121. TextButton.MouseButton1Click:Connect(function()
  122. game.ReplicatedStorage.ThisGame.Calls.snowballController:FireServer("addToSnowman")
  123. end)
Add Comment
Please, Sign In to add comment