Hello, I wrote a script that when a player is added something happens but it doesn't work, here it is:
game.Players.PlayerAdded:Connect(function(player) print("yay") end)
Does anyone know how to fix it?
Hello.
Create a Script
and put it in ServerScriptService
.
Then write your code. Here is an example:
game.Players.PlayerAdded:Connect(function(player) print("Welcome"..player.Name) end)