I'm making a client sided projectile and I'm having trouble with the body velocity I get the attempt to index nil with 'Hit' and this is what happens: https://gyazo.com/10243f8826e6d370a585c2e717a000a7
Here's my code:
local mouse = plr:GetMouse()
local bv = Instance.new("BodyVelocity")
bv.Name = "FireballBv"
bv.Velocity = mouse.Hit.lookVector * 100
bv.MaxForce = Vector3.new(1e8,1e8,1e8)
bv.Parent = Fireball
the player is defined when the client receives a remote signal
if you need me to provide more code just ask for it
