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

How To Make A Script Load A Local Script With Remote Events?

Asked by 5 years ago

How Do You Do That???

1 answer

Log in to vote
0
Answered by
theCJarmy7 1293 Moderation Voter
5 years ago

Simply wrap the entirety of your code into a function that gets called when the remote is fired.

function main()
    --do stuff
end

remoteEvent.OnClientEvent:Connect(main)
0
thx this looks helpfull basstracker1970 -29 — 5y
Ad

Answer this question