So what im trying to do is basiclly a fireball move. Not gonna give the whole script,but heres a line.
local Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
local Char = Player.Character
I tried on local script but it says that 'Char' is a nil value,Why? You probably see what im trying to do.
Basiclly its giving this error about local "Player" And its ruining the whole thing,it works on the studio but not here. Anyone know an answer?

3 comments
We need to have the whole script to see what lines reference players and or othererrors
Kristi, without the rest of the script we can't do anything to find an error. in the Output tab, it should give you something that looks like "Workspace.scriptParent.Script:40: Error Description" What does that say? that will give you which line the code is having the problem with, and would allow us to look into it more. Otherwise, maybe try creating that variable on playerAdded.
Okay ill give the whole script,i usually dont because people would steal my creations,anyways.