of     1   

EMAN381
#36289141Sunday, October 31, 2010 2:30 PM GMT

Tool = script.Parent x = script.Parent.batteryv --A number value player = game.Players:findFirstChild("" ..Tool.Parent.Name) --But it is not a nil value! Player is already tagged correctly. wait(6) if x.Value ~= 1 then script.Parent.Handle2.Transparency = 1 wait() script.Parent.guiscript.Disabled = true wait() player.PlayerGui.ScreenGui.ImageLabel.BackgroundTransparency = .25 --It's keep saying this: "Workspace.Flashlight.battery:13: attempt to index global 'player' (a nil value)" wait() x.Value = 0
4camera
#36289499Sunday, October 31, 2010 2:38 PM GMT

Tool = script.Parent x = script.Parent.batteryv --A number value wait(6) if x.Value ~= 1 then script.Parent.Handle2.Transparency = 1 wait() script.Parent.guiscript.Disabled = true wait() game.Players[Tool.Parent.Name].PlayerGui.ScreenGui.ImageLabel.BackgroundTransparency = .25 wait() x.Value = 0 --Maybe?

    of     1