Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement