I have been trying to fix my tool that gives cash when u click it. But it doesnt work still, as an example, from my sight i see i have 100K moistbux and from others sight it says 0, heres my tool script, please answer if you can help me
local tool = script.Parent
reb = game.Players.LocalPlayer.leaderstats.moistbirths
function onActivation()
game.Players.LocalPlayer.leaderstats.moistbux.Value = game.Players.LocalPlayer.leaderstats.moistbux.Value + 10e21 * reb.Value
wait(0)
end
tool.Activated:connect(onActivation)

6 comments
You're doing that on the client.
First of all, :connect Is depricated ; use :Connect. And, is it a localscript?
its a local script and where should i put :Connect?
How do i make it not run on client?
:FireServer() :p
Where do i put :FireServer() ?