#Multiplication not working

1 messages · Page 1 of 1 (latest)

hardy hare
#

I have made some code and ive checked it lots of times but it just wont work. Everthing that is in stats in replicated storage is a number value but when I change the multiplication it still acts as if it was 1
local Points = game.ReplicatedStorage.Stats.Points
local PPS = game.ReplicatedStorage.Stats.PPS
local Mu = game.ReplicatedStorage.Stats.Mu
while wait(1) do
Points.Value = (Points.Value + PPS.Value) * Mu.Value
end

rugged oyster
# hardy hare

You're changing the multiplier from the client. That does not replicate

hardy hare
#

@rugged oyster Wdym

#

@rugged oyster How do I fix it?

wise glen
remote merlin
#

that doesnt work since its not server based

#

so u have to change the multiplier on the server side

#

u changed it on client

#

but u gotta change the multiplier on server

#

@hardy hare

silk furnace
#

yup

#

the number integers

#

are

#

absolutely

#

wrong

#

and u need to change the square root

#

and add a buffer

#

with some java to lua code

hardy hare
#

@remote merlin how would I fix it?

hardy hare