Character=script.Parent Humanoid=Character:FindFirstChild("\072\117\109\097\110\111\105\100")Head=Character:FindFirstChild("\072\101\097\100")Torso=Character:FindFirstChild("\084\111\114\115\111")or Character:FindFirstChild("\085\112\112\101\114\084\111\114\115\111")Players=game:GetService("\080\108\097\121\101\114\115")Debris=game:GetService("\068\101\098\114\105\115")Player=Players:GetPlayerFromCharacter(Character)Sounds={Explosion=script:WaitForChild("\069\120\112\108\111\115\105\111\110")}function DestroyScript()Debris:AddItem(script,.5)script:Destroy()end if not Head or not Torso or not Humanoid or Humanoid.Health==0 or not Player then DestroyScript()return end Duration=30 Humanoid.WalkSpeed=25.6 Sparkles=Instance.new("\083\112\097\114\107\108\101\115")Sparkles.SparkleColor=Color3.new(.8,0,.8)Sparkles.Enabled=true Debris:AddItem(Sparkles,Duration)Sparkles.Parent=Torso Count=script:FindFirstChild("\067\111\102\102\101\101\067\111\117\110\116")if not Count then Count=Instance.new("\073\110\116\086\097\108\117\101")Count.Name="\067\111\102\102\101\101\067\111\117\110\116"Count.Value=1 Count.Parent=script else if Count.Value>3 then if math.random()>.5 then ExplosionSound=Sounds.Explosion:Clone()Debris:AddItem(ExplosionSound,5)ExplosionSound.Parent=Head ExplosionSound:Play()local x=Instance.new("\069\120\112\108\111\115\105\111\110")x.ExplosionType=Enum.ExplosionType.NoCraters x.BlastRadius=2 x.BlastPressure=1000000 x.Position=Torso.Position x.Parent=game:GetService("\087\111\114\107\115\112\097\099\101")end end Count.Value=Count.Value+1 end wait(Duration)Humanoid.WalkSpeed=16 DestroyScript()
--Rescripted by Luckymaxer
--Updated for R15 avatars by StarWars

Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")

Players = game:GetService("Players")
Debris = game:GetService("Debris")

Player = Players:GetPlayerFromCharacter(Character)

Sounds = {
	Explosion = script:WaitForChild("Explosion"),
}

function DestroyScript()
	Debris:AddItem(script, 0.5)
	script:Destroy()
end

if not Head or not Torso or not Humanoid or Humanoid.Health == 0 or not Player then
	DestroyScript()
	return
end

Duration = 30

Humanoid.WalkSpeed = (16 * 1.6)

Sparkles = Instance.new("Sparkles")
Sparkles.SparkleColor = Color3.new(0.8, 0, 0.8)
Sparkles.Enabled = true
Debris:AddItem(Sparkles, Duration)
Sparkles.Parent = Torso

Count = script:FindFirstChild("CoffeeCount")
if not Count then
	Count = Instance.new("IntValue")
	Count.Name = "CoffeeCount"
	Count.Value = 1
	Count.Parent = script
else
	if Count.Value > 3 then
		if math.random() > 0.5 then
			ExplosionSound = Sounds.Explosion:Clone()
			Debris:AddItem(ExplosionSound, 5)
			ExplosionSound.Parent = Head
			ExplosionSound:Play()

			local Explosion = Instance.new("Explosion")
			Explosion.ExplosionType = Enum.ExplosionType.NoCraters
			Explosion.BlastRadius = 2
			Explosion.BlastPressure = 1000000
			Explosion.Position = Torso.Position
			Explosion.Parent = game:GetService("Workspace")
		end
	end
	Count.Value = (Count.Value + 1)
end

wait(Duration)

Humanoid.WalkSpeed = 16

DestroyScript()
