|
| 07 Jul 2012 10:57 PM |
| Is it possible, and if it is I will pay 250 robux for a WORKING script. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 11:18 PM |
No one here will give you the script (barring highly unusual circumstances). The only response you are likely to get is flames.
Yes, it is possible. It involves comparing the MeshId of hat meshes to a table. Go to scripting helpers for more.
-God Bless- |
|
|
| Report Abuse |
|
|
ZackZak
|
  |
| Joined: 26 Jul 2009 |
| Total Posts: 2811 |
|
| |
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 08 Jul 2012 12:35 AM |
I'm a highly unusual circumstance:
bannedhats = {"http://www.roblox.com/asset/?id=19999424"} --We all hate shag
game.Players.PlayerAdded:connect(function(ply) char = ply.CharacterAdded:wait() for k,v in pairs(char:GetChildren()) do if v:IsA("Hat") then local mesh = v:FindFirstChild("Mesh",true) for a,b in pairs(bannedhats) do if mesh.MeshId == b then ply:Destroy() end end end end end)
Maybe some errors you know |
|
|
| Report Abuse |
|
|
Combrad
|
  |
| Joined: 18 Jul 2009 |
| Total Posts: 11025 |
|
|
| 08 Jul 2012 03:21 AM |
@Lombard, why not ban them by there in-game names. #1 She'll find it easier to get the names, rather than assets. #2 It requires a shorter script. |
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 08 Jul 2012 03:59 AM |
| Lombardo won the game. I hate that shirt. It's typical 13-yr-old boy hair who is too awkward to get a nice haircut. |
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 08 Jul 2012 04:00 AM |
| Did I say shirt? I meant hat. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 04:01 AM |
@Ozzypig
:O
I was about to correct you, when I went to look at the link and when I went back to the thread, I noticed you had corrected yourself...
:( |
|
|
| Report Abuse |
|
|
iCookieNL
|
  |
| Joined: 24 May 2009 |
| Total Posts: 1103 |
|
|
| 08 Jul 2012 04:01 AM |
@ozzy
Did you mean 'Hat' instead of 'Shirt' ? |
|
|
| Report Abuse |
|
|
Avolition
|
  |
| Joined: 20 Apr 2011 |
| Total Posts: 708 |
|
|
| 08 Jul 2012 05:59 AM |
@Ozzy
Why'd you say shirt? You mean hat..? |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 06:07 AM |
| Ad everybody leaps on ozzy for a mistake. |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 08 Jul 2012 06:32 AM |
y did u do that lawmbordey!!!1
she's just using it to ban boys from her game...look at her profile. |
|
|
| Report Abuse |
|
|
EMAN381
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 4300 |
|
|
| 08 Jul 2012 07:10 AM |
@lombard
:FindFirstChild(Object,true)?!!!!!!!!!!
Oh my god, I have just learned something really useful today. |
|
|
| Report Abuse |
|
|
| |
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 08 Jul 2012 07:18 AM |
| Banning boys? Haha! This is absolutely hilarious. Well, I guess you can expect this from prepubescent girls. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 07:39 AM |
@eman
only now you knew that existed? ¬_¬ |
|
|
| Report Abuse |
|
|
EMAN381
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 4300 |
|
|
| 08 Jul 2012 08:00 AM |
@trapping
Yes..? I've never saw anybody use it ever until this day, July 8th, 2012. |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 08 Jul 2012 08:34 AM |
.. Too long. Edit:
workspace.DescendantAdded:connect(function(d) local m = d:FindFirstChild("Mesh", true) local p = game.Players:playerFromCharacter(d) or game.Players:PlayerFromCharacter(d.Parent) if p then for _, v in ipairs(bannedhats) do p.Parent = (p.Parent and m ~= v or nil) end end end) |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 08 Jul 2012 08:35 AM |
workspace.ChildAdded:connect(function(d) local m = d:FindFirstChild("Mesh", true) local p = game.Players:playerFromCharacter(d) if p then for _, v in ipairs(bannedhats) do p.Parent = (p.Parent and m ~= v or nil) end end end)
what was I thinking. |
|
|
| Report Abuse |
|
|