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 » Scripting Helpers
Home Search
 

Re: How to put a SelectionBox on a brick

Previous Thread :: Next Thread 
dragonman4728 is not online. dragonman4728
Joined: 10 May 2009
Total Posts: 2645
02 Nov 2013 09:42 PM
I want a neon type brick.
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
02 Nov 2013 09:44 PM
bob = Instance.new("SelectionBox")
bob.Parent = brick
bob.Adornee = brick

im not sure if the adornee is auto set to its parent but ill assume it isnt
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
02 Nov 2013 09:46 PM
Actually I believe SelectionBoxes are supposed to be parented with the playergui, but let me double check.

~The alpaca of the acting world.
Report Abuse
dragonman4728 is not online. dragonman4728
Joined: 10 May 2009
Total Posts: 2645
02 Nov 2013 09:46 PM
Srry
Me=Noob

What do I put in for bob

The brick name Im using is "Neonbrick" and I want it to be Cyan
Report Abuse
Lamboreborn is not online. Lamboreborn
Joined: 19 Jun 2009
Total Posts: 191
02 Nov 2013 09:47 PM
I think putting it into PlayerGui just makes the outline available to only you.
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
02 Nov 2013 09:48 PM
^ yeah you're right. It can be parented wherever, but it does work in the playergui locally.

~The alpaca of the acting world.
Report Abuse
Lamboreborn is not online. Lamboreborn
Joined: 19 Jun 2009
Total Posts: 191
02 Nov 2013 09:49 PM
bob.Color = BrickColor.new("Cyan")

You can change cyan to anything you want.
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
02 Nov 2013 09:49 PM
yeah it doesnt NEED to be in startergui,

try my script on an SB, it turns all of the players into holograms!

:s
for i,v in pairs(game.Players:GetChildren()) do for x,y in pairs (v.Character:GetChildren()) do if y:IsA("Part") then y.Transparency = 1 local bob = Instance.new("SelectionBox") bob.Parent = y bob.Adornee = y end end end

Report Abuse
dragonman4728 is not online. dragonman4728
Joined: 10 May 2009
Total Posts: 2645
02 Nov 2013 09:50 PM
FDFLDHJL

-Sorry for being a noob but
WTF IS BOB. _ .
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
02 Nov 2013 09:54 PM
bob is what i have called the selectionbox you can call it whatever you like.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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