So, I am in need of some help on this script that tilts my camera when you press Q. It won't work now for some reason. Any help will be highly appreciated!
local UIS = game:GetService("UserInputService")
local TS = game:GetService("TweenService")
local Camera = workspace.CurrentCamera
UIS.InputBegan:Connect(function(Key, Event)
if Event then return end
if Key.KeyCode == Enum.KeyCode.Q then
Camera.CFrame = Camera.CFrame * CFrame.Angles(0,0,math.rad(90))
end
end)
I've got some basic code to do this but nothing happens.
