#Saving the old data problem
1 messages · Page 1 of 1 (latest)
Does the value change to 2600 in a local script or a server script?
** You are now Level 4! **
LocalScript
** You are now Level 4! **
Thats why, I had this same problem for a different project. It only started working once I converted it to a server script
is that possible with a tool's script
its a free tool i found on the tool box
and its shooting script is localscript
Connect the shooting script to a remote event (At the point when they lose 1 health) . Then when that remote event happens deduct or add gold to their stats inside a server script.
i had an error when i tried to use remoteevents, FireClient can only be called from the server
Use FireServer?
does it work in local script?
Yes, FireServer refers to communicating from Client-Side Services to Server-Side Services (Double check that on roblox's forum if you'd like but I believe thats how it works)
Okay tysm ill try that
Np let me know if that fixes the problem 😁
thanks! it worked
Thats amazing! Happy I was able to help you!
Good luck on your project!
Hi, sorry i have an issue again
Sure, what seems to be your issue?
When i put the tool directly in the starter pack it works but when i clone it to my backpack i cant use it why do you think this happening?
Instead of cloning it maybe try moving it instead?
should probably do that on the server, not the client.