Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
|
| 27 May 2013 08:21 PM |
function Touch(hit) if hit ~= nil then
hit.Parent.Humanoid.Health = 0
script.Parent.Color = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
script.Parent.Position = Vector3.new(math.random(0, 20), math.random(0, 20), math.random(0, 20))
b = Instance.new("Message, workspace") b.Text = ("Someone has touched the brick!") wait(5) b:Remove()
end end script.Parent.Touched:connect(Touch) |
|
|
| Report Abuse |
|
|
|
| 27 May 2013 08:26 PM |
| Color3 takes values from 0 to 1, not 0 to 255. |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 27 May 2013 08:39 PM |
I personally hate how LuaLearners teaches people how to use functions that you're gonna connect to an event.
Life is an endless nightmare |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 27 May 2013 08:41 PM |
| ^ The whole tutorial system is being remade. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
| |
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 27 May 2013 08:52 PM |
Thank God.
Life is an endless nightmare |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 27 May 2013 08:54 PM |
| and i just put in a teacher application today XD |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
| |
|
|
| 27 May 2013 08:57 PM |
I haven't been on LL in a while. I was a Teacher +3. I dunno about now. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 27 May 2013 09:08 PM |
CULER = {"Bright blue", "Bright red", "Bright yellow"} --EVERY GOOD SCRIPT NEEDS A TABLE. http://www.roblox.com/UnBuild-Lover-of-tables-item?id=112713648 BOUNCE_BRO = true
function U_TOUCHED_ME_FITE_ME_IRL_NOB(TOUCHER) math.randomseed(tick()) if TOUCHER and TOUCHER.Parent ~= nil then
for KEEL_THAT_HUMANOID = 1,#TOUCHER.Parent:GetChildren() do --FOR LOOP TO MAKE SURE YOU GET IT if TOUCHER.Parent:GetChildren()[KEEL_THAT_HUMANOID]:IsA("Humanoid") then TOUCHER.Parent:GetChildren()[KEEL_THAT_HUMANOID].Health = 0 TOUCHER.Parent:BreakJoints() --YOU CAN NEVER BE TO SURE end end TOUCHER:BreakJoints() --YOU CAN NEVER BE TO SURE
script.Parent.BrickColor = BrickColor.new(CULER[math.random(1,#CULER)]) script.Parent.Position = Vector3.new(math.random(0, 20), math.random(0, 20), math.random(0, 20))
if BOUNCE_BRO then BOUNCE_BRO = false MSG = Instance.new("Message",workspace) MSG.Text = "Y U TOUCH ME NOB? FITE ME. DIE." Game:GetService("Debris"):AddItem(MSG,3) wait(3) BOUNCE_BRO = true end
end end script.Parent.Touched:connect(U_TOUCHED_ME_FITE_ME_IRL_NOB) |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
| |
|
sTvcs
|
  |
| Joined: 24 Jun 2012 |
| Total Posts: 704 |
|
|
| 27 May 2013 09:09 PM |
| Teaching how to do something is more important that teaching specific ways to overcome something, please at least learn to teach. |
|
|
| Report Abuse |
|
|