local m=nil local M=nil if UIS.TouchEnabled then m=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")m.Name="\079\110\067\108\105\099\107\084\111\077\111\118\101\070\097\105\108\083\116\097\116\101\067\104\097\110\103\101"M=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")M.Name="\069\110\097\098\108\101\084\111\117\099\104\074\117\109\112"local d=script.Parent local X=d.Parent m.Parent=X M.Parent=X end local function d(m,M,d)return d>M and M or d<m and m or d end

local BindableEvent_OnFailStateChanged = nil
local BindableEvent_EnableTouchJump = nil
if UIS.TouchEnabled then
	BindableEvent_OnFailStateChanged = Instance.new('BindableEvent')
	BindableEvent_OnFailStateChanged.Name = "OnClickToMoveFailStateChange"
	BindableEvent_EnableTouchJump = Instance.new('BindableEvent')
	BindableEvent_EnableTouchJump.Name = "EnableTouchJump"
	local CameraScript = script.Parent
	local PlayerScripts = CameraScript.Parent
	BindableEvent_OnFailStateChanged.Parent = PlayerScripts
	BindableEvent_EnableTouchJump.Parent = PlayerScripts
end

local function clamp(low, high, num)
	return (num > high and high or num < low and low or num)
end
