Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local playerPlot = {}
- for i=1, #game:GetService("Workspace").snowmanBases:GetChildren() do
- local Plot = game:GetService("Workspace").snowmanBases:GetChildren()[i]
- if Plot.player.Value == game:GetService("Players").LocalPlayer then
- playerPlot = Plot
- end
- end
- local HNNNG = Instance.new("ScreenGui")
- local OpenClose = Instance.new("TextButton")
- local Drag = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local Frames = Instance.new("Frame")
- local WelcomeFrame = Instance.new("Frame")
- local WelcomeMsg = Instance.new("TextLabel")
- local MadeBy = Instance.new("TextLabel")
- local CommandsFrame = Instance.new("Frame")
- local Commands = Instance.new("TextLabel")
- local CommandsScroll = Instance.new("ScrollingFrame")
- local Autofarm = Instance.new("TextButton")
- local GetGoldCandyCane = Instance.new("TextButton")
- local SellRedCandyCanes = Instance.new("TextButton")
- local SellGreenCandyCanes = Instance.new("TextButton")
- local Side = Instance.new("Frame")
- local WelcomeButton = Instance.new("TextButton")
- local CommandsButton = Instance.new("TextButton")
- local TeleportsButton = Instance.new("TextButton")
- local AutoFarmEnabled = false
- HNNNG.Name = "HNNNG"
- HNNNG.Parent = game.CoreGui
- HNNNG.ResetOnSpawn = false
- OpenClose.Name = "OpenClose"
- OpenClose.Parent = HNNNG
- OpenClose.BackgroundColor3 = Color3.new(0.854902, 0.854902, 0.854902)
- OpenClose.BorderSizePixel = 0
- OpenClose.Position = UDim2.new(0, 5, 0, 5)
- OpenClose.Size = UDim2.new(0, 69, 0, 26)
- OpenClose.AutoButtonColor = false
- OpenClose.Font = Enum.Font.Gotham
- OpenClose.Text = "Open"
- OpenClose.TextColor3 = Color3.new(0, 0, 0)
- OpenClose.TextSize = 14
- OpenClose.TextWrapped = true
- OpenClose.MouseButton1Down:Connect(function()
- if Drag.Visible == true then
- Drag.Visible = false
- OpenClose.Text = "Open"
- else
- Drag.Visible = true
- OpenClose.Text = "Close"
- end
- end)
- Drag.Name = "Drag"
- Drag.Parent = HNNNG
- Drag.BackgroundColor3 = Color3.new(0.854902, 0.854902, 0.854902)
- Drag.BorderSizePixel = 0
- Drag.Draggable = true
- Drag.Position = UDim2.new(0.5, -148, 0, 5)
- Drag.Size = UDim2.new(0, 297, 0, 26)
- Drag.AutoButtonColor = false
- Drag.Font = Enum.Font.Gotham
- Drag.Text = "snowman lol"
- Drag.TextColor3 = Color3.new(0, 0, 0)
- Drag.TextSize = 14
- Drag.Visible = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = Drag
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0, 0, 1, 0)
- MainFrame.Size = UDim2.new(1, 0, 0, 200)
- Frames.Name = "Frames"
- Frames.Parent = MainFrame
- Frames.BackgroundColor3 = Color3.new(1, 1, 1)
- Frames.BackgroundTransparency = 1
- Frames.Size = UDim2.new(1, 0, 1, 0)
- WelcomeFrame.Name = "WelcomeFrame"
- WelcomeFrame.Parent = Frames
- WelcomeFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- WelcomeFrame.BackgroundTransparency = 1
- WelcomeFrame.Position = UDim2.new(0, 75, 0, 0)
- WelcomeFrame.Size = UDim2.new(1, -75, 1, 0)
- WelcomeMsg.Name = "WelcomeMsg"
- WelcomeMsg.Parent = WelcomeFrame
- WelcomeMsg.BackgroundColor3 = Color3.new(1, 1, 1)
- WelcomeMsg.BackgroundTransparency = 1
- WelcomeMsg.BorderSizePixel = 0
- WelcomeMsg.Position = UDim2.new(0, 4, 0, 4)
- WelcomeMsg.Size = UDim2.new(1, -8, -0.170000002, 50)
- WelcomeMsg.Font = Enum.Font.Gotham
- WelcomeMsg.Text = "Welcome, ".. game.Players.LocalPlayer.Name .. "."
- WelcomeMsg.TextColor3 = Color3.new(0, 0, 0)
- WelcomeMsg.TextSize = 15
- WelcomeMsg.TextWrapped = true
- WelcomeMsg.TextXAlignment = Enum.TextXAlignment.Left
- WelcomeMsg.TextYAlignment = Enum.TextYAlignment.Top
- MadeBy.Name = "MadeBy"
- MadeBy.Parent = WelcomeFrame
- MadeBy.BackgroundColor3 = Color3.new(1, 1, 1)
- MadeBy.BackgroundTransparency = 1
- MadeBy.BorderSizePixel = 0
- MadeBy.Position = UDim2.new(0, 4, 0, 20)
- MadeBy.Size = UDim2.new(1, -8, -0.170000002, 50)
- MadeBy.Font = Enum.Font.Gotham
- MadeBy.Text = "Made by Roanm05 on v3rm"
- MadeBy.TextColor3 = Color3.new(0, 0, 0)
- MadeBy.TextSize = 15
- MadeBy.TextWrapped = true
- MadeBy.TextXAlignment = Enum.TextXAlignment.Left
- MadeBy.TextYAlignment = Enum.TextYAlignment.Top
- CommandsFrame.Name = "CommandsFrame"
- CommandsFrame.Parent = Frames
- CommandsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- CommandsFrame.BackgroundTransparency = 1
- CommandsFrame.Position = UDim2.new(0, 75, 0, 0)
- CommandsFrame.Size = UDim2.new(1, -75, 1, 0)
- CommandsFrame.Visible = false
- Commands.Name = "Commands"
- Commands.Parent = CommandsFrame
- Commands.BackgroundColor3 = Color3.new(1, 1, 1)
- Commands.BorderSizePixel = 0
- Commands.Size = UDim2.new(1, 0, 0, 50)
- Commands.Font = Enum.Font.Gotham
- Commands.Text = "Commands"
- Commands.TextColor3 = Color3.new(0, 0, 0)
- Commands.TextSize = 20
- CommandsScroll.Name = "CommandsScroll"
- CommandsScroll.Parent = CommandsFrame
- CommandsScroll.BackgroundColor3 = Color3.new(1, 1, 1)
- CommandsScroll.BorderSizePixel = 0
- CommandsScroll.Position = UDim2.new(0, 10, 0, 50)
- CommandsScroll.Size = UDim2.new(0, 200, 0, 120)
- CommandsScroll.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- CommandsScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
- CommandsScroll.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Autofarm.Name = "Autofarm"
- Autofarm.Parent = CommandsScroll
- Autofarm.BackgroundColor3 = Color3.new(1, 1, 1)
- Autofarm.BorderSizePixel = 0
- Autofarm.Size = UDim2.new(1.00000001, 0, 0, 20)
- Autofarm.Font = Enum.Font.Gotham
- Autofarm.Text = "Autofarm: Disabled"
- Autofarm.TextColor3 = Color3.new(0, 0, 0)
- Autofarm.TextSize = 14
- Autofarm.MouseButton1Down:Connect(function()
- if AutoFarmEnabled == false then
- AutoFarmEnabled = true
- Autofarm.Text = "Autofarm: Enabled"
- else
- AutoFarmEnabled = false
- Autofarm.Text = "Autofarm: Disabled"
- end
- end)
- GetGoldCandyCane.Name = "GetGoldCandyCane"
- GetGoldCandyCane.Parent = CommandsScroll
- GetGoldCandyCane.BackgroundColor3 = Color3.new(1, 1, 1)
- GetGoldCandyCane.BorderSizePixel = 0
- GetGoldCandyCane.Position = UDim2.new(0, 0, 0, 20)
- GetGoldCandyCane.Size = UDim2.new(1.00000001, 0, 0, 20)
- GetGoldCandyCane.Font = Enum.Font.Gotham
- GetGoldCandyCane.Text = "Gold candy cane"
- GetGoldCandyCane.TextColor3 = Color3.new(0, 0, 0)
- GetGoldCandyCane.TextSize = 14
- GetGoldCandyCane.MouseButton1Down:Connect(function()
- local currentPosX = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X
- local currentPosY = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y
- local currentPosZ = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.singleCaneSpawners.goldCaneSpawnObbyEnd.CFrame
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(currentPosX, currentPosY, currentPosZ))
- wait(1)
- game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 3)
- end)
- SellRedCandyCanes.Name = "SellRedCandyCanes"
- SellRedCandyCanes.Parent = CommandsScroll
- SellRedCandyCanes.BackgroundColor3 = Color3.new(1, 1, 1)
- SellRedCandyCanes.BorderSizePixel = 0
- SellRedCandyCanes.Position = UDim2.new(0, 0, 0, 40)
- SellRedCandyCanes.Size = UDim2.new(1.00000001, 0, 0, 20)
- SellRedCandyCanes.Font = Enum.Font.Gotham
- SellRedCandyCanes.Text = "Sell Red Candy Canes"
- SellRedCandyCanes.TextColor3 = Color3.new(0, 0, 0)
- SellRedCandyCanes.TextSize = 14
- SellRedCandyCanes.MouseButton1Down:Connect(function()
- game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 1)
- end)
- SellGreenCandyCanes.Name = "SellGreenCandyCanes"
- SellGreenCandyCanes.Parent = CommandsScroll
- SellGreenCandyCanes.BackgroundColor3 = Color3.new(1, 1, 1)
- SellGreenCandyCanes.BorderSizePixel = 0
- SellGreenCandyCanes.Position = UDim2.new(0, 0, 0, 60)
- SellGreenCandyCanes.Size = UDim2.new(1.00000001, 0, 0, 20)
- SellGreenCandyCanes.Font = Enum.Font.Gotham
- SellGreenCandyCanes.Text = "Sell Green Candy Canes"
- SellGreenCandyCanes.TextColor3 = Color3.new(0, 0, 0)
- SellGreenCandyCanes.TextSize = 14
- SellGreenCandyCanes.MouseButton1Down:Connect(function()
- game.ReplicatedStorage.ThisGame.Calls.candycaneSell:FireServer("sellCandycanes", 2)
- end)
- Side.Name = "Side"
- Side.Parent = MainFrame
- Side.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- Side.BorderSizePixel = 0
- Side.Size = UDim2.new(0, 75, 1, 0)
- WelcomeButton.Name = "WelcomeButton"
- WelcomeButton.Parent = Side
- WelcomeButton.BackgroundColor3 = Color3.new(1, 1, 1)
- WelcomeButton.BorderSizePixel = 0
- WelcomeButton.Size = UDim2.new(1, 0, 0, 20)
- WelcomeButton.Font = Enum.Font.Gotham
- WelcomeButton.Text = "Welcome"
- WelcomeButton.TextColor3 = Color3.new(0, 0, 0)
- WelcomeButton.TextSize = 10
- WelcomeButton.AutoButtonColor = false
- WelcomeButton.MouseButton1Down:Connect(function()
- local framesChildren = Frames:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].Visible = false
- end
- WelcomeFrame.Visible = true
- local framesChildren = Side:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- end
- WelcomeButton.BackgroundColor3 = Color3.new(1, 1, 1)
- end)
- CommandsButton.Name = "CommandsButton"
- CommandsButton.Parent = Side
- CommandsButton.BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- CommandsButton.BorderSizePixel = 0
- CommandsButton.Position = UDim2.new(0, 0, 0, 30)
- CommandsButton.Size = UDim2.new(1, 0, 0, 20)
- CommandsButton.Font = Enum.Font.Gotham
- CommandsButton.Text = "Commands"
- CommandsButton.TextColor3 = Color3.new(0, 0, 0)
- CommandsButton.TextSize = 10
- CommandsButton.AutoButtonColor = false
- CommandsButton.MouseButton1Down:Connect(function()
- local framesChildren = Frames:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].Visible = false
- end
- CommandsFrame.Visible = true
- local framesChildren = Side:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- end
- CommandsButton.BackgroundColor3 = Color3.new(1, 1, 1)
- end)
- local button = Instance.new("TextButton")
- button.Name = "CollectCandyCanes"
- button.Parent = CommandsScroll
- button.BackgroundColor3 = Color3.new(1, 1, 1)
- button.BorderSizePixel = 0
- button.Position = UDim2.new(0, 0, 0, 80)
- button.Size = UDim2.new(1.00000001, 0, 0, 20)
- button.Font = Enum.Font.Gotham
- button.Text = "Collect Candy Canes"
- button.TextColor3 = Color3.new(0, 0, 0)
- button.TextSize = 14
- button.MouseButton1Down:Connect(function()
- for i=1, #game.workspace.gameCandyCanes:GetChildren() do
- local candyCane = game.workspace.gameCandyCanes:GetChildren()[i]
- if candyCane:FindFirstChild("cane") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = candyCane:FindFirstChild("cane").CFrame
- end
- wait(0.5)
- end
- end)
- local TpFrame = Instance.new("Frame")
- local TpLabel = Instance.new("TextLabel")
- local TPScroll = Instance.new("ScrollingFrame")
- local YourBase = Instance.new("TextButton")
- local Shop = Instance.new("TextButton")
- TpFrame.Name = "TpFrame"
- TpFrame.Parent = Frames
- TpFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- TpFrame.BackgroundTransparency = 1
- TpFrame.Position = UDim2.new(0, 75, 0, 0)
- TpFrame.Size = UDim2.new(1, -75, 1, 0)
- TpFrame.Visible = false
- TpLabel.Name = "TpLabel"
- TpLabel.Parent = TpFrame
- TpLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TpLabel.BorderSizePixel = 0
- TpLabel.Size = UDim2.new(1, 0, 0, 50)
- TpLabel.Font = Enum.Font.Gotham
- TpLabel.Text = "Teleports"
- TpLabel.TextColor3 = Color3.new(0, 0, 0)
- TpLabel.TextSize = 20
- TPScroll.Name = "TPScroll"
- TPScroll.Parent = TpFrame
- TPScroll.BackgroundColor3 = Color3.new(1, 1, 1)
- TPScroll.BorderSizePixel = 0
- TPScroll.Position = UDim2.new(0, 10, 0, 50)
- TPScroll.Size = UDim2.new(0, 200, 0, 120)
- TPScroll.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- TPScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
- TPScroll.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- YourBase.Name = "YourBase"
- YourBase.Parent = TPScroll
- YourBase.BackgroundColor3 = Color3.new(1, 1, 1)
- YourBase.BorderSizePixel = 0
- YourBase.Size = UDim2.new(1.00000002, 0, 0, 20)
- YourBase.Font = Enum.Font.Gotham
- YourBase.Text = "Your base"
- YourBase.TextColor3 = Color3.new(0, 0, 0)
- YourBase.TextSize = 14
- YourBase.MouseButton1Down:Connect(function()
- local sign = playerPlot.sign.sign
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(sign.Position.X, playerPlot.SpawnLocation.Position.Y, sign.Position.Z))
- end)
- Shop.Name = "Shop"
- Shop.Parent = TPScroll
- Shop.BackgroundColor3 = Color3.new(1, 1, 1)
- Shop.BorderSizePixel = 0
- Shop.Position = UDim2.new(0, 0, 0, 20)
- Shop.Size = UDim2.new(1.00000002, 0, 0, 20)
- Shop.Font = Enum.Font.Gotham
- Shop.Text = "Shop"
- Shop.TextColor3 = Color3.new(0, 0, 0)
- Shop.TextSize = 14
- Shop.MouseButton1Down:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1702, 21, 51)
- end)
- local Button = Instance.new("TextButton")
- Button.Name = "GreenCandyCaneFinishObby"
- Button.Parent = TPScroll
- Button.BackgroundColor3 = Color3.new(1, 1, 1)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0, 0, 0, 40)
- Button.Size = UDim2.new(1.00000002, 0, 0, 20)
- Button.Font = Enum.Font.Gotham
- Button.Text = "Green Candy Cane Obby"
- Button.TextColor3 = Color3.new(0, 0, 0)
- Button.TextSize = 14
- Button.MouseButton1Down:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1320, 32, 1)
- end)
- local Button = Instance.new("TextButton")
- Button.Name = "GreenCandyCaneFinishObby2"
- Button.Parent = TPScroll
- Button.BackgroundColor3 = Color3.new(1, 1, 1)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0, 0, 0, 60)
- Button.Size = UDim2.new(1.00000002, 0, 0, 20)
- Button.Font = Enum.Font.Gotham
- Button.Text = "Green Candy Cane Obby 2"
- Button.TextColor3 = Color3.new(0, 0, 0)
- Button.TextSize = 14
- Button.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1490, 31, -282)
- end)
- TeleportsButton.Name = "TeleportsButton"
- TeleportsButton.Parent = Side
- TeleportsButton.BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- TeleportsButton.BorderSizePixel = 0
- TeleportsButton.Position = UDim2.new(0, 0, 0, 60)
- TeleportsButton.Size = UDim2.new(1, 0, 0, 20)
- TeleportsButton.AutoButtonColor = false
- TeleportsButton.Font = Enum.Font.Gotham
- TeleportsButton.Text = "Teleports"
- TeleportsButton.TextColor3 = Color3.new(0, 0, 0)
- TeleportsButton.TextSize = 10
- TeleportsButton.MouseButton1Down:Connect(function()
- local framesChildren = Frames:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].Visible = false
- end
- TpFrame.Visible = true
- local framesChildren = Side:GetChildren()
- for i=1,#framesChildren do
- framesChildren[i].BackgroundColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- end
- TeleportsButton.BackgroundColor3 = Color3.new(1, 1, 1)
- end)
- while wait() do
- if AutoFarmEnabled == true then
- for i=1, 4 do
- game:GetService("ReplicatedStorage").ThisGame.Calls.collectSnow:FireServer()
- wait(0.5)
- end
- game.ReplicatedStorage.ThisGame.Calls.snowballControllerFunc:InvokeServer("stopRoll")
- game.ReplicatedStorage.ThisGame.Calls.snowballController:FireServer("addToSnowman")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement