I want to make this script runs on me and my friend, but after testing and fixing several times i couldn't found out what's wrong with it.
local F3X = script.Parent
local label = game.Workspace.Cool.SurfaceGui.Frame.TextLabel
game.Players.PlayerAdded:connect(function(player)
if game.Players.Name == Xianon then
label.Text = ("Welcome Xianon")
msg.Text = ("Xianon has entered the game")
wait (3)
msg:remove()
elseif not game.Players.Name == Xianon then
game.Players.Name.Backpack.BT:Destroy()
if game.Players.Name == ApolloTalentz then
label.Text = ("Welcome Apollo")
msg.Text = ("Apollo has entered the game")
wait(3)
msg:remove()
elseif not game.Players.Name == ApolloTalentz then
game.Players.Name.Backpack.BT:Destroy()
end
end
end)

1 comment
lol, Thanks din't notice the quotation marks.