Game runs great in Studio but lags on Roblox Client

The title is self-explanatory. My game runs buttery smooth in Studio, but lags in game. I’ve narrowed down the source of the lag to one or more of these things:

  • Combat system
  • Character swapping
  • Jumping

Here’s the game. Any feedback or explanations are helpful.

Thank you!

does “lag” refer to network latency or performance drops?

In this case, I’m referring to performance drops. Like the game freezes for a second while attacking or switching characters.

have you looked into the microprofiler yet

I have no clue how to use the MicroProfiler. I tried to look up different videos and guides explaining it, but I don’t understand it, much less be able to find out where my problem is.