Hey i need help with i a script so im following a tutorial but ive ran into a problem its supposed to be a fireball tool type thing but the fireballs just go to 0,0,0 here is the script
local debris = game:GetService("Debris")
local debounce = true
script.Parent.Activated:Connect(function()
if debounce == true then
debounce = false
local fireball = game.ServerStorage.Handle:Clone()
fireball.owner.Value = script.Parent.Parent.Name
fireball.dmg.Value = script.Parent.dmg.Value
fireball.CFrame = CFrame.new(script.Parent.Handle.Position)
fireball.BodyPosition.Position = Vector3.new(0,script.Parent.Handle.Position.Y,0)
fireball.BodyForce.Force = script.Parent.Parent.HumanoidRootPart.CFrame.lookVector * script.Parent.speed.Value
fireball.Parent = game.Workspace
debris:AddItem(fireball,5)
wait(script.Parent.Cooldown.Value)
debounce = true
end
end)