I have a question about remote functions. How would I use it to change the property of SetLocalTransparencyModifier using InvokeClient?
COMMUNITY QUESTION
Using remote functions?
1 answer
In a LocalScript you would do the following:
local event = script.Parent.RemoteFunction
function event.OnClientInvoke()
-- your normal code here
end
In a Script you would do the following:
function name()
script.Parent.RemoteFunction:InvokeClient()
end
DoSomethingTo:connect(name)
That should do it. If not, let me know!
Helpful links!
This discussion is preserved as it was. New answers, comments, and votes are closed.
