Player=Players.LocalPlayer Camera=workspace.CurrentCamera isMobile=UserInputService.TouchEnabled DirectionalKeys={Enum.KeyCode.W,Enum.KeyCode.S,Enum.KeyCode.A,Enum.KeyCode.D}LastDirectional=tick()Locked=false local R local C
--- VARIABLES/CONSTANTS ---

Player = Players.LocalPlayer
Camera = workspace.CurrentCamera

isMobile = UserInputService.TouchEnabled

DirectionalKeys = { Enum.KeyCode.W, Enum.KeyCode.S, Enum.KeyCode.A, Enum.KeyCode.D }
LastDirectional = tick()

Locked = false

local Mobile
local LastKeyDown
