You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I basically want to remove this delay when the npc throws a knife.
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes i did look on the hub. But didnt find anything usefull.
I tried setting the knifes network owner to the Player. That worked pretty good. But i ran into some problems with touched events after doing that. I also tried setting it to the server as you will see in the code. But that didnt fix anything.
local Clone = Handle:Clone()
Clone.Anchored = false
Clone.CFrame = CFrame.lookAt(script.Parent.HumanoidRootPart.Position, TARGET.Position)
Clone.Velocity = Clone.CFrame.lookVector * 100 + Vector3.new(0, 30, 0)
Clone.Parent = game.Workspace
Clone:SetNetworkOwner(nil)
Any help woud be really appreciated. Because i have been trying to fix this for a really long time now