myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 27 Aug 2011 01:34 PM |
Does, if it hits multiple bricks, return multiple hits or will it return the first hit or...?
Official alt from myrco919 (RBX.)Lua isn't hard, it's just that you make it hard. |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 27 Aug 2011 01:34 PM |
Most likely the first hit.
~IT'S FREEEEEEEE!!!!! |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
| |
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 27 Aug 2011 01:36 PM |
Why do you say most likely? Does it sometimes bug or so?
Official alt from myrco919 (RBX.)Lua isn't hard, it's just that you make it hard. |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
| |
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 27 Aug 2011 01:39 PM |
Try to return something like this:
if hit.Parent:IsA("Hat") then local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent.Parent) else local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent) end
Official alt from myrco919 (RBX.)Lua isn't hard, it's just that you make it hard. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 01:41 PM |
Easiest way: script.Parent.PlayerAdded.connect:function(anothernoobinmyplace) anothernoobinmyplace.Hat:Remove() end TrollScripters() end |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
| |
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 27 Aug 2011 02:48 PM |
Or you could make a table with the items that will be ignored, exclusive hats if you want that, and then pew pew!
Official alt from myrco919. (RBX.)Lua isn't hard, it's just that you make it hard. Feel free to use my new url seperator! http://www.roblox.com/Url-seperater-item?id=60427947 |
|
|
| Report Abuse |
|
|