Is there a way to find all your friends in your server, then write them all seperate in different textlabels? if so can some1 help me?
I would add a Player Added event
game.Players.PlayerAdded:Connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) local screen = game.StarterGui.FriendScreen -- Make sure you actually create it or edit the name for amount, plr in pairs(game.Players:GetPlayer()) do if plr:IsFriendsWith(player.Name) then wait() local friendtxt = Instance.new("TextLabel", screen) --Do the properties of the var friendtxt friendtxt.Text = player.Name.. " your friend has joined the server" wait(3) -- Delay time friendtxt:Destroy() -- I went with the simple destroy but you can also tween the text label then destroy it end end)
Hopefully this helped you,tell me if you find any errors :)