|
| 31 Dec 2010 10:25 PM |
Whats the matter here..
character = script.Parent.Parent.Parent.Character
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) local key = key:lower if key == "q" then local p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) o.KeyUp:connect(function(key) p:remove() end) end) end end end) |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
| |
|
|
| 31 Dec 2010 10:27 PM |
| Workspace.FireCharge .Script:7: function arguments expected near 'if' |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 31 Dec 2010 10:28 PM |
would
if key = "q" then
work? |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2010 10:29 PM |
| Nope it has to be comparing.. |
|
|
| Report Abuse |
|
|
magnalite
|
  |
| Joined: 18 Oct 2009 |
| Total Posts: 2467 |
|
|
| 31 Dec 2010 10:32 PM |
character = script.Parent.Parent.Parent.Character
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) local key = key:lower if key == "q" then local p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) o.KeyUp:connect(function(key) p:remove() else end) end) end end end)
i hate it when roblox spazzes up, try that... |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 01 Jan 2011 09:08 AM |
Added weld but i still wont work..
character = script.Parent.Parent.Parent.Character
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) local key = key:lower if key == "q" then local p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 local w = Instance.new("Weld") w.Parent = character.Torso w.Part1 = p w.Part0 = character.Torso while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) o.KeyUp:connect(function(key) p:remove() end) end) end end end) |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2011 09:10 AM |
| Im sick of talking to myself.. |
|
|
| Report Abuse |
|
|
| |
|
bloob827
|
  |
| Joined: 01 Aug 2010 |
| Total Posts: 6867 |
|
|
| 01 Jan 2011 09:22 AM |
:lower() is a method.
character = script.Parent.Parent.Parent.Character
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) key = key:lower() if key == "q" then p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) end end o.KeyUp:connect(function(key) p:remove() end) end) end) |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2011 09:26 AM |
| IM SUCH A FLIPPIN KLASDFNSDJO;ASDNO;KNGDO;NKO'DSMAK'NMADSLAK'! HOW COULD HAVE NOT SEEN THAT! |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2011 09:28 AM |
Workspace.FireCharge .Script:23: unexpected symbol near ')'
character = script.Parent.Parent.Parent.Character
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) local key = key:lower() if key == "q" then local p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 local w = Instance.new("Weld") w.Parent = character.Torso w.Part1 = p w.Part0 = character.Torso while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) o.KeyUp:connect(function(key) p:remove() end) end) end end end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Meriadoc
|
  |
| Joined: 24 Sep 2008 |
| Total Posts: 710 |
|
|
| 01 Jan 2011 09:39 AM |
Ends:
end) end end end) end)
I think..
Scripts are hard to read on the forum. =/ |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2011 09:42 AM |
...
character = script.Parent.Parent.Parent.Character
Sat Jan 01 10:42:08 2011 - Character is not a valid member of DataModel
script.Parent.Selected:connect(function(o) o.KeyDown:connect(function(key) local key = key:lower() if key == "q" then local p = Instance.new("Part") p.Parent = game.Workspace p.Size = Vector3.new(1,1,1) p.Position = character.Torso.Position p.BrickColor = BrickColor.new("Toothpaste") p.Shape = 1 local w = Instance.new("Weld") w.Parent = character.Torso w.Part1 = p w.Part0 = character.Torso while wait(9) do p.Size = p.Size + Vector3.new(2,2,2) o.KeyUp:connect(function(key) p:remove() end) end end end) end)
|
|
|
| Report Abuse |
|
|
Meriadoc
|
  |
| Joined: 24 Sep 2008 |
| Total Posts: 710 |
|
|
| 01 Jan 2011 09:48 AM |
I have off days too?
Where is this script? |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Jan 2011 10:03 AM |
| BUMP FOR THE BILLIONTH TIME. |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2011 10:04 AM |
| Look at my post. I bumped at least 10 times. |
|
|
| Report Abuse |
|
|
bloob827
|
  |
| Joined: 01 Aug 2010 |
| Total Posts: 6867 |
|
| |
|
|
| 01 Jan 2011 10:05 AM |
| I have bumped 16 times! this post was from last night! |
|
|
| Report Abuse |
|
|