of     1   

DJSasuke1963
#139673501Tuesday, July 08, 2014 8:00 PM GMT

What is wrong with this script? Player = script.Parent.Parent mouse = Player:GetMouse() run = game:GetService("RunService") enable = false function onKeyDown(key) Key = key:lower() if key == "z" then if not enable then enable = true Shadow = game.Lighting.WeakWaterShadow:Clone() Shadow2 = game.Lighting.WeakWaterShadow:Clone() WeakWaterShadowDmg = script.WeakWaterShadowdmg:Clone() WeakWaterShadowDmg2 = script.WeakWaterShadowdmg:Clone() Shadow.CFrame = Player.Character.Torso.CFrame*CFrame.new(-10,0,0) Shadow2.CFrame = Player.Character.Torso.CFrame*CFrame.new(10,0,0) WeakWaterShadowDmg.Parent = Shadow WeakWaterShadowDmg2.Parent = Shadow2 Shadow.Parent = Workspace Shadow2.Parent = Workspace wait(5) game.Debris:AddItem(Shadow and Shadow2, 6) enable = false end end end It shows no errors but still does not work, It is in a localscript in StarterPack.
Xorand
#139673942Tuesday, July 08, 2014 8:05 PM GMT

You didn't connected the event to the function... Just add "mouse.KeyDown:connect(onKeyDown)" in the end.
DJSasuke1963
#139674051Tuesday, July 08, 2014 8:06 PM GMT

I love you, like seriously. Lol Thanks! :P :)
killjoy37
#139674089Tuesday, July 08, 2014 8:06 PM GMT

game.Debris:AddItem(Shadow and Shadow2, 6) should be made into two lines
Xorand
#139674735Tuesday, July 08, 2014 8:12 PM GMT

You're welcome. Maybe you could help me with my problem? :P http://www.roblox.com/Forum/ShowPost.aspx?PostID=139630070

    of     1