The function isn't being printed, I'm not sure why.
game.Players.PlayerAdded:connect(function(player)
print('test 1')
game.Players.PlayerRemoving:connect(function(player)
print('test2')
end)
end)
The function isn't being printed, I'm not sure why.
game.Players.PlayerAdded:connect(function(player)
print('test 1')
game.Players.PlayerRemoving:connect(function(player)
print('test2')
end)
end)
First, you cannot have a event inside of another event.
Code:
game.Players.PlayerAdded:connect(function(player)
print("test 1")
end)
game.Players.PlayerRemoving:connect(function(player)
print("test 2")
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
works, thanks.