So Hi! I have game and has you know there is a game explorer and i have two games in there connected how do i make it so it reacts in both servers example :

`~~~~~~~~~~~~~~~~~

function onPlayerEntered(newPlayer)
	wait(.5)
	local stats = Instance.new("IntValue")
	stats.Name = "leaderstats"

	local score = Instance.new("IntValue")
	
	score.Name = "Money"
	score.Value = 0

	score.Parent = stats	
	stats.Parent = newPlayer

end

game.Players.ChildAdded:connect(onPlayerEntered)

Like how do i make a leaderstats that are like connected?

2 comments

0

U dont have to connect them if the place is in the same universe then if you use the same datastore it will have the same stats when u load it

0

Could you show me what the script with the script i put above