
553 Views
1.8k Executions
Goto player
Universal Script 📌
FattahFirst script
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Goto player idk
-- PLAYER SELECT + TELEPORT GUI
-- Put this LocalScript in StarterPlayerScripts
local Players = game:GetService("Players")
local player = Players.LocalPlayer
---------------------------------------------------
-- GUI SETUP
---------------------------------------------------
local gui = Instance.new("ScreenGui")
gui.Name = "PlayerSelectGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- Dropdown frame
local dropdown = Instance.new("Frame")
dropdown.Size = UDim2.new(0,200,0,40)
dropdown.Position = UDim2.new(0.02,0,0.25,0)
dropdown.BackgroundColor3 = Color3.fromRGB(40,40,40)
dropdown.Parent = gui
local selectedLabel = Instance.new("TextButton")
selectedLabel.Size = UDim2.new(1,0,1,0)
selectedLabel.BackgroundColor3 = Color3.fromRGB(60,60,60)
selectedLabel.TextColor3 = Color3.fromRGB(255,255,255)
selectedLabel.Font = Enum.Font.GothamBold
selectedLabel.TextScaled = true
selectedLabel.Text = "Select Player"
selectedLabel.Parent = dropdown
-- List frame
local listFrame = Instance.new("Frame")
listFrame.Size = UDim2.new(1,0,0,0)
listFrame.Position = UDim2.new(0,0,1,0)
listFrame.BackgroundColor3 = Color3.fromRGB(30,30,30)
listFrame.ClipsDescendants = true
listFrame.Parent = dropdown
local UIList = Instance.new("UIListLayout")
UIList.Parent = listFrame
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!