local Tool = script.Parent
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local ContextActionService = game:GetService("ContextActionService")
function MoveDown()
local NewCFrame = Camera.CFrame * CFrame.new(5,0,0)
Camera.CFrame = NewCFrame
end
Tool.Activated:Connect(function()
Camera.CameraType= "Scriptable"
Camera.CFrame = CFrame.new(Vector3.new(0,10,0),Vector3.new(0,0,0))
ContextActionService:BindAction("MoveCamera1",MoveDown(),true,Enum.KeyCode.S)
end)
The error says Argument 2 missing or nil so i would assume that it thinks the funtion is nil i guess pls help

5 comments
CODE BLOCK pls
what is code block?
click the lua icon to format your code in lua (put your code in that block made of lines)
ok
i code blocked it refresh