PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

How to Check if a Player is a Friend

How to Check if a Player is a Friend

Oct 01 2018, 1:38 AM PST

The below example would print whether or not a recently added player is friends with Gordonrox24.

game.Players.PlayerAdded:Connect(function(player)
	if player:IsFriendsWith(146569) then
		print(player.Name .. " is friends with gordonrox24!")
	end
end)