Hello!
Im making an game with computers, where i need to calculate the ram, but when i change a value it doesnt change… (mind that im doing this in a module script)
here is a small peace of the code:
local Ram_left = game:GetService("ReplicatedStorage").Ram
function Ram.Calc(NeadedRam, app)
if Ram_left.Value >= (NeadedRam + 0.5) then
Ram_left.Value = Ram_Value.Value - NeadedRam
end
end
in hindsight everything should work right?
but it doesnt for me…
any help would be appreciated!
When you run the function, do any errors appear in the output? If so, send a screenshot of those errors so I can have a better look at what’s causing this to not work.