Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local TextButton = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local autofill = Instance.new("TextButton")
- local sell = Instance.new("TextButton")
- local tp = Instance.new("TextButton")
- local label = Instance.new("TextButton")
- local autofillEnabled = false
- ScreenGui.Parent = game.CoreGui
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0, 10, 0, 10)
- TextButton.Size = UDim2.new(0, 50, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Open"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 68, 0, 10)
- Frame.Size = UDim2.new(0, 145, 0, 169)
- Frame.Visible = false
- ScrollingFrame.Parent = Frame
- ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0, 2, 0, 2)
- ScrollingFrame.Size = UDim2.new(1, -4, 1, -4)
- ScrollingFrame.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame.ScrollBarThickness = 10
- ScrollingFrame.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- autofill.Name = "autofill"
- autofill.Parent = ScrollingFrame
- autofill.BackgroundColor3 = Color3.new(1, 1, 1)
- autofill.BorderSizePixel = 0
- autofill.Size = UDim2.new(1, -10, 0, 18)
- autofill.Font = Enum.Font.SourceSans
- autofill.Text = "AutoFill: false"
- autofill.TextColor3 = Color3.new(0, 0, 0)
- autofill.TextSize = 14
- sell.Name = "sell"
- sell.Parent = ScrollingFrame
- sell.BackgroundColor3 = Color3.new(1, 1, 1)
- sell.BorderSizePixel = 0
- sell.Position = UDim2.new(0, 0, 0, 20)
- sell.Size = UDim2.new(1, -10, 0, 18)
- sell.Font = Enum.Font.SourceSans
- sell.Text = "Sell everything"
- sell.TextColor3 = Color3.new(0, 0, 0)
- sell.TextSize = 14
- tp.Name = "tp"
- tp.Parent = ScrollingFrame
- tp.BackgroundColor3 = Color3.new(1, 1, 1)
- tp.BorderSizePixel = 0
- tp.Position = UDim2.new(0, 0, 0, 40)
- tp.Size = UDim2.new(1, -10, 0, 18)
- tp.Font = Enum.Font.SourceSans
- tp.Text = "tp to your base"
- tp.TextColor3 = Color3.new(0, 0, 0)
- tp.TextSize = 14
- label.Name = "label"
- label.Parent = ScrollingFrame
- label.BackgroundColor3 = Color3.new(1, 1, 1)
- label.BorderSizePixel = 0
- label.Position = UDim2.new(0, 0, 0, 60)
- label.Size = UDim2.new(1, -10, 0, 18)
- label.Font = Enum.Font.SourceSans
- label.Text = "TP To rebirth sign"
- label.TextColor3 = Color3.new(0, 0, 0)
- label.TextSize = 14
- TextButton.MouseButton1Down:Connect(function()
- if Frame.Visible == true then
- Frame.Visible = false
- TextButton.Text = "Open"
- else
- Frame.Visible = true
- TextButton.Text = "Close"
- end
- end)
- autofill.MouseButton1Down:Connect(function()
- if autofillEnabled == true then
- autofillEnabled = false
- autofill.Text = "AutoFill: false"
- else
- autofillEnabled = true
- autofill.Text = "AutoFill: true"
- end
- end)
- label.MouseButton1Down:Connect(function()
- local snowmanBases = game.Workspace.snowmanBases:GetChildren()
- for i=1,#snowmanBases do
- print(snowmanBases[i].player.Value)
- if snowmanBases[i].player.Value == game.Players.LocalPlayer then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(snowmanBases[i].rebirthControl.sign.Position.X-5, snowmanBases[i].rebirthControl.sign.Position.Y, snowmanBases[i].rebirthControl.sign.Position.Z))
- end
- end
- end)
- tp.MouseButton1Down:Connect(function()
- local snowmanBases = game.Workspace.snowmanBases:GetChildren()
- for i=1,#snowmanBases do
- print(snowmanBases[i].player.Value)
- if snowmanBases[i].player.Value == game.Players.LocalPlayer then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(snowmanBases[i].sign.sign.Position.X, snowmanBases[i].sign.sign.Position.Y-20, snowmanBases[i].sign.sign.Position.Z))
- end
- end
- end)
- sell.MouseButton1Down:Connect(function()
- game.ReplicatedStorage.ThisGame.Calls.snowballControllerFunc:InvokeServer("stopRoll")
- game.ReplicatedStorage.ThisGame.Calls.snowballController:FireServer("addToSnowman")
- end)
- local shop = Instance.new("TextButton")
- shop.Name = "label"
- shop.Parent = ScrollingFrame
- shop.BackgroundColor3 = Color3.new(1, 1, 1)
- shop.BorderSizePixel = 0
- shop.Position = UDim2.new(0, 0, 0, 80)
- shop.Size = UDim2.new(1, -10, 0, 18)
- shop.Font = Enum.Font.SourceSans
- shop.Text = "To shop"
- shop.TextColor3 = Color3.new(0, 0, 0)
- shop.TextSize = 14
- shop.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1700, 21, 53)
- end)
- local item = Instance.new("TextButton")
- item.Name = "g5445g5454"
- item.Parent = ScrollingFrame
- item.BackgroundColor3 = Color3.new(1, 1, 1)
- item.BorderSizePixel = 0
- item.Position = UDim2.new(0, 0, 0, 100)
- item.Size = UDim2.new(1, -10, 0, 18)
- item.Font = Enum.Font.SourceSans
- item.Text = "TP To green candy canes"
- item.TextColor3 = Color3.new(0, 0, 0)
- item.TextSize = 14
- item.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2082, 32, -14)
- end)
- -- do not add anything under here
- while wait() do
- if autofillEnabled == true then
- game:GetService("ReplicatedStorage").ThisGame.Calls.collectSnow:FireServer()
- end
- end
Add Comment
Please, Sign In to add comment