I am making a tool shoot something and its not facong the way i want it to from every angle cause its cloned. Is there a way to to fix this and make it shoot the way i want it to?

script:

local Tool = script.Parent


Tool.RemoteEvent.OnServerEvent:Connect(function(Player, Debounce)
	local Character = Player.Character
	Debounce = true
	local GetSugaTensho = game.Workspace["Getsuga tensho"]:Clone()
	GetSugaTensho.CFrame = Tool.Handle.CFrame
	GetSugaTensho.Anchored = false
	GetSugaTensho.CanCollide = false
	local Bv = Instance.new("BodyVelocity")
	Bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
	Bv.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 50
	Bv.Parent = GetSugaTensho
end)

2 comments

0

help

0

use the CFrame constructor; CFrame.new(Vector3 pos, Vector3 lookAt)