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: Help me fixing this script please!

Previous Thread :: Next Thread 
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
28 Aug 2017 03:14 PM
Hello, i want to "select" all the parts in ################ ##### ########## ###### and meshes and even models) but i dont really have an idea how to. local v = workspace.Exterior.Part this is what ive got so far, v is all the stuff i want to select and apply something like transparency to all of it like v.Transparency=1. Do you have any ideas? Thanks!
Report Abuse
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
28 Aug 2017 03:15 PM
all the parts in a model (like uni on s*
Report Abuse
igrach2 is not online. igrach2
Joined: 09 Mar 2017
Total Posts: 252
28 Aug 2017 03:19 PM
wait(2)
for i,v in ipairs(workspace.Exterior:GetChildren())do
v.Transparency=1
end
Report Abuse
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
28 Aug 2017 03:33 PM
The same thing :/ anyone else? but thanks.
Report Abuse
FluentLua is not online. FluentLua
Joined: 03 Oct 2011
Total Posts: 1245
28 Aug 2017 03:35 PM
function invisible(model)
for i,v in pairs(model:GetChildren()) do
wait()
if v:IsA("Model") then
invisible(model)
elseif v:IsA("BasePart") then
v.Transparency = 1
end
end
end
end

invisible(game.Workspace)

if theres a lot of parts, it may take a few seconds to minutes to run.


#code Do not give up; the beginning is always the hardest part.
Report Abuse
FluentLua is not online. FluentLua
Joined: 03 Oct 2011
Total Posts: 1245
28 Aug 2017 03:38 PM
function invisible(model)
for i,v in pairs(model:GetChildren()) do
wait()
if v:IsA("Model") then
invisible(v)
elseif v:IsA("BasePart") then
v.Transparency = 1
end
end
end
end

invisible(game.Workspace)


fixed something


#code Do not give up; the beginning is always the hardest part.
Report Abuse
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
28 Aug 2017 03:46 PM
Thanks a lot! i've tried to make it work with a click of a button but it didnt work out sadly. could it be possible to make it Local? so only 1 Player sees it disappear after clicking the button? just asking!
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