I create a bullet locally. I then attach another local script containing the touched event/on hit scripts. But they don’t seem to run.
Do local scripts not run inside workspace period?
I create a bullet locally. I then attach another local script containing the touched event/on hit scripts. But they don’t seem to run.
Do local scripts not run inside workspace period?
LocalScripts won’t run outside player related objects (like Workspace). You’ll want to use regular scripts for this.
Ah ok, in my case I’m creating a bunch of Zombies locally for the player to kill. Since it’s part of a mission where you basically man a turret and have to fend off a wave of Zombies. This wouldn’t really be possible via server since it would lag a ton if more than 1-2 ppl do this at the same time.
I’ll run it through the player character. Thanks.