Entity Lag

I have made this entity and when I look at it or use the Use function with the CONTINUOUS_USE type it lags.

Do you wish to share the source?

Check your

GM/ShouldCollide hooks if you have any to make sure they aren’t lagging. And check your ENTITY:Use function to make sure it isn’t lagging. Not much more I can say without code or more info.

FIXED. Thank you all :slight_smile:

–Private Info v

You’re calling surface.CreateFont inside your ENTITY:Draw function clientside. Call it once, outside of any functions.