generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Re: Here's an idea: Mass scripting

Previous Thread :: Next Thread 
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:01 PM
That way you can just tell Studio to pull up all scripts by a certain name on one screen, and make them all the same to fix them all at once.

You know, in case ROBLOX decides to change a class name again (hats to accessories!? Why did you change that?) it's quicker to fix my literately over 1000 pokemon morphs... (There's shinies, and toontown stuff, and smash bros characters, etc. too... One of them is Gabe Newell.)
Report Abuse
GooseBoogaloo is not online. GooseBoogaloo
Joined: 13 Mar 2009
Total Posts: 1370
11 Jan 2017 07:01 PM
cool


asasdddddsffffffffff
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:02 PM
if you have a ton of scripts with the same content you're just an inefficient scripter

Report Abuse
llaserx is online. llaserx
Joined: 10 Dec 2011
Total Posts: 53069
11 Jan 2017 07:03 PM
Ctrl+H

Accroment class
Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:03 PM
@UnSub: Well, it's not like you can just make a universal script for multiple models, now can you?

Otherwise I would be doing that!
Report Abuse
llaserx is online. llaserx
Joined: 10 Dec 2011
Total Posts: 53069
11 Jan 2017 07:03 PM
Unsub he bad scripter
Report Abuse
Connor_King88 is not online. Connor_King88
Joined: 14 Dec 2008
Total Posts: 51413
11 Jan 2017 07:04 PM
Pretty much what Un said.
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:04 PM
"Well, it's not like you can just make a universal script for multiple models, now can you?"
that's worded weirdly
what's your situation

Report Abuse
horse_steppin is not online. horse_steppin
Joined: 20 Jan 2013
Total Posts: 3610
11 Jan 2017 07:04 PM
*connor shaw peaks head around corner*
HERE'S A BUILD TO TRY


YOU AND I
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
11 Jan 2017 07:06 PM
You can do a global search through all scripts in a game.
Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:08 PM
@UnSUb: They're morphs. Each one morphs you into something different.

WHen you touch one of the morph buttons you get morphed into that thing.

Basically, I have to go under each button, and change the script in that one.

There's over 1000. It's annoying.

It's not exaclty the "same" thing. It's different looks for each button.
Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:09 PM
@theta: But you can't pull it up in one tab, and change all of them on that one screen at once.

That's what I'm suggesting.
Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:10 PM
*tab

I mean tab.
Report Abuse
CrimsonxDemon is not online. CrimsonxDemon
Joined: 06 Jun 2015
Total Posts: 6799
11 Jan 2017 07:10 PM
i cant script or build for my life lol


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:13 PM
here's an example (it would be easier if you placed each morph into its respective button)

local Players = game:GetService("Players")

local morphs = workspace:WaitForChild("Morphs")

for _, button in next, morphs:GetChildren() do
button.Touched:Connect(function(part)
local player = Players:GetPlayerFromCharacter(part.Parent)
if player then
local morph = button.Morph
-- finish code
end
end)
end

if you don't want to put an object inside every button you can still have a reference to the ID/object in a table
of course it's going to take time to set up but it's much more efficient

Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:17 PM
@Unstop: What?

Dude, I'm just trying to fix the built in hat- sorry... ACCESSORY remover in the morphs.

But really, you can't have a script A go into script B and get functions from script B.
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:18 PM
it's disgustingly inefficient to have a script inside each button that removes your accessories, the point of that script is to reference where all buttons are stored and apply a function to EVERY single one so you only need to use one script

since events behave similarly to coroutines it will work fine

Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:18 PM
And before you say anything about that one thing that acts like remote events, ask RT about how those are broken, and what happened last time I tried using those.

ROBLOX breaks EVERYTHING of theirs. :/
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:18 PM
remote events aren't necessary in this scenario
they work fine for me though lol

Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:20 PM
@UnSub: No... they don't... I tried getting playback loudness to go from local to server... It. Did. Not. Work.

Everyone in RT said there was nothing wrong with my script too... everyone that decided to reply. :/
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:22 PM
you're not understanding my point
there may not be anything wrong with your script from a functionality standpoint but when you get down to efficiency it's really bad practice to use that many scripts for something that can be done with only one

all I'm doing is showing you a better way to achieve your goal, and to answer your original post, there is not currently a way to amend all scripts (that I know of)

if you did it the efficient way your solution would've only taken 5 seconds

Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:27 PM
@Unsub: Ok, events don't work, so... Yeah.

Also, to be honest I'm trying to fix a game that my friend gave me when he quit ROBLOX.

I mean... Just look. :/

https://www.roblox.com/games/472469429/PMD-EOS-RP

https://www.roblox.com/games/48216651/Pok-mon-Mystery-Dungeon-RPG-V-1-4
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Jan 2017 07:29 PM
if you don't mind I could come into team create and show you what I mean about controlling it all from one script

Report Abuse
agodlypancake is online. agodlypancake
Joined: 18 Aug 2011
Total Posts: 14610
11 Jan 2017 07:33 PM
@Unsub: I read about it on the wiki. I already know.

I'll add it to my to do list.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image