Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Player walking script tedious?

Asked by 5 years ago
Edited 5 years ago

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.

0
no more boring simulators plz INOOBE_YT 387 — 5y
0
not sim but I can see where you're coming from lol Qrackin 0 — 5y
0
Maybe UIS enum to walking keys? Or a loop for walking with a :Changed in it? Im just brainstorming sitting in traffic sorry. ABK2017 406 — 5y
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? Qrackin 0 — 5y
View all comments (3 more)
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 NukemDukeForNever 0 — 5y
0
they're* NukemDukeForNever 0 — 5y
0
interesting, alright thanks Qrackin 0 — 5y

Answer this question