Hi there! Good Morning and Good Afternoon. As you maybe notice, I ASKED SO MANY QUESTIONS and I deleted them because I'm embarrassed . I'm putting this question all together! This will be divided into 2 questions 1st How Do I Make A GUI Only shown for a Certain people? Like This?:
game.Players.PlayerAdded:connect(function(plr)
if plr.Name == "CjGamer1454" then
local MoveGui = game.ReplicatedStorage["TeleportGUI"]:Clone()
MoveGui.Parent = plr.PlayerGui
end
end)
But I want my friend to see it as well. Do I Copy/Paste?
2nd When I press the textbutton I want all players to teleport. How? Like This?:
spawn = game.Workspace.SpawnLocation
player = script.Parent.Parent.Parent.Parent
function onClicked
player.Character:MoveTo(spawn.Position)
end
script.Parent.MouseButton1Down(onClicked)
But how do I add them all together?

2 comments
yumtaste is showing you how ALL of your friends will see the GUI. If you want another person, then on line to it'll look like "CjGamer1454", "Friend/PersonNameHere" . All you do is add a comma and then a players name inside Quotations
I don't get he said for the 2nd one to add it to my script and it all went wrong