SHARE
TWEET

Untitled

a guest May 21st, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local BarA = Instance.new("Frame")
  4. local BarB = Instance.new("Frame")
  5. local Oil1 = Instance.new("TextButton")
  6. local Oil2 = Instance.new("TextButton")
  7. local Oil4 = Instance.new("TextButton")
  8. local Oil3 = Instance.new("TextButton")
  9.  
  10. ScreenGui.Parent = game.CoreGui
  11. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Main.Name = "Main"
  14. Main.Parent = ScreenGui
  15. Main.Active = true
  16. Main.BackgroundColor3 = Color3.new(0.286275, 1, 0.333333)
  17. Main.Position = UDim2.new(0.16556856, 0, 0.831869245, 0)
  18. Main.Size = UDim2.new(0, 228, 0, 119)
  19. Main.Draggable = true
  20.  
  21. BarA.Name = "BarA"
  22. BarA.Parent = Main
  23. BarA.BackgroundColor3 = Color3.new(0.0666667, 1, 0.0196078)
  24. BarA.Size = UDim2.new(0, 228, 0, 23)
  25.  
  26. BarB.Name = "BarB"
  27. BarB.Parent = Main
  28. BarB.BackgroundColor3 = Color3.new(0.0666667, 1, 0.0196078)
  29. BarB.Position = UDim2.new(0, 0, 0.79831934, 0)
  30. BarB.Size = UDim2.new(0, 228, 0, 23)
  31.  
  32. Oil1.Name = "Oil1"
  33. Oil1.Parent = Main
  34. Oil1.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
  35. Oil1.Position = UDim2.new(-8.19563866e-08, 0, 0.277310938, 0)
  36. Oil1.Size = UDim2.new(0, 107, 0, 20)
  37. Oil1.Font = Enum.Font.SourceSans
  38. Oil1.Text = "Oil Rig1"
  39. Oil1.TextColor3 = Color3.new(0, 0, 0)
  40. Oil1.TextSize = 14
  41.  
  42. Oil2.Name = "Oil2"
  43. Oil2.Parent = Main
  44. Oil2.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
  45. Oil2.Position = UDim2.new(-8.19563866e-08, 0, 0.529411793, 0)
  46. Oil2.Size = UDim2.new(0, 107, 0, 20)
  47. Oil2.Font = Enum.Font.SourceSans
  48. Oil2.Text = "Oil Rig2"
  49. Oil2.TextColor3 = Color3.new(0, 0, 0)
  50. Oil2.TextSize = 14
  51.  
  52. Oil4.Name = "Oil4"
  53. Oil4.Parent = Main
  54. Oil4.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
  55. Oil4.Position = UDim2.new(0.530701637, 0, 0.529411793, 0)
  56. Oil4.Size = UDim2.new(0, 107, 0, 20)
  57. Oil4.Font = Enum.Font.SourceSans
  58. Oil4.Text = "Oil Rig4"
  59. Oil4.TextColor3 = Color3.new(0, 0, 0)
  60. Oil4.TextSize = 14
  61.  
  62. Oil3.Name = "Oil3"
  63. Oil3.Parent = Main
  64. Oil3.BackgroundColor3 = Color3.new(0.466667, 1, 0.556863)
  65. Oil3.Position = UDim2.new(0.530701637, 0, 0.277310938, 0)
  66. Oil3.Size = UDim2.new(0, 107, 0, 20)
  67. Oil3.Font = Enum.Font.SourceSans
  68. Oil3.Text = "Oil Rig3"
  69. Oil3.TextColor3 = Color3.new(0, 0, 0)
  70. Oil3.TextSize = 14
  71. Oil3.MouseButton1Click:connect(function()
  72.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3533.7, 70, -3115.8)
  73. end)
  74.  
  75. Oil1.MouseButton1Click:connect(function()
  76.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3633.5, 69, 2521)
  77. end)
  78.  
  79. Oil2.MouseButton1Click:connect(function()
  80.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3217.3, 70, 3160.1)
  81. end)
  82.  
  83. Oil4.MouseButton1Click:connect(function()
  84.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3633.3, 71.1, -2753.8)
  85. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top