I'm making a fps game and all i get is a bullet facing the wrong direction here is some footage
and here is the code
Mouse.Button1Down:Connect(function() local BulletRay = Ray.new(Weapon.Shoot.CFrame.p,Weapon.Shoot.CFrame.LookVector * 500) local Part,Position,Normal = workspace:FindPartOnRayWithIgnoreList(BulletRay,{Character,Weapon}) local Distance = (Weapon.Shoot.CFrame.p-Position).magnitude local Bullet = Instance.new("Part",workspace.World.DebrisItems) Bullet.Anchored,Bullet.CanCollide = true,false Bullet.BrickColor = BrickColor.new("Institutional white") Bullet.Material = Enum.Material.Neon Bullet.Transparency = .3 Bullet.Size = Vector3.new(.3,.3,Distance) Bullet.CFrame = CFrame.new(Weapon.Shoot.CFrame.p,Position) * CFrame.new(0,0,-Distance/2) game.Debris:AddItem(Bullet,10) end)
is there any way i can fix it?