Greetings everyone! Today I want to ask how I would go about making localscripts that tween locally, etc. on parts.
Let’s talk about “parts”.
I have a building system in my game, and once a player places a “interactable” part, scripts, and etc. will be put inside the “interactable” part, it will set itself up, and execute a loop, and halts once the part is destroyed by a player, like normal behavior with scripts, once scripts get deleted, they stop. “interactable” parts are just parts that “work”, and does something than nothing.
What do you want to achieve?
I want to achieve client sided animations on placed “interactable” parts, by using localscripts.
I’m not sure how, though. I want everything to have ZERO memory leaks, whatsoever.
What’s the issue?
The issue is, as normally, a player places a part, a script gets put inside that model, but what about localscripts?
Oh no! They won’t execute anywhere other than PlayerScripts, PlayerGui, Backpack, Character, and ReplicatedFirst!
What should I do to work my way around this?
What solutions have I tried so far?
I don’t think there are any solutions anywhere on the internet, so I’ve come here to ask you all how I would go about this. I’m one of the people who doesn’t know how to search properly with well-described words, and etc.