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

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

Asked by 4 years ago
local module = {}

local replicatedStorage = game:GetService("ReplicatedStorage")

function module .Lift()

    replicatedStorage.Remotes.Lift:FireServer()

end

return module

1 answer

Log in to vote
1
Answered by
Leamir 3138 Moderation Voter Community Moderator
4 years ago

Hello, kier1664!

Try this:

local module = {}

local replicatedStorage = game:GetService("ReplicatedStorage")

function module .Lift()

    replicatedStorage.Remotes:WaitForChild('Lift'):FireServer() -- Waits for 'Lift' to be replicated to client

end

return module

0
Thaz kier1664 9 — 4y
Ad

Answer this question