--------------------------------------------------- Mobile Button


local function handleContext(name, state, input)
	if state == Enum.UserInputState.Begin then
		if CameraEffect == true then
			TweenService:Create(Camera, TweenInfo.new(0.5), {FieldOfView = 90}):Play()
		end
		Humanoid.WalkSpeed = SprintSpeed
	else
		if CameraEffect == true then
			TweenService:Create(Camera, TweenInfo.new(0.5), {FieldOfView = 70}):Play()
		end
		Humanoid.WalkSpeed = NormalWalkSpeed
	end
end

cas:BindAction("Sprint", handleContext, true, Leftc, RightC)
cas:SetPosition("Sprint", UDim2.new(.2, 0, .5, 0))
cas:SetTitle("Sprint", "Sprint")
cas:GetButton("Sprint").Size = UDim2.new(.3, 0, .3, 0)
