I put a NumberValue in one of my Teams in game.teams and a script inside the NumberValue. Everytime a player gets killed the NumberValue goes up by one and the script is supposed to fire a remote event but it doesn't; it isn't detecting the Value change.

Code in the Script

script.Parent:GetPropertyChangedSignal("Value"):Connect(function()
	print("Property Changed")
	game.ReplicatedStorage.Points:FireAllClients()
	print("Fired Clients")
end)

I know that the Value in the NumberValue is being changed, so i'm pretty sure it has something to do with the script in the numbervalue.

3 comments

0

by "NumberValue goes up by one: I meant the Value in NumberValue goes up by one

0

Are you changing that value by server or local.

0

i'm changing the value by a server