local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData") local starterRebirthAmount = 5000 local cooldown = 1 ReplicatedStorage.Remotes.Lift.OnServerEvent:connect(function(player) if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end local Debounce = remoteData[player.name].Debounce if not Debounce then Debounce.Value = true player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 25 * (player.leaderstats.Rebirths.Value + 1) wait(cooldown) Debounce.value = false end end) ReplicatedStorage.Remotes.Rebirth.OnServerInvoke = function (player) if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end local rebirths = player.leaderstats.Rebiths if player.leaderstats.Strength.Value >= (math.floor((starterRebirthAmount + (rebirths.Value) *math.sqrt(5000)))) then rebirths.Value = rebirths.Value + 1 player.leaderstats.Strength.Value = 0 player:LoadCharacter return true else return "NotEnoughStregth" end end
plz help