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

How would you give a player a decimal value?

Asked by 3 years ago

I'm trying to give a player 0.05 speed every second they run, however this doesn't seem to work. Here's my code:

The speed value is a int value.

player.Speed.Value = player.Speed.Value + 10 / 200
0
Do you know what IntValue is? IntValue stand for integer value. Don't know what an integer is? An integer is a number with no decimal just a whole number. Solution would probably be a NumberValue. MarkedTomato 810 — 3y
0
use numbervalue greatneil80 2647 — 3y

Answer this question