Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Gui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Txt = Instance.new("TextLabel")
- local Button1 = Instance.new("TextButton")
- local Button2 = Instance.new("TextButton")
- local Button3 = Instance.new("TextButton")
- local Button4 = Instance.new("TextButton")
- local Button5 = Instance.new("TextButton")
- Gui.Parent = game.CoreGui
- local plot = tostring(game.Players.LocalPlayer.Plot.Value)
- game.Players.LocalPlayer.PlayerGui.MainUI.SellNotif.Visible = false
- Main.Name = "Main"
- Main.Parent = Gui
- Main.BackgroundColor3 = Color3.new(0.1, 0.1, 0.2)
- Main.BackgroundTransparency = 0.2
- Main.Position = UDim2.new(-0.3, 0, .85, 0)
- Main.Size = UDim2.new(0, 200, 0, 100)
- Txt.Name = "Label"
- Txt.Parent = Main
- Txt.BackgroundColor3 = Color3.new(1, 1, 1)
- Txt.BackgroundTransparency = 1
- Txt.BorderSizePixel = 0
- Txt.Position = UDim2.new(0, 0, 0, 0)
- Txt.Size = UDim2.new(0, 200, 0, 100)
- Txt.Font = Enum.Font.SourceSans
- Txt.Text = ""
- Txt.TextColor3 = Color3.new(0.8, 0.8, 1)
- Txt.TextScaled = true
- Txt.TextSize = 25
- Button1.Name = "TextButton1"
- Button1.Parent = Gui
- Button1.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Button1.Position = UDim2.new(0.821, 0, 0.447, 0)
- Button1.Size = UDim2.new(0, 150, 0, 50)
- Button1.Font = Enum.Font.SourceSans
- Button1.Text = "Shop1"
- Button1.TextColor3 = Color3.new(1, 1, 1)
- Button1.TextSize = 30
- Button1.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1190.69, 79.72, -39.53)
- end)
- Button2.Name = "TextButton2"
- Button2.Parent = Gui
- Button2.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Button2.Position = UDim2.new(0.9, 0, 0.447, 0)
- Button2.Size = UDim2.new(0, 150, 0, 50)
- Button2.Font = Enum.Font.SourceSans
- Button2.Text = "Shop2"
- Button2.TextColor3 = Color3.new(1, 1, 1)
- Button2.TextSize = 30
- Button2.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(46676.30, 4.41, -1142.20)
- end)
- Button3.Name = "TextButton3"
- Button3.Parent = Gui
- Button3.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Button3.Position = UDim2.new(0.821, 0, 0.5, 0)
- Button3.Size = UDim2.new(0, 150, 0, 50)
- Button3.Font = Enum.Font.SourceSans
- Button3.Text = "Shop3"
- Button3.TextColor3 = Color3.new(1, 1, 1)
- Button3.TextSize = 30
- Button3.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(22173.45, 4.41, 36434.55)
- end)
- Button4.Name = "TextButton4"
- Button4.Parent = Gui
- Button4.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Button4.Position = UDim2.new(0.9, 0, 0.5, 0)
- Button4.Size = UDim2.new(0, 150, 0, 50)
- Button4.Font = Enum.Font.SourceSans
- Button4.Text = "Shop4"
- Button4.TextColor3 = Color3.new(1, 1, 1)
- Button4.TextSize = 30
- Button4.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-16354.67, 4.41, 15028.06)
- end)
- Button5.Name = "TextButton5"
- Button5.Parent = Gui
- Button5.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Button5.Position = UDim2.new(0.86, 0, 0.554, 0)
- Button5.Size = UDim2.new(0, 150, 0, 50)
- Button5.Font = Enum.Font.SourceSans
- Button5.Text = "Shop5"
- Button5.TextColor3 = Color3.new(1, 1, 1)
- Button5.TextSize = 30
- Button5.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(496.11, 4.46, -124466.66)
- end)
- XYZ = false
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == "j" then
- if XYZ == true then XYZ = false print("Disabled")
- Txt.Text = "Disabled"
- Main:TweenPosition(UDim2.new(0,0,.85,0), 'In', 'Linear', .5)
- wait(2)
- Main:TweenPosition(UDim2.new(-1,0,.85,0), 'In', 'Linear', .5)
- elseif
- XYZ == false then XYZ = true print("Enabled")
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.Plots[plot].Base.CFrame * CFrame.new(0,5,0)
- Txt.Text = "Enabled"
- Main:TweenPosition(UDim2.new(0,0,.85,0), 'In', 'Linear', .5)
- wait(2)
- Main:TweenPosition(UDim2.new(-1,0,.85,0), 'In', 'Linear', .5)
- end
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- if XYZ == true then
- game:GetService("ReplicatedStorage").Events:InvokeServer("Build")
- if game.Players.LocalPlayer.PlayerGui.ShowBase.ProgressBack.Percent.Text == "100%" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1122.33, 79.72, -47.18)
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.Plots[plot].Base.CFrame * CFrame.new(0,5,0)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement