Hello! I just have a few questions regarding local scripts.
When i parent the script to StarterPlayerScripts and I include a script with
game.Workspace.Part.Touched:Connect(function()
--stuff here that only the player can see(not seen by others)
end)
the script works. but is it better to use a script parented to serverscriptservice instead and use a remote event/function? i'm not sure which to use. Can anybody tell me which is better? Also can all events such as TouchedEvent work in local scripts? (parented to startercharacter/starterplayer)
another question: Do services work in localscript? Such as PathfindingService. For some reason, I wrote a pathfinding script in localscript parented to startercharacter and it didn't work. But it works if it's in a normal script in serverscriptservice.
please help answer both questions!
I appreciate all help! Thanks for your time!

1 comment
Thank you so much! You helped a ton!