local Game = game
local Workspace = workspace
local UserInputService = Game:GetService("UserInputService")
local Part = Workspace:WaitForChild("Part")
local function OnInputBegan(InputObject, GameProcessed)
if GameProcessed then return end
local Input = InputObject.KeyCode.Name
if Input == "E" then
Part.CFrame *= CFrame.Angles(0, math.pi / 2, 0)
elseif Input == "Q" then
Part.CFrame *= CFrame.Angles(0, -math.pi / 2, 0)
end
end
UserInputService.InputBegan:Connect(OnInputBegan)