function UpgradeManager.SetWalkspeedToCurrentUpgrade(F,f)local R=f:WaitForChild("\115\116\097\116\115")local q=R:WaitForChild(GameSettings.upgradeName)local k=R:WaitForChild(GameSettings.pointsName)local b=f.Character or f.CharacterAdded:wait()local Q=b:WaitForChild("\072\117\109\097\110\111\105\100")Q.WalkSpeed=GameSettings.movementSpeed(q.Value)end
-- Runs to modify the player after they've gotten an upgrade
function UpgradeManager:SetWalkspeedToCurrentUpgrade(player)
	local stats = player:WaitForChild("stats")
	local playerUpgrades = stats:WaitForChild(GameSettings.upgradeName)
	local points = stats:WaitForChild(GameSettings.pointsName)

	--Change the players movement speed
	local character = player.Character or player.CharacterAdded:wait()
	local humanoid = character:WaitForChild("Humanoid")
	humanoid.WalkSpeed = GameSettings.movementSpeed(playerUpgrades.Value)
end
