Do I have all the client side events in one local script or seperate?

Say I wanna have a client side function for both running and punching, do I have both of them in one local script or have one local script for running and another for punching?

2 Likes

It’s personally your preference, I would have them both in a seperate local script

1 Like

Does it cause lag or affect performance in any way?

1 Like

I’m pretty sure it doesn’t, if I’m wrong someone else can correct me lol.

It’s just preference, and if all one the script may cause “lag” but in the milliseconds lol if anything. The computer can read scripts really fast and hasn’t caused any problems in my development.