Advertisement
BINO2002

Untitled

Aug 1st, 2019
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. local Gui = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Txt = Instance.new("TextLabel")
  4. local Button1 = Instance.new("TextButton")
  5. local Button2 = Instance.new("TextButton")
  6. local Button3 = Instance.new("TextButton")
  7. local Button4 = Instance.new("TextButton")
  8. local Button5 = Instance.new("TextButton")
  9. Gui.Parent = game.CoreGui
  10.  
  11. local plot = tostring(game.Players.LocalPlayer.Plot.Value)
  12. game.Players.LocalPlayer.PlayerGui.MainUI.SellNotif.Visible = false
  13.  
  14. Main.Name = "Main"
  15. Main.Parent = Gui
  16. Main.BackgroundColor3 = Color3.new(0.1, 0.1, 0.2)
  17. Main.BackgroundTransparency = 0.2
  18. Main.Position = UDim2.new(-0.3, 0, .85, 0)
  19. Main.Size = UDim2.new(0, 200, 0, 100)
  20.  
  21. Txt.Name = "Label"
  22. Txt.Parent = Main
  23. Txt.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Txt.BackgroundTransparency = 1
  25. Txt.BorderSizePixel = 0
  26. Txt.Position = UDim2.new(0, 0, 0, 0)
  27. Txt.Size = UDim2.new(0, 200, 0, 100)
  28. Txt.Font = Enum.Font.SourceSans
  29. Txt.Text = ""
  30. Txt.TextColor3 = Color3.new(0.8, 0.8, 1)
  31. Txt.TextScaled = true
  32. Txt.TextSize = 25
  33.  
  34. Button1.Name = "TextButton1"
  35. Button1.Parent = Gui
  36. Button1.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  37. Button1.Position = UDim2.new(0.821, 0, 0.447, 0)
  38. Button1.Size = UDim2.new(0, 150, 0, 50)
  39. Button1.Font = Enum.Font.SourceSans
  40. Button1.Text = "Shop1"
  41. Button1.TextColor3 = Color3.new(1, 1, 1)
  42. Button1.TextSize = 30
  43. Button1.MouseButton1Click:connect(function()
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1190.69, 79.72, -39.53)
  45. end)
  46.  
  47. Button2.Name = "TextButton2"
  48. Button2.Parent = Gui
  49. Button2.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  50. Button2.Position = UDim2.new(0.9, 0, 0.447, 0)
  51. Button2.Size = UDim2.new(0, 150, 0, 50)
  52. Button2.Font = Enum.Font.SourceSans
  53. Button2.Text = "Shop2"
  54. Button2.TextColor3 = Color3.new(1, 1, 1)
  55. Button2.TextSize = 30
  56. Button2.MouseButton1Click:connect(function()
  57. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(46676.30, 4.41, -1142.20)
  58. end)
  59.  
  60. Button3.Name = "TextButton3"
  61. Button3.Parent = Gui
  62. Button3.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  63. Button3.Position = UDim2.new(0.821, 0, 0.5, 0)
  64. Button3.Size = UDim2.new(0, 150, 0, 50)
  65. Button3.Font = Enum.Font.SourceSans
  66. Button3.Text = "Shop3"
  67. Button3.TextColor3 = Color3.new(1, 1, 1)
  68. Button3.TextSize = 30
  69. Button3.MouseButton1Click:connect(function()
  70. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(22173.45, 4.41, 36434.55)
  71. end)
  72.  
  73. Button4.Name = "TextButton4"
  74. Button4.Parent = Gui
  75. Button4.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  76. Button4.Position = UDim2.new(0.9, 0, 0.5, 0)
  77. Button4.Size = UDim2.new(0, 150, 0, 50)
  78. Button4.Font = Enum.Font.SourceSans
  79. Button4.Text = "Shop4"
  80. Button4.TextColor3 = Color3.new(1, 1, 1)
  81. Button4.TextSize = 30
  82. Button4.MouseButton1Click:connect(function()
  83. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-16354.67, 4.41, 15028.06)
  84. end)
  85.  
  86. Button5.Name = "TextButton5"
  87. Button5.Parent = Gui
  88. Button5.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  89. Button5.Position = UDim2.new(0.86, 0, 0.554, 0)
  90. Button5.Size = UDim2.new(0, 150, 0, 50)
  91. Button5.Font = Enum.Font.SourceSans
  92. Button5.Text = "Shop5"
  93. Button5.TextColor3 = Color3.new(1, 1, 1)
  94. Button5.TextSize = 30
  95. Button5.MouseButton1Click:connect(function()
  96. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(496.11, 4.46, -124466.66)
  97. end)
  98.  
  99. XYZ = false
  100. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  101. if key == "j" then
  102. if XYZ == true then XYZ = false print("Disabled")
  103. Txt.Text = "Disabled"
  104. Main:TweenPosition(UDim2.new(0,0,.85,0), 'In', 'Linear', .5)
  105. wait(2)
  106. Main:TweenPosition(UDim2.new(-1,0,.85,0), 'In', 'Linear', .5)
  107. elseif
  108. XYZ == false then XYZ = true print("Enabled")
  109. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.Plots[plot].Base.CFrame * CFrame.new(0,5,0)
  110. Txt.Text = "Enabled"
  111. Main:TweenPosition(UDim2.new(0,0,.85,0), 'In', 'Linear', .5)
  112. wait(2)
  113. Main:TweenPosition(UDim2.new(-1,0,.85,0), 'In', 'Linear', .5)
  114. end
  115. end
  116. end)
  117.  
  118. game:GetService('RunService').Stepped:connect(function()
  119. if XYZ == true then
  120. game:GetService("ReplicatedStorage").Events:InvokeServer("Build")
  121. if game.Players.LocalPlayer.PlayerGui.ShowBase.ProgressBack.Percent.Text == "100%" then
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1122.33, 79.72, -47.18)
  123. wait(0.1)
  124. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.Plots[plot].Base.CFrame * CFrame.new(0,5,0)
  125. end
  126. end
  127. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement