#Script Paste Macro

1 messages · Page 1 of 1 (latest)

urban frost
#

Genuine question, is using script paste macros bad? (Not copying other people’s scripts, making ur own just saving time instead of rewriting every time)

#

The video shows what I mean, these scripts aren’t stolen, self made so I don’t have to rewrite it every time I make a new baseplate or script.

stray wolf
#

what

pine whale
#

you can just copy and paste?

urban frost
#

If I’ve got 10+ things say idk part tween gui tween uh some random math.random code etc it’s easier to simply type whatever say “/tsgui” “/tspart” “/mr” etc instead of go into idk notepad or wtvr and find the file and then copy paste it

urban frost
unkempt crescent
narrow muralBOT
#

studio** You are now Level 1! **studio

urban frost
#

I do remember

#

It saves time

urban frost
azure jasper
unkempt crescent
#

its not that its just abnormal

#

but if it works for you just do it

urban frost
urban frost
unkempt crescent
#

i mean ive never seen it before

urban frost
#

Oh right

#

Ik a lot of people save them as a script in the Roblox upload script section but it’s weirder n more awkward

celest wave
#

*Though an important thing to note, if your ever writing a snippet for something you should really make sure there isn't a better way to write the code. Its easy to use snippets to create a lot of bad copy pasted code fast.

For example, instead of pasting that user input service snippet every time you need to get input, it might be a better idea to write a module that abstracts user input (with key rebinding, any state management stuff you do frequently, etc) and give it a cleaner and more friendly API to work with.

As an example of this, here is an abstraction I wrote for user input. It handles separate keys depending on the platform type, key rebinding by users, and automatically stops listening for input when it goes out of scope. If I had just used snippets for this, my codebase wouldve been much messier and harder to maintain.

stable tinsel
#

what is this called

#

i want one them

#

so i dont need to write all of it

urban frost
urban frost
#

Just not over and over again

#

It’s somewhat like a permanent function across all ur games but better

urban frost
stable tinsel
#

tell me

urban frost
#

🤷