generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help..

Previous Thread :: Next Thread 
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
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 is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
31 Dec 2010 10:26 PM
output?
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
31 Dec 2010 10:27 PM
Workspace.FireCharge .Script:7: function arguments expected near 'if'
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
31 Dec 2010 10:28 PM
would

if key = "q" then

work?
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
31 Dec 2010 10:29 PM
Nope it has to be comparing..
Report Abuse
magnalite is not online. 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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
31 Dec 2010 10:53 PM
That wont work..
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 08:10 AM
.. BAWMPERZLY ..
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 08:59 AM
BUMP!
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:10 AM
Im sick of talking to myself..
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:15 AM
Someone?!?!?!
Report Abuse
bloob827 is not online. 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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:26 AM
IM SUCH A FLIPPIN KLASDFNSDJO;ASDNO;KNGDO;NKO'DSMAK'NMADSLAK'! HOW COULD HAVE NOT SEEN THAT!
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:33 AM
HALP!
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:38 AM
SOMEONE!
Report Abuse
Meriadoc is not online. 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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
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 is not online. 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
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 09:58 AM
in a hopperbin.
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 10:03 AM
BUMP FOR THE BILLIONTH TIME.
Report Abuse
RevolutionTiger is not online. RevolutionTiger
Joined: 06 Mar 2010
Total Posts: 1174
01 Jan 2011 10:04 AM
Look at my post. I bumped at least 10 times.
Report Abuse
bloob827 is not online. bloob827
Joined: 01 Aug 2010
Total Posts: 6867
01 Jan 2011 10:05 AM
Did you try mine? >.>
Report Abuse
YodaimeKing is not online. YodaimeKing
Joined: 01 Nov 2009
Total Posts: 3961
01 Jan 2011 10:05 AM
I have bumped 16 times! this post was from last night!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image