Top posting users this month | |
Latest topics | » Where to go from here.September 14th 2020, 1:20 pm by MrNicNac» Send me an EmailSeptember 14th 2020, 1:16 pm by MrNicNac» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]July 6th 2015, 7:38 pm by m27frogy» New Site PossiblyJuly 6th 2015, 4:16 pm by m27frogy» Ambassador!April 15th 2015, 11:40 pm by naknak» Boop - TagApril 13th 2015, 9:46 pm by naknak» Vip Class ScriptApril 13th 2015, 4:54 pm by naknak» Who's active?!April 13th 2015, 4:52 pm by naknak» Genesis PointJuly 17th 2014, 7:04 pm by branefreez» Reward SystemJuly 17th 2014, 5:41 am by m27frogy» Script RequestJuly 10th 2014, 11:43 am by naknak» local scripts?July 10th 2014, 11:39 am by naknak» Project: Reconstruction [Died]July 10th 2014, 11:36 am by naknak» Hi. I am new hereApril 26th 2014, 4:01 pm by altshiftkey» What's your favorite sport?January 1st 2014, 2:13 pm by m27frogy» FlashLight ScriptJanuary 1st 2014, 2:11 pm by m27frogy» Gun Making! [READ DESC]January 1st 2014, 2:10 pm by m27frogy» Hi, I am new here!November 26th 2013, 3:33 pm by Keanu73» Improve CodingOctober 26th 2013, 1:12 pm by pook03» Simple ButtonSeptember 1st 2013, 6:19 pm by branefreez |
|
| NXT Building | |
| | Author | Message |
---|
m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: NXT Building June 23rd 2011, 9:57 pm | |
| Since your in Intermediate, I assume that you know how to open Roblox Studio. Open Roblox Studio. Go to your place and edit it, or make a new page. Press View>Explorer and View>Properties. You'll now see two windows pop up on the side of the screen. If they don't, repeat these steps. In the window named "Explorer", click on Workspace. Next, press Insert>Object>Script. You'll now see a script object appear underneath the "Workspace" object. Now double click the script and insert this code into it: - Code:
-
function scan(target) local children = target:GetChildren() local booleanValue = false if #children ~= nil then for i = 1, #children do local child = children[i] if child.className == "FileMesh" or child.className == "SpecialMesh" or child.className == "CylinderMesh" or child.className == "BlockMesh" then booleanValue = true end end end return booleanValue end
local children = script.Parent:GetChildren() for i = 1, #children do local child = children[i] if (child.className == "Part") and (child.Shape ~= "Ball") and (child.Shape ~= "Cylinder") and scan(child) == false then child.BackSurface = "Weld" child.BottomSurface = "Weld" child.FrontSurface = "Weld" child.LeftSurface = "Weld" child.RightSurface = "Weld" child.TopSurface = "Weld" local mesh = Instance.new("BlockMesh", child) end if (child.className == "Seat" or child.className == "VehicleSeat") and scan(child) == false then child.BackSurface = "Weld" child.BottomSurface = "Weld" child.FrontSurface = "Weld" child.LeftSurface = "Weld" child.RightSurface = "Weld" child.TopSurface = "Weld" local mesh = Instance.new("BlockMesh", child) end end print("Process Complete. Map == 'NXT'")
Now move the script into your model that you want to be NXT. Then click on the play icon and voilah! You're model is NXT! Why does this work? Roblox made a mesh called "BlockMesh". It sharpens the corners and makes all the surfaces apear smooth. This script welds every brick that's a regular brick, and doesn't already have a mesh. You can use insert to insert one in there, but it's so hard to do that with everything your free to use this script. Be warned! Cars and things with turning wheels hate this script because it welds they're wheels together! To make a car or tank, start out using bricks with BlockMeshes in them and there will be no problem. Or smooth out the surfaces touching the wheels after the body is built and the script is run.
Last edited by m27frogy on June 29th 2011, 5:31 pm; edited 3 times in total | |
| | | Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: NXT Building June 26th 2011, 7:07 pm | |
| erm. isn't a tutorial supposed to explain what something does and how something works? | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: NXT Building June 27th 2011, 11:55 am | |
| I'll edit it to make it clearer. It's awful to try to insert a BrickMesh into everything and weld too. | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: NXT Building June 27th 2011, 12:01 pm | |
| This script is so awesome! Free models look like they're not free models!! Everything looks profeshional!!! TROLOLOLO | |
| | | blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: NXT Building November 28th 2011, 6:49 am | |
| out of curiosity, why do you need the welding? | |
| | | Sponsored content
| Subject: Re: NXT Building | |
| |
| | | | NXT Building | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| Who is online? | In total there are 24 users online :: 0 Registered, 0 Hidden and 24 Guests
None
Most users ever online was 136 on October 21st 2024, 12:16 pm
|
| Please tell us what time zone you are in here
Got a really good idea? Post it in projects and it might show up here! |
|