Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Changing the NumberValue value when a player enters. How to do it?

How to make when a player enters the game, the value of NumberValue increased by 1?

1 comment

0

Use a PlayerAdded event

1 answer

rip u boi

local numberValue = workspace.numberValue -- your number value

game.Players.PlayerAdded:Connect(function()
	numberValue.Value = numberValue.Value + 1
end)

there is a playerAdded event in case if u didnt know

This discussion is preserved as it was. New answers, comments, and votes are closed.