Title is self explanatory. The missile object is frozen in space for a split second and then starts seeking its target. How do I get rid of this split second wait time and the activation of the missile?
Code:
local newMissile = missileObject:Clone()
newMissile.Parent = workspace.FX
newMissile.CFrame = firePoint.CFrame
local prop = Instance.new("RocketPropulsion", newMissile)
prop.Target = target.Value
prop.MaxSpeed = SPEED
prop.MaxThrust = config.MaxThrust
prop.TurnP = config.TurnP
prop.TurnD = config.TurnD
prop.ThrustP = config.ThrustP
prop.ThrustD = config.ThrustD
prop.CartoonFactor = 0
prop.TargetRadius = 3
prop:Fire()
newMissile.Transparency = 0
prop.ReachedTarget:Connect(function()
print("Boom!")
newMissile:Destroy()
end)