|
| 04 Sep 2012 12:44 AM |
table = {"GreenDay987"; "Prehistoricman"; "moryo7"} function onTouched(hit) for i, v in pairs (table) do return v end if hit.Parent.Name == (v) then x = game.Workspace:FindFirstChild("Part") x.CFrame = CFrame.new(.9, .9, .9) m = Instance.new("Message", game.Workspace) m.Text = hit.Parent.Name.." broke this place" else hit.Parent:BreakJoints() end end
I feel I messed it up somehow... |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Sep 2012 12:49 AM |
| I'm posting it here for a reason. I don't have internet on my laptop so im using studio offline and posting this through iPhone 4G. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 12:54 AM |
| So I can't test this because it uses a touched event. |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Sep 2012 11:34 AM |
| Does no one know if this is right or not or are people just refusing to post on my thread... :/ |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 11:35 AM |
for i, v in pairs (table) do return v end
What. Is. This. Anyway, it looks like it works, I am not going to test it though :P. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 11:45 AM |
I knew I messed something up :/
Its supposed to check if the player who touched a brick is accepted through a table, and if he is, change the CFrame of all parts to .9, .9, .9 and make a message saying "playername broke this place". If he isn't accepted, he gets his joints broken. |
|
|
| Report Abuse |
|
|
GiverLol
|
  |
| Joined: 20 Dec 2010 |
| Total Posts: 810 |
|
|
| 04 Sep 2012 12:08 PM |
| Can't you just use Player Solo mode? |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 01:56 PM |
y u no ask me GreenDay? I fix all of your problems :)
table = {"GreenDay987", "Prehistoricman", "moryo7"} --never use semicolons, they are bad for your diet function onTouched(hit) IsInTable = false for i, v in pairs(table) do --[[return v-------------WTF IS THIS??? end]] if hit.Parent.Name == v then --lolwut brackets IsInTable = true x = game.Workspace:FindFirstChild("Part") x.CFrame = CFrame.new(.9, .9, .9) m = Instance.new("Message", game.Workspace) m.Text = hit.Parent.Name.." broke this place" --[[else hit.Parent:BreakJoints()]] -----nope end end if not IsInTable then hit.Parent:BreakJoints() end end |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 05:43 PM |
| Thanks, Preh. I knew I messed something up :/ |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 05:44 PM |
iPhones aren't 4g.... o.O
†KMXD† |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 04 Sep 2012 05:46 PM |
Why aren't I in the table, greenday :O?
Btw, I know this is off topic but did you start school yet? |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 05:51 PM |
Would this work with roblox card you get robux 400$ what
|
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 05:52 PM |
^^ leave troll
~Don't get mad as to what I said, get mad at me as a person |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 05:54 PM |
How do you get robux I want like 10000000,00000000,0000000,0000 ye cool |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2012 09:06 PM |
@miz
Its a table for the developers of The Collapse :P
But in the future I'll remember to add you anyway :D |
|
|
| Report Abuse |
|
|