after some hard thoughts i decided to switch my throwing script to bodypos. i have managed to make it able to throw, but it will not return.
i’m not asking too much, but here is what i thought would work, but isn’t although it is not returning any errors.
local bp = Instance.new("BodyPosition")
bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bp.Position = character.HumanoidRootPart.CFrame.LookVector * 200
bp.P = 300
bp.Parent = axeclone
local bav = Instance.new("BodyAngularVelocity")
bav.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
bav.AngularVelocity = axeclone.CFrame:VectorToWorldSpace(Vector3.new(25,15,10))
bav.Parent = axeclone
game.ReplicatedStorage.ClientAxe:FireAllClients(axeclone, axe.Parent)
axeclone.Touched:Connect(function(touched)
if touched.Transparency < 1 and not axe.Parent:IsAncestorOf(touched) then
local humanoid = touched.Parent:FindFirstChild("Humanoid") or touched.Parent.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid:TakeDamage(25)
end
axeclone.Anchored = true
wait(1)
axeclone:Destroy()
end
end)
wait(1)
bp = handle.Position
wait(0.5)
axeclone:Destroy()
handle.Transparency = 0
wait(1)
isCooldown = false
end)
this is what the concept is:
https://i.gyazo.com/2632496a14e0609b4c114aed2835fd6b.gif
this is what happens:
https://i.gyazo.com/c6c6ecc6145390965be39658a2eb7271.mp4
hope it helps!