local function Round(player)
local Timer = game.ReplicatedStorage.Timer
Timer.Value = 30
print(Timer.Value)
end
Round()
When I try this, the NumberValue does not change at all, I checked in both the Client and Server, and there are no errors in the Output (The Print also gives 0)
1 Like
bleintant
(bleintant)
July 17, 2022, 11:28pm
2
Is the script running on the server?
1 Like
Yes, it is inside of a ServerScript.
1 Like
bleintant
(bleintant)
July 17, 2022, 11:31pm
4
Why do you have a parameter called ‘player’ in the function, yet you don’t seem to be passing it?
1 Like
Because the script isn’t done yet. I’m just testing it as I go.
bleintant
(bleintant)
July 17, 2022, 11:42pm
6
There’s really not more I can say. I personally would use an IntValue, but I’m not sure if that changes anything.
Using an IntValue doesn’t seem to change anything, it’s a bit annoying that I can’t find a solution anywhere but thanks for trying to help.
For me that works perfectly fine
There is probably another script setting the value of the Timer to 0
Try to check if that’s the case
4667hp
(Account Info)
July 18, 2022, 12:24am
9
where did you put the script, it works if it’s in server script service
Turns out there was another script changing it that I missed, thanks.