-- Connections

UserInputService.DeviceAccelerationChanged:Connect(changeAcceleration)

clickButton.Activated:Connect(function(input, gameProcessed)
	if cooldown then return end
	if isInTutorial() then return end

	local inputType = input.UserInputType 
	if inputType == Enum.UserInputType.MouseButton1 or inputType == Enum.UserInputType.Touch then
		registerMovement()
		UpdatePoints:FireServer(1)
	end
end)

controller.CooldownFinished:Connect(function()
	if not cooldown then return end
	cooldown = false
	clickButton.Image = "rbxassetid://5301573747"
end)

