I do have a few serversided scripts like an older version of Flamingos/Decaboxes Ultimate trolling gui and I want a script that executes the requied Ultimate trolling gui script if a friend joins or me.
You might use something like this
Players.PlayerAdded:Connect(function(player) if player.Name == "" then--put you or your friends name --do something end end)
You could also use something like this
local mytable = {"you", "friend1","friend2"} local Players = game.Players Players.PlayerAdded:Connect(function(player) for i, v in pairs(mytable) do if player.Name == mytable[i] then --do something end end end)
I'm fairly new to scripting so forgive me if I'm wrong.