local replicatedStorage = game:GetService("ReplicatedStorage")

local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")

replicatedStorage.Remotes.Lift.OnServerEvent:connect(function(player)

print("Fired")

'=' if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end

local debounce = remoteData[player.Name].debounce

'=' if not debounce then

print("Got past the debounce if statement")

debounce.Value = true

end

player.leaderstats.Strength.Value = player.leaderstats.Strength + 5 * (player.leaderstats.Rebirths.Value + 1)

debounce.Value = false

end

1 comment

0

put end) at the end