menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Do IntValues can have numbers like 0.1 or 0.5?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Do IntValues can have numbers like 0.1 or 0.5?
cool_riki2321gamer
Join Date: 2016-02-09
Post Count: 2040
#183437795
Friday, February 12, 2016 5:40 PM GMT
Because when cutting a tree in my game. i Get 0.1 Wood and that 0.1 wood goes to a intvalue called Wood. Yeah, When i change the value manually to 1, it works. but when changing it to 0.1 it goes to 0 again.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cool_riki2321gamer
Join Date: 2016-02-09
Post Count: 2040
#183437880
Friday, February 12, 2016 5:41 PM GMT
Noedit : When i make it give me 1 wood it works. But not 0.1
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#183437919
Friday, February 12, 2016 5:42 PM GMT
An IntValue is always an Integer(a whole number), use a NumberValue instead.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cool_riki2321gamer
Join Date: 2016-02-09
Post Count: 2040
#183437975
Friday, February 12, 2016 5:43 PM GMT
Thanks cheese.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right