Why won't the brick move up?
wait(.2)
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character.Humanoid
local mouse = player:GetMouse()
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.Z then
local Part = Instance.new("Part")
Part.Size = Vector3.new(9, 11, 1)
Part.BrickColor = BrickColor.new("Brown")
Part.Anchored = true
Part.CFrame = character.Head.CFrame * CFrame.new(0, -12, -5)
Part.Parent = game.Workspace
local bv = Instance.new("BodyVelocity")
bv.Parent = Part
bv.MaxForce = Vector3.new(1e8, 1e8, 1e8)
bv.Velocity = Vector3.new(0, 50, -5) * 100
end end)