I am trying to copy make a simulator using Alivin Bloxs' simulator tutorials i am on the second part of his series where he makes the rebirth system. I finished all the scripting but when i tested it out it didn't work. In the out put it says " Argument 1 Missing Or Nil" I don't know what this means show please help me.
Script:
rebirthButtonInMenu.MouseButton1Click:Connect(function() local result = replicatedStorage.Remotes.Rebirth:InvokeServer() if result ==true then rebirthButtonInMenu.Text = "Success" wait(1) rebirthButtonInMenu.Text = "Rebirth!!" elseif result == "NotEnoughStregnth" then rebirthButtonInMenu.Text = "Become more chubby" wait(1) rebirthButtonInMenu.Text = "Rebirth!!" end end) rebirths:GetPropertyChangedSignal()("Value"):Connect(function() fatToRebirth.Text = "You need at least "..math.floor((starterRebirthAmount + (rebirths.Value) * math.sqrt(100000000))).." fat to rebirth" end)