Hi, I was trying to make a script that would do the math on how far the objects level is from 100 and it would fire the remote to level it up until its 100. So clearly it would need to do math every time to see how many times it would fire the remote but it's not working for me.
An example (the object being level 23 and it needs to get to level 100, how would the script do the math to make it fire the remote the certain amount of times to get to level 100, it goes up by 1 per remote.)
local level = 23 for 100 - level do game.Workspace.RemoteEvent:FireServer(l) end`

1 comment
you need to post more code like the the
OnServerEventcode and what do you mean its not working ? does it error ?