Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local BarA = Instance.new("Frame")
- local BarB = Instance.new("Frame")
- local Oil1 = Instance.new("TextButton")
- local Oil2 = Instance.new("TextButton")
- local Oil4 = Instance.new("TextButton")
- local Oil3 = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(0.286275, 1, 0.333333)
- Main.Position = UDim2.new(0.16556856, 0, 0.831869245, 0)
- Main.Size = UDim2.new(0, 228, 0, 119)
- Main.Draggable = true
- BarA.Name = "BarA"
- BarA.Parent = Main
- BarA.BackgroundColor3 = Color3.new(0.0666667, 1, 0.0196078)
- BarA.Size = UDim2.new(0, 228, 0, 23)
- BarB.Name = "BarB"
- BarB.Parent = Main
- BarB.BackgroundColor3 = Color3.new(0.0666667, 1, 0.0196078)
- BarB.Position = UDim2.new(0, 0, 0.79831934, 0)
- BarB.Size = UDim2.new(0, 228, 0, 23)
- Oil1.Name = "Oil1"
- Oil1.Parent = Main
- Oil1.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
- Oil1.Position = UDim2.new(-8.19563866e-08, 0, 0.277310938, 0)
- Oil1.Size = UDim2.new(0, 107, 0, 20)
- Oil1.Font = Enum.Font.SourceSans
- Oil1.Text = "Oil Rig1"
- Oil1.TextColor3 = Color3.new(0, 0, 0)
- Oil1.TextSize = 14
- Oil2.Name = "Oil2"
- Oil2.Parent = Main
- Oil2.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
- Oil2.Position = UDim2.new(-8.19563866e-08, 0, 0.529411793, 0)
- Oil2.Size = UDim2.new(0, 107, 0, 20)
- Oil2.Font = Enum.Font.SourceSans
- Oil2.Text = "Oil Rig2"
- Oil2.TextColor3 = Color3.new(0, 0, 0)
- Oil2.TextSize = 14
- Oil4.Name = "Oil4"
- Oil4.Parent = Main
- Oil4.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
- Oil4.Position = UDim2.new(0.530701637, 0, 0.529411793, 0)
- Oil4.Size = UDim2.new(0, 107, 0, 20)
- Oil4.Font = Enum.Font.SourceSans
- Oil4.Text = "Oil Rig4"
- Oil4.TextColor3 = Color3.new(0, 0, 0)
- Oil4.TextSize = 14
- Oil3.Name = "Oil3"
- Oil3.Parent = Main
- Oil3.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
- Oil3.Position = UDim2.new(0.530701637, 0, 0.277310938, 0)
- Oil3.Size = UDim2.new(0, 107, 0, 20)
- Oil3.Font = Enum.Font.SourceSans
- Oil3.Text = "Oil Rig3"
- Oil3.TextColor3 = Color3.new(0, 0, 0)
- Oil3.TextSize = 14
- Oil3.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3533.7, 70, -3115.8)
- end)
- Oil1.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3633.5, 69, 2521)
- end)
- Oil2.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3217.3, 70, 3160.1)
- end)
- Oil4.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3633.3, 71.1, -2753.8)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement