can anyone explain it to me what actually RunContext used for? and is it useful or no?
thank you in advance
RunContext essentially allows scripts to act as localscripts, by only working on the client. Localscripts are only active in certain hierarchies, like underneath a character instance or in ReplicatedStorage; whereas scripts can be active anywhere. A script with a RunContext of local will essentially make it a localscript that can run anywhere a script can. I think the reason RunContext was added was to streamline the way scripts work so that a script and a localscript could just be combined into one instance, but I could be slightly wrong about that.
Sorry if that explanation was long and confusing, but hopefully you get the jist.
no worries thanks for this bud
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.