--Mobile

local jumpButton
if uis.TouchEnabled then
	pcall(function()
		jumpButton = player:WaitForChild("PlayerGui"):WaitForChild("TouchGui"):WaitForChild("TouchControlFrame"):WaitForChild("JumpButton")
	end)
end
if jumpButton ~= nil then
	jumpButton.MouseButton1Down:Connect(ToggleFlying)
end
