local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")
replicatedStorage.Remotes.Lift.OnServerEvent:connect(function(player)
print("Finded")
if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end
local debounce remoteData[player.Name].Debounce
'=' if not debounce then
print("Find Debounce Value")
debounce.Value = true
player.leaderstats.Strength.Value = player.leaderstats.Strength + 5 * (player.leaderstats.Rebirths.Value + 1)
end
Based on the script you given, on line 3, you were supposed to close a "function" or event you made. use end)
instead of end
at the last line.
Closed as Not Constructive by User#24403
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?