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: Boombox & Speaker ban

Previous Thread :: Next Thread 
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 06:13 AM
Looking for a script that bans these to things from being placed in a PBS

Boombox
Speaker

I have a music gui so people can have their own music playing without everyone else hearing it. Yet people still use them.

I can't find one anywhere does anyone have one? If not can someone possibly make one for me? I'm not a scripter, so I would not be able to make one...
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 06:37 AM
Bump.
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
18 Oct 2014 07:48 AM
workspace.ChildAdded:connect(function(object)
if object.Name == "Speaker" or object.Name == "Boombox" then
object:Destroy()
end
end)

I have no idea what the Speaker/Boombox things are called
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 10:19 PM
I put it in a empty script and it did not work....

Can you make it into a model and link me to it? I probably did something wrong, I can't script.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:08 PM
Bump.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:09 PM
The script you gave me did not work. :P
Report Abuse
soniclover88888 is not online. soniclover88888
Joined: 01 Feb 2008
Total Posts: 6723
18 Oct 2014 11:10 PM
Go into your game and figure out the names of the Boombox and speaker (what studio refers to them as). Then replace the names.

i'm a spooky ghost
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:20 PM
I'm using the regular PBS tools, not any free model ones. Do I just go to the game and look at the name of it?
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:24 PM
Ok so I did that and there is 3.

"boombox"
"Boombox"
"Speaker"

The two boombox are located in different parts of the script and on has a capital and one has a lower case.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:31 PM
Bump.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
18 Oct 2014 11:56 PM
.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 04:07 AM
..
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 05:22 AM
:'c
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
20 Oct 2014 05:24 AM
can you just learn? Or is it to hard and you dont even want to try.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 05:26 AM
I have tried, it was to confusing to me. I watch a bunch of youtube videos and read a bunch. I could not figure much of anything out.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
20 Oct 2014 05:37 AM
How i learned was literally just taking a free model, looking at the script i want, and copying it down onto another script.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 05:40 AM
That's not scripting, thats just copying...

There is no free models like this anyway. q.q
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 05:41 AM
I have taken script that ban stuff like cars or gear from PBS and just changed that to the speakers, but that did not work. I have tried everything I could think of, that's why I posted here asking for help.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 05:45 AM
Bump.
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 06:07 AM
:c
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 06:47 AM
Bump...
Report Abuse
leozap is not online. leozap
Joined: 06 Aug 2012
Total Posts: 16349
20 Oct 2014 01:30 PM
.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
20 Oct 2014 01:43 PM
"That's not scripting, thats just copying..."

When you copy down notes in class, are you really just copying?
No.
You're learning.
Report Abuse
soniclover88888 is not online. soniclover88888
Joined: 01 Feb 2008
Total Posts: 6723
20 Oct 2014 01:49 PM
This man has a legitimate issue and it is one that he cannot figure out. It would be best of you if you did not pester him, and instead do as intended with the scripting helpers forum.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
20 Oct 2014 04:27 PM
omg

function isheholdingsomethingbanned(Player)
if Player.StarterGear.BoomBox(orwatever) then
a = Player.StarterGear.BoomBox:Destroy()
end
Game.Players.PlayerAdded:connect(isheholdingsomethingbanned)

that might work.
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