Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by TheUniCoder
- -- Instances:
- local SnowMan = Instance.new("ScreenGui")
- local GuiFrame = Instance.new("Frame")
- local Start = Instance.new("TextButton")
- local Stop = Instance.new("TextButton")
- local TextLabel1 = Instance.new("TextLabel")
- local AddToSnow = Instance.new("TextButton")
- local StopSnow = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- --Properties:
- SnowMan.Name = "SnowMan"
- SnowMan.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- GuiFrame.Name = "GuiFrame"
- GuiFrame.Parent = SnowMan
- GuiFrame.BackgroundColor3 = Color3.new(0.890196, 0, 0)
- GuiFrame.BorderColor3 = Color3.new(0, 0, 0)
- GuiFrame.Position = UDim2.new(0.0252454411, 0, 0.12333966, 0)
- GuiFrame.Size = UDim2.new(0, 182, 0, 252)
- Start.Name = "Start"
- Start.Parent = GuiFrame
- Start.BackgroundColor3 = Color3.new(0, 0, 0)
- Start.BorderColor3 = Color3.new(0, 0, 0)
- Start.Position = UDim2.new(0.082417585, 0, 0.128609836, 0)
- Start.Size = UDim2.new(0, 149, 0, 38)
- Start.Font = Enum.Font.Fantasy
- Start.Text = "Start Auto Farm"
- Start.TextColor3 = Color3.new(1, 0, 0)
- Start.TextSize = 18
- Stop.Name = "Stop"
- Stop.Parent = GuiFrame
- Stop.BackgroundColor3 = Color3.new(0, 0, 0)
- Stop.BorderColor3 = Color3.new(0, 0, 0)
- Stop.Position = UDim2.new(0.082417585, 0, 0.304076821, 0)
- Stop.Size = UDim2.new(0, 149, 0, 34)
- Stop.Font = Enum.Font.Fantasy
- Stop.Text = "Stop Auto Farm"
- Stop.TextColor3 = Color3.new(1, 0, 0)
- Stop.TextSize = 18
- TextLabel1.Name = "TextLabel1"
- TextLabel1.Parent = GuiFrame
- TextLabel1.BackgroundColor3 = Color3.new(0.890196, 0, 0)
- TextLabel1.BorderColor3 = Color3.new(0.890196, 0, 0)
- TextLabel1.Position = UDim2.new(0, 0, -0.00243800133, 0)
- TextLabel1.Size = UDim2.new(0, 182, 0, 37)
- TextLabel1.Font = Enum.Font.Fantasy
- TextLabel1.Text = "UniCoders snowman sim Gui"
- TextLabel1.TextColor3 = Color3.new(0, 0, 0)
- TextLabel1.TextSize = 14
- AddToSnow.Name = "AddToSnow"
- AddToSnow.Parent = GuiFrame
- AddToSnow.BackgroundColor3 = Color3.new(0, 0, 0)
- AddToSnow.BorderColor3 = Color3.new(0, 0, 0)
- AddToSnow.Position = UDim2.new(0.082417585, 0, 0.470305145, 0)
- AddToSnow.Size = UDim2.new(0, 149, 0, 36)
- AddToSnow.Font = Enum.Font.Fantasy
- AddToSnow.Text = "Auto Collect"
- AddToSnow.TextColor3 = Color3.new(1, 0, 0)
- AddToSnow.TextSize = 18
- StopSnow.Name = "StopSnow"
- StopSnow.Parent = GuiFrame
- StopSnow.BackgroundColor3 = Color3.new(0, 0, 0)
- StopSnow.BorderColor3 = Color3.new(0, 0, 0)
- StopSnow.Position = UDim2.new(0.082417585, 0, 0.640789032, 0)
- StopSnow.Size = UDim2.new(0, 148, 0, 36)
- StopSnow.Font = Enum.Font.Fantasy
- StopSnow.Text = "Stop Auto Collect"
- StopSnow.TextColor3 = Color3.new(1, 0, 0)
- StopSnow.TextSize = 14
- TextButton.Parent = GuiFrame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BorderColor3 = Color3.new(0, 0, 0)
- TextButton.Position = UDim2.new(0.0879120901, 0, 0.820942402, 0)
- TextButton.Size = UDim2.new(0, 147, 0, 34)
- TextButton.Font = Enum.Font.Fantasy
- TextButton.Text = "Add to snowman"
- TextButton.TextColor3 = Color3.new(1, 0, 0)
- TextButton.TextSize = 14
- plr = game.Players.LocalPlayer:GetMouse()
- mouse = plr.KeyDown:connect(function(key)
- if key == "l" then
- if GuiFrame.Visible == true then
- GuiFrame.Visible = false
- else
- GuiFrame.Visible = true
- end
- end
- end)
- GuiFrame.Active = true
- GuiFrame.Draggable = true
- -- Scripts:
- Start.MouseButton1Click:Connect(function()
- hello = true
- while hello == true do
- wait(0.1)
- game.ReplicatedStorage.ThisGame.Calls.collectSnow:FireServer()
- end
- end)
- Stop.MouseButton1Click:Connect(function()
- hello = false
- end)
- AddToSnow.MouseButton1Click:Connect(function()
- snowgo = true
- while snowgo == true do
- wait(5.0)
- game.ReplicatedStorage.ThisGame.Calls.snowballControllerFunc:InvokeServer("stopRoll")
- end
- end)
- StopSnow.MouseButton1Click:Connect(function()
- snowgo = false
- end)
- TextButton.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.ThisGame.Calls.snowballController:FireServer("addToSnowman")
- end)
Add Comment
Please, Sign In to add comment