Hello, I would like to figure out how to make an object, cloned by a localscript from lighting into Workspace spin.
The object in question is currently in Lighting. When I use a localscript to clone it into the workspace, it doesn’t spin. The object has a regular script inside of it that makes it spin indefinitely using a while true do loop.
Serverscripts (regular scripts) only runs on the server. Anything cloned on the client only runs on the client. I think you can see the issue here. The solution is to ditch the serverscript inside the part and use a localscript instead.
Hint: You can turn the regular script into a localscript by changing the RunContext property from Legacy to Client.
I was experimenting with date and time-based events and this whole thing was for something based on that, which was why it had to be clientside. It’s ROUGH.