I am trying to make it so before the explosion is inserted into the game it gives the user of the tool a forcefield. the entire script is ok except the one line on inserting the FF. Here is the chunk of the script I am having problems with -
local dir = (target - torso.Position) * Vector3.new(1, 0, 1)
newBV = nil
if dir.magnitude > .01 then
-- make 'em dash forwards too
dir = dir.unit
intance.new(ForceField).Character.Torso --This line is the one that is not working.
newBV = Instance.new("BodyVelocity")
newBV.P = 100000
newBV.maxForce = Vector3.new(newBV.P, 0, newBV.P)
newBV.velocity = dir * 50
newBV.Parent = torso
torso.CFrame = CFrame.new(torso.Position, target * Vector3.new(1, 0, 1) + Vector3.new(0, torso.Position.Y, 0))
end

3 comments
No it is still saying the line below it is wrong so it is still wrong
What does it say in the Output? Also, I forgot to include quotes on ForceField.
For this, it would be: Instance.new("ForceField", Character.Torso)