local Tool = script.Parent local UserInputService = game:GetService("UserInputService") local ContextActionService= game:GetService("ContextActionService") local Cam = workspace.CurrentCamera local function MoveForward() Cam.CFrame = Cam.CFrame*CFrame.new(5,0,0) end Tool.Equipped:Connect(function() while true do wait() if UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)then Cam.CameraType = Enum.CameraType.Scriptable Cam.CFrame = CFrame.new(Vector3.new(0,10,0),Vector3.new(0,0,0)) ContextActionService:BindActionAtPriority("MoveForward",MoveForward,false,Enum.KeyCode.W,2500) end end end)
it says the error is on line fifteen and i assume its talking about the last argument 2500 Also it says on the error message Unable to cast token int