PurpleDragonUntitled

Adopt me gui

Apr 30th, 2025 (edited)
22
0
364 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.63 KB | Source Code | 0 0
  1. local player = game.Players.LocalPlayer
  2. local playerGui = player:WaitForChild("PlayerGui")
  3. local TweenService = game:GetService("TweenService")
  4. local UserInputService = game:GetService("UserInputService")
  5.  
  6. -- ScreenGui
  7. local screenGui = Instance.new("ScreenGui")
  8. screenGui.Name = "TeleportGUI"
  9. screenGui.ResetOnSpawn = false
  10. screenGui.Parent = playerGui
  11.  
  12. -- Loading Sound (First Song)
  13. local loadingSound = Instance.new("Sound")
  14. loadingSound.SoundId = "rbxassetid://1841647093"
  15. loadingSound.Volume = 1
  16. loadingSound.PlayOnRemove = false
  17. loadingSound.Parent = screenGui
  18. loadingSound:Play()
  19.  
  20. -- Click Sound
  21. local clickSound = Instance.new("Sound")
  22. clickSound.SoundId = "rbxassetid://6042053626"
  23. clickSound.Volume = 1
  24. clickSound.PlayOnRemove = false
  25. clickSound.Parent = screenGui
  26.  
  27. -- Loading Label
  28. local loadingLabel = Instance.new("TextLabel")
  29. loadingLabel.Size = UDim2.new(0, 300, 0, 100)
  30. loadingLabel.Position = UDim2.new(0.5, -150, 0.5, -50)
  31. loadingLabel.BackgroundTransparency = 1
  32. loadingLabel.Text = "Loading..."
  33. loadingLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  34. loadingLabel.Font = Enum.Font.GothamBlack
  35. loadingLabel.TextSize = 36
  36. loadingLabel.TextStrokeTransparency = 0.5
  37. loadingLabel.Parent = screenGui
  38.  
  39. -- Rainbow Tween
  40. local function rainbowTween(label)
  41.     local colors = {
  42.         Color3.fromRGB(255, 0, 0),
  43.         Color3.fromRGB(255, 165, 0),
  44.         Color3.fromRGB(255, 255, 0),
  45.         Color3.fromRGB(0, 255, 0),
  46.         Color3.fromRGB(0, 255, 255),
  47.         Color3.fromRGB(0, 0, 255),
  48.         Color3.fromRGB(255, 0, 255),
  49.     }
  50.     local index = 1
  51.     while label.Parent do
  52.         local tween = TweenService:Create(label, TweenInfo.new(0.4), {TextColor3 = colors[index]})
  53.         tween:Play()
  54.         tween.Completed:Wait()
  55.         index = index % #colors + 1
  56.     end
  57. end
  58. coroutine.wrap(function()
  59.     rainbowTween(loadingLabel)
  60. end)()
  61.  
  62. -- Main Frame
  63. local mainFrame = Instance.new("Frame")
  64. mainFrame.Size = UDim2.new(0, 300, 0, 400)
  65. mainFrame.Position = UDim2.new(0.05, 0, -0.5, 0)
  66. mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
  67. mainFrame.BorderSizePixel = 0
  68. mainFrame.Visible = false
  69. mainFrame.Active = true
  70. mainFrame.Draggable = true
  71. mainFrame.Parent = screenGui
  72.  
  73. -- Title
  74. local titleLabel = Instance.new("TextLabel")
  75. titleLabel.Size = UDim2.new(1, 0, 0, 40)
  76. titleLabel.Position = UDim2.new(0, 0, 0, 0)
  77. titleLabel.BackgroundColor3 = Color3.fromRGB(55, 55, 65)
  78. titleLabel.Text = "Untitled's Assist"
  79. titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. titleLabel.Font = Enum.Font.GothamBold
  81. titleLabel.TextSize = 20
  82. titleLabel.Parent = mainFrame
  83.  
  84. -- Z Hint
  85. local zHint = Instance.new("TextLabel")
  86. zHint.Size = UDim2.new(1, 0, 0, 25)
  87. zHint.Position = UDim2.new(0, 0, 1, -25)
  88. zHint.BackgroundTransparency = 1
  89. zHint.Text = "[Z] to Close/Open"
  90. zHint.TextColor3 = Color3.fromRGB(200, 200, 200)
  91. zHint.Font = Enum.Font.Gotham
  92. zHint.TextSize = 14
  93. zHint.Parent = mainFrame
  94.  
  95. -- Scroll Frame
  96. local scrollFrame = Instance.new("ScrollingFrame")
  97. scrollFrame.Size = UDim2.new(1, 0, 1, -65)
  98. scrollFrame.Position = UDim2.new(0, 0, 0, 40)
  99. scrollFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 50)
  100. scrollFrame.BorderSizePixel = 0
  101. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  102. scrollFrame.ScrollBarThickness = 6
  103. scrollFrame.Parent = mainFrame
  104.  
  105. local listLayout = Instance.new("UIListLayout")
  106. listLayout.Padding = UDim.new(0, 5)
  107. listLayout.Parent = scrollFrame
  108.  
  109. -- Teleport Button Function
  110. local function createTeleportButton(name, position)
  111.     local button = Instance.new("TextButton")
  112.     button.Size = UDim2.new(1, -10, 0, 40)
  113.     button.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
  114.     button.BorderSizePixel = 0
  115.     button.Text = name
  116.     button.TextColor3 = Color3.new(1, 1, 1)
  117.     button.Font = Enum.Font.Gotham
  118.     button.TextSize = 16
  119.     button.Parent = scrollFrame
  120.  
  121.     button.MouseButton1Click:Connect(function()
  122.         clickSound:Play() -- Play the click sound on button click
  123.         local character = player.Character
  124.         if character and character:FindFirstChild("HumanoidRootPart") then
  125.             character.HumanoidRootPart.CFrame = CFrame.new(position)
  126.         end
  127.     end)
  128. end
  129.  
  130. -- Locations (including Pizza Place)
  131. local locations = {
  132.     {"Nursery", Vector3.new(-247, 31, -1488)},
  133.     {"Coffee Shop", Vector3.new(-272, 31, -1763)},
  134.     {"Ice Cream Shop", Vector3.new(-223, 31, -1769)},
  135.     {"Salon", Vector3.new(-132, 31, -1762)},
  136.     {"Car Shop", Vector3.new(-55, 31, -1758)},
  137.     {"PlayGround", Vector3.new(-381, 31, -1755)},
  138.     {"Potty + Strollers", Vector3.new(-448, 31, -1657)},
  139.     {"Hot Spring", Vector3.new(-600, 28, -1473)},
  140.     {"SuperMarket", Vector3.new(-390, 31, -1207)},
  141.     {"Camp", Vector3.new(-33, 31, -1073)},
  142.     {"Hospital", Vector3.new(-192, 31, -1443)},
  143.     {"School", Vector3.new(-305, 31, -1503)},
  144.     {"Pizza Place", Vector3.new(-126.243, 30.798, -1663.765)}
  145. }
  146.  
  147. for _, loc in pairs(locations) do
  148.     createTeleportButton(loc[1], loc[2])
  149. end
  150.  
  151. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, #locations * 45)
  152.  
  153. -- Show GUI with Tween
  154. task.delay(3, function()
  155.     loadingLabel:Destroy()
  156.     mainFrame.Visible = true
  157.     local tween = TweenService:Create(mainFrame, TweenInfo.new(0.6, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {
  158.         Position = UDim2.new(0.05, 0, 0.3, 0)
  159.     })
  160.     tween:Play()
  161. end)
  162.  
  163. -- Z Key Toggle
  164. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  165.     if gameProcessed then return end
  166.  
  167.     if input.KeyCode == Enum.KeyCode.Z then
  168.         mainFrame.Visible = not mainFrame.Visible
  169.     elseif input.KeyCode == Enum.KeyCode.Period then
  170.         screenGui:Destroy() -- Unload the GUI
  171.     end
  172. end)
  173.  
Tags: #roblox
Add Comment
Please, Sign In to add comment