local brainrot = script.Parent local speedBoost = 40 local normalSpeed = 16 local carrier = nil local function giveSpeed(player) local char = player.Character if not char then return end local hum = char:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = speedBoost end end local function removeSpeed(player) local char = player.Character if not char then return end local hum = char:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = normalSpeed end end brainrot.Touched:Connect(function(hit) local char = hit.Parent local hum = char:FindFirstChild("Humanoid") if not hum then return end local player = game.Players:GetPlayerFromCharacter(char) if not player or carrier then return end carrier = player brainrot.IsCarried.Value = true giveSpeed(player) end) brainrot.AncestryChanged:Connect(function() if carrier then removeSpeed(carrier) carrier = nil brainrot.IsCarried.Value = false end end)