How do I make it so that whenever a player walks actively, in return it gives +1 leaderstats, I know how to do it with functions (touched), but the only problem is I don't want to put it in ever single brick, is there a way to have just one script work for walking in general.

In general I want an explanation if possible.

7 comments

0

no more boring simulators plz

0

not sim but I can see where you're coming from lol

0

Maybe UIS enum to walking keys? Or a loop for walking with a :Changed in it? Im just brainstorming sitting in traffic sorry.

0

the :Changed might work but how exactly would I get it know the difference between on walking on a platform then just in air, or does it matter?

0

well, if you want to know if a player is in the air you can use player.Character.Humanoid.FloorMaterial it'll be Enum.Material.Air if their not on the ground. or you could use raycasting

0

they're*

0

interesting, alright thanks