#How do i make this Stamina Code better for performance?
1 messages · Page 1 of 1 (latest)
Oh yea SCPF just means Stamina Change Per Frame
And i know people can exploit that coding flaw for infinte stamina
first, why attributes
there are intvalues
stringvalues
boolvalues
😭
To set the params so everything doesnt have to be hard coded
Btw the attributes is there to set things and never change (except for some attributes)
For stamina regen when walking?
Yes, i know
Like did you forgot stamina regen exist at all?
Oh wait nvm i mean for UI displays
Mis read it
Use task.wait instead of wait(), I don't think it'll fix it but it's good practice.