I'm currently getting a problem in my script where a BodyVelocity gets a direction and everything and it works fine when no in a server. But in a server it doesn't work. The error is apparently on the line where i determine the direction a blast should go. This code is inside a server script.
Script:
local BV = Instance.new("BodyVelocity") BV.Parent = Blast BV.maxForce = Vector3.new(math.huge, math.huge, math.huge) local direction = -(Blast.Position - player:GetMouse().Hit.p) BV.Velocity = direction.unit * 80
Any help?