Local scripts fail to load in game

Hey all,

I am working on a game where all obstacles are spawned on the client. I do this by making use of local scripts, which I put in StarterPlayerScripts.
However, the issue I’m facing is that this works perfectly fine in studio, while it fails to work in the Roblox player.

This is an example in Studio.

This is an example in the Roblox player.

I have no idea what I’m doing wrong here.

1 Like

I think it’s better use a normal script to this.

1 Like

have u tried using a remote event to kill the player through the server instead of depending on the client too much?

1 Like