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 » Game Creation and Development » Scripters
Home Search
 

Re: Since SH doesn't know a fk what I am saying;

Previous Thread :: Next Thread 
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 05:55 PM
Says how primitive some of the scripters are there.

Anyway, some of the building tools sometimes copy like 10 bricks (10 is an Example, usually it copies actually around 6 - 20, random numbers) instead of just one brick thus causing lag after a certain point, and I'm wondering if somebody could help make a script with me that deletes parts like this?

In other words, lets say you go on Studio and use one of the building tools. You create or clone a brick, but instead of copying one part, it copies around 20. These parts are inside of each other and the building tool has them all selected, so you never know its actually 20 parts instead of one.

I need help making a script that will delete 19 of those 20 parts, another way to put it, a way to delete bricks in which are useless/just copies of an already existing part and are just lag causers basically (Could go without them in other words), these bricks being usually at the same exact position, same size, as the part you want to keep.



Another way to put it for those still not getting me; Make a brick in Studio, clone it 5 times, make it the EXACT SAME as the original part, same size, same position, etc., see that? We want a script to delete 4 of those 5 parts. That's the best I can explain it.


May I please have help? I will provide help myself when needed in creating this cleaner.
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
13 Sep 2014 05:58 PM
if game.Workspace.Part then

for i = 1, 4 do
game.Workspace.Part:remove()
end
end
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 05:59 PM
@Cool:

- Use :Destroy(),
- Read the entire thing, not just one part of it.
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
13 Sep 2014 06:00 PM
tl;dr


ok bai
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:01 PM
oh ur a troll, ok.

pls go to ot kthxbai.

---------------
Bump1
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
13 Sep 2014 06:03 PM
*Doesn't do request correctly*
*Is called a troll because only read the entire thing*

#NoLogic
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:07 PM
@Cool: I'm not going to argue. It is a waste of my time. The only reason I am here is because Scripting Helpers doesn't know how to help me at all and so I was hoping to come to some people more advanced in scripting to see if they can help, so I can work with them in creating this script that I can use to help fix my friends, and many other's places which were lagged off of the map by this growing problem of cloning in F3X/other tools.

Did that make it hard to read?
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:11 PM
Bump2
Report Abuse
Fluffmiceter is not online. Fluffmiceter
Joined: 28 Jan 2012
Total Posts: 6931
13 Sep 2014 06:32 PM
If your building tool doesn't have debounce and accidentally creates more than one clone, then that is your fault for using the tool.
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:33 PM
The comment above is why I have lost all of my respect for most of these forumers...

Mind reading the reply I made? And, tell me, did I say myself only? And the damage is done, how will you fix the maps? By hand?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
13 Sep 2014 06:34 PM
Scripters won't be any more help than scripting helpers

We weren't meant for hleping
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:43 PM
@King:

Really?

Alright, alright.


Tell me then, with "Being mean't for", are you meant to just be a slave to a secret order being trapped inside of a little box next a bunch of little boxes just rotting away as you try to find a mate which is by your hopes pretty and dumber than you?

Tell me, what are weapons meant for?

What is Countries meant for?

What is the point to bother even making those?

What is the point to help people?

What is the point to have feelings?

What is the point to continue?

What is the point to stop?

WHAT is the point, to life itself? Why is it here? Don't question that, why is it here? Dropping all theories or events relating life, why does everything we know exist in the first place?

What happened in the past that we cannot see?



All those questions, and you make a statement, in reply to me just asking for some friendly help; "We weren't meant for helping".




Do you honestly think, I give a flying fk, if you're "MEANT FOR HELPING", or not? You aren't a god damn robot, so why not, just for once, get off of that lazy ass of yours, and be a good person, aye?

Are you mad, now, by how I address most of y'all?


Mad by how I address most of this forum?

Better be, because I'm acting no better then most of y'all do, notice?


And instead of just making random show off scripts then flaming anybody I think can't do as well as me, I'm asking for help so I can help other people fix their stuff, including myself as well.

Is that bad?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
13 Sep 2014 06:48 PM
In the beginning, the great god Telamon created two forums, and named them "Scripters" and "Scripting Helpers". The former was intended for advanced scripting discussion and the latter was intended for help threads. Since this is a help thread it belongs in Scripting Helpers. It does not belong in the forum for advanced scripting discussion, regardless of how lazy or stupid you think the members are. You can't go to the wrong forum and expect the rules of it to change.
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 06:51 PM
@King: So, that's it? You're a god fearing, master worshiping member who cannot just move his foot by one inch just to help another get on their way instead of being left, by that one inch, trapped along with others?

I have no respect for people who do this crap. You know, sometimes, breaking the rules is the right thing to do, because sometimes, breaking the rules may have been what has saved your life, instead of being a robot operating with certain limits with limited choices depending on the barriers applied to the program.


I can care less, its your own fault for not reading anything, including how I stated, 'Scripting Helpers could not help me', and that 'nobody knew what to do', and as well 'I was hoping to come here to get some help because nobody else knew what to do and how to do it'.

Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
13 Sep 2014 06:53 PM
Just do something like this in the command bar. It's a simple script that deletes parts that are in the same position.

for i, v in pairs(workspace:GetChildren()) do
if v.ClassName == "Part" then
for j, w in pairs(workspace:GetChildren()) do
if v ~= w and v.Position == w.Position then
w:Destroy()
end
end
end
end
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
13 Sep 2014 06:54 PM
Actually that might error because it'll try to iterate through something it already destroyed but you get the idea just delete parts that are in the same position.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
13 Sep 2014 06:59 PM
So we might as well merge Scripters and Scripting Helpers since people looking for help can come here. Then we will become a second SH.

By the way, you are requesting for someone to make you this. *Nobody* is willing to make anything for you more than what that first reply was. If you had posted a little bit of code that you want fixed, then you would have gotten help even in SH.

P.S. I am not Christian [anymore].
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
13 Sep 2014 07:17 PM
recursive loop through all parts in workspace, if position == position then destroy boom
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
13 Sep 2014 07:21 PM
You can't go to the wrong forum to the wrong forum and expect a helpful reply. On top of that you're insulting most of the people there.
This would be the equivalent of going to a restaurant , asking to buy some soap, then insulting the food along with customer service.
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 07:22 PM
Thank you @Those who have attempted to help.


I will make a copy on my own, and see how it works. I'd love to just work with somebody here.

@King: Please leave.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
13 Sep 2014 07:22 PM
...
Not sure how 'to the wrong forum' got in there twice.
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
13 Sep 2014 07:23 PM
I will as well post the results and the script.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
13 Sep 2014 07:46 PM
I think you should be the one to leave.

If you post the script you have right now then that would be at least somewhat acceptable. If you had done that from the beginning then you probably would have gotten a response in SH.

But if you don't have one and are wanting us to make it for you like the original post made it seem like then we are not going to help.
Report Abuse
w8t is not online. w8t
Joined: 01 Mar 2012
Total Posts: 560
14 Sep 2014 12:49 AM
to remove elements from a table while iterating, iterate backwards.
Report Abuse
Fluffmiceter is not online. Fluffmiceter
Joined: 28 Jan 2012
Total Posts: 6931
14 Sep 2014 07:43 AM
@sun:
Nobody here insults king like that. Get the heck out of here, and stop wasting our invaluable time.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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