When i spawn an object next to the character, the object looks down.

https://ibb.co/GvZswvc https://ibb.co/CHwPWpt

--Code

game.ReplicatedStorage.RemoteEvent.AirPush.OnServerEvent:Connect(function(Player)

local Character = Player.Character or Player.CharacterAdded:Wait()

local smasha = game.Workspace.Part1:Clone()

smasha.Parent = workspace

smasha.CanCollide = false

smasha.Orientation = Vector3.new(90,0,0)

smasha.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(0,6,-6)

local BV = Instance.new("BodyVelocity")

BV.Velocity = Character.HumanoidRootPart.CFrame.lookVector*90

BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)

BV.Parent = smasha

end)

2 comments

0

Try removing the orientation line, you shouldn't need it when dealing with CFrames.

0

And without it does not work