Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how would i use remote functions?

I dont get my script it says InvokeServer is not a child of VIPAccess

script.Parent.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Events.VIPAccess.InvokeServer("Check")
end)

1 answer

✓ Accepted answer

you use :InvokeServer not .

script.Parent.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Events.VIPAccess:InvokeServer("Check") -- :InvokeServer instead of .InvokeServer
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.