#Use scripts in multiple objects

1 messages · Page 1 of 1 (latest)

slow hamlet
#

I'm a Unity Developer and started coding in Roblox Studio 2 days ago. I'm having a small issue: How can I use the same script for multiple objects? Like npc behaviour or buttons with different functions. I tried applying what I would do in Unity but it seem that's not how it works in this engine.

celest oar
#

module scripts

celest oar
#

require acts like pragma once but at runtime

slow hamlet
#

oh I see

#

thanks

#

do you have any recommendation to start learning to code in roblox studio?

#

like youtube channel or course

vast terrace
#

i suggest u searching on that with collectionservice