Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

ServerScriptService.Remotes Expected22: (To Close'(' at line 4 near <eof>?

Asked by 5 years ago

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

0
put end) at the end AnonymousDeveloper13 22 — 5y

Answer this question