You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
so basically when i collect an model i get a new multi which formula is multi*multi or multi^2 and i use 1.025x as multi in a few models i get smth like 1.34567831235… -
What is the issue? Include screenshots / videos if possible!
1th question -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I know about math round, but i need it to round to format .1 not to integer
My code:
local RCMultiE = game.Workspace.RemoteEvents.RCMultiE
local MoneyMulti = 1.025
local ClicksMulti = 1.1
RCMultiE.OnServerEvent:Connect(function(player)
local RCMultiMoney = player.Stats.RCMultiMoney
local RCMultiClicks = player.Stats.RCMultiClicks
RCMultiMoney.Value *= math.round(MoneyMulti)
RCMultiClicks.Value *= ClicksMulti
end)