Ameno__GodOH

Sa tp

Jun 9th, 2024 (edited)
2,277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. -- Made by mandy_dos_candys on discord
  2.  
  3. local screenGui = Instance.new("ScreenGui")
  4. screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  5.  
  6.  
  7. local frame = Instance.new("Frame")
  8. frame.Size = UDim2.new(0.25, 0, 0.6, 0)
  9. frame.Position = UDim2.new(0.375, 0, 0.2, 0)
  10. frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  11. frame.Active = true
  12. frame.Draggable = true
  13. frame.Parent = screenGui
  14.  
  15. local creditLabel = Instance.new("TextLabel")
  16. creditLabel.Size = UDim2.new(1, 0, 0.1, 0)
  17. creditLabel.Position = UDim2.new(0, 0, 0, 0)
  18. creditLabel.Text = "By: mandy_dos_candys"
  19. creditLabel.TextColor3 = Color3.fromRGB(80, 80, 80)
  20. creditLabel.BackgroundTransparency = 1
  21. creditLabel.TextSize = 12
  22. creditLabel.Parent = frame
  23.  
  24. local function criarBotao(texto, posicao, coordenadas)
  25. local button = Instance.new("TextButton")
  26. button.Size = UDim2.new(0.8, 0, 0.075, 0)
  27. button.Position = posicao
  28. button.Text = texto
  29. button.Parent = frame
  30.  
  31. local function teleportar()
  32. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  33. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(coordenadas)
  34. end
  35. end
  36.  
  37. button.MouseButton1Click:Connect(teleportar)
  38. end
  39.  
  40. criarBotao("Merchant", UDim2.new(0.1, 0, 0.125, 0), Vector3.new(1342, 588, -553))
  41. criarBotao("Waterfall", UDim2.new(0.1, 0, 0.2, 0), Vector3.new(1626, 579, -747))
  42. criarBotao("Rachel's Cabin", UDim2.new(0.1, 0, 0.275, 0), Vector3.new(1035, 583, -180))
  43. criarBotao("Farming Zone", UDim2.new(0.1, 0, 0.35, 0), Vector3.new(-295, 462, -1491))
  44. criarBotao("Boss Arena", UDim2.new(0.1, 0, 0.425, 0), Vector3.new(1135, 584, -710))
  45. criarBotao("Domain Expansion", UDim2.new(0.1, 0, 0.5, 0), Vector3.new(-3091, 464, -417))
  46. criarBotao("Tim Shed", UDim2.new(0.1, 0, 0.575, 0), Vector3.new(1398, 584, -223))
  47.  
  48. local closeButton = Instance.new("TextButton")
  49. closeButton.Size = UDim2.new(0.1, 0, 0.1, 0)
  50. closeButton.Position = UDim2.new(0.99, -25, 0, 0)
  51. closeButton.Text = "x"
  52. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  53. closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  54. closeButton.Parent = frame
  55.  
  56. local function fecharFrame()
  57. frame.Visible = false
  58. end
  59.  
  60. closeButton.MouseButton1Click:Connect(fecharFrame)
Advertisement
Add Comment
Please, Sign In to add comment