game.ReplicatedStorage.SetInBucket.OnServerEvent:Connect(function(plr)
	plr.leaderstats.InBucket.Value = '0'
end)

That script above is my script, well... I don't know why it doesn't set to 0 Yes i know it need second script but i have it, and for other scripts it works, also weird thing, WHEN I set it to 3 instead of 0, it sets it to 3! Wth is wrong with 0 number..?

5 comments

0

Also, I tried to remove '' from the zero, same thing..

0

What type of Value is 'InBucket'? If it's an IntValue, you're setting a string to it. An IntValue requires a Int (integer) data type. Remove the single quotes if so.

0

Yes, it is intvalue.

0

That line should be 'plr.leaderstats.InBucket.Value = 0' then. Make sure your RemoteEvent is firing correctly.

0

Dude, let me understand... I just did that in past and it didn't even work! I mean, the problem is it work when i change your 0 to 3... 2 or higher than 0 but it doesnt work when i set it to 0