when i try to put decimal numbers in my script it doesn't work, when i change them to full numbers it works. how can i fix it?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local Money = player.leaderstats.Money
local XP = player.leaderstats.Experience
mouse.Move:Connect(function()
Money.Value = Money.Value + 1
XP.Value = XP.Value + math.random(0.1, 0.7)
end)