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

it sed in output Lift is not a valid member of Folder?

Asked by 4 years ago
local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")

local cooldown = 1


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

    if not remoteData:FirstChild(player.name) then return "NoFolder" end

    local debounce = remoteData[player.name].Debounce

    if not debounce then
        debounce.Value = true

        player.Leaderstats.Strenght.Value = player.Leaderstats.Strenght.Value + 25 * (player.Leaderstats.Rebirths.Value + 1)

        wait(cooldown)

        debounce.Value = Faces

    end 


end)
0
maybe you named it wrong BabanizPROcuk 49 — 4y

Answer this question