So i have a move that shoots an object. The object is a clone from an object in the workspace. I wanted make the object face the way i wanted it to from anyagnle its shot from as if it wasnt even cloned.

here is the script:

local Tool = script.Parent


Tool.RemoteEvent.OnServerEvent:Connect(function(Player, Debounce)
	local Character = Player.Character
	local hum = Character.Humanoid
	Debounce = true
	local GetSugaTensho = game.Workspace["Getsuga tensho"]:Clone()
	GetSugaTensho.CFrame = Tool.Handle.CFrame
	GetSugaTensho.Anchored = false
	GetSugaTensho.CanCollide = false
	GetSugaTensho.Parent = Character
	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)

3 comments

0

short answer : Cframe.new(pos,lookat)

0

Add this under GetSugaTensho: GetSugaTensho.Orientation = Vector3.new(Rotation Degree Wanted)

0

i already tried that but it didnt work cause everytime i faced a different direction, it faced differently