Hello,
So I’m trying to make a killer part that rotates on the client (local script)
I write the code that should rotate the part, but it only rotates the part when the player spawn close to the part.
I tried to fix that by waiting for the game to load repeat task.wait() until game:IsLoaded()
but it didn’t solve the problem.
Also tried to tag the parts that should rotate, but it still didn’t work.
Tried to use a ChildAdded event to wait when the parts will add. Didn’t work.
Tried to use Content Provider to preload the parts but didn’t work.
Tried to fire a remote event from the server providing the part but it gave me an error, that the part don’t exist on the client (nil)
Since it’s a killer part it has a .touched event running on the server.
Its just should rotate on the client. Doesn’t metter if other players see it, on they screen the part will rotate differently
The problem is that when i run run the studio if the part is so far away that i can’t see it, when i get close it’s not rotating but when i run the studio and the part is close to me it’s rotating.
Have you tried to turn off StreamingEnabled? It’s a property in Workspace. StreamingEnabled restricts to only load places where the player is, which won’t yet to load parts far away and can cause problems to scripts.
This is an issue I’ve seen from many people in a community and it works for them at least.