-- Listen for player character spawns

game:GetService("Players").PlayerAdded:Connect(function(player)
	-- Get the player's humanoid
	local humanoid = player.Character:WaitForChild("Humanoid")

	-- Define a variable to store the current walk speed
	local currentSpeed = humanoid.WalkSpeed

	-- Increase the player's walk speed every second
	while true do
		wait(1)
		currentSpeed = currentSpeed + ACCELERATION
		if currentSpeed > MAX_WALK_SPEED then
			currentSpeed = MAX_WALK_SPEED
		end
		humanoid.WalkSpeed = currentSpeed
	end
end)
print("Hello world!")
