Players=game:GetService("\080\108\097\121\101\114\115")Debris=game:GetService("\068\101\098\114\105\115")RbxUtility=LoadLibrary("\082\098\120\085\116\105\108\105\116\121")Create=RbxUtility.Create Character=script.Parent Humanoid=Character:FindFirstChild("\072\117\109\097\110\111\105\100")Player=Players:GetPlayerFromCharacter(Character)Fire=script:WaitForChild("\070\105\114\101")Creator=script:FindFirstChild("\067\114\101\097\116\111\114")Removing=false Flames={}function DestroyScript()if Removing then return end Removing=true if Humanoid then Humanoid.WalkSpeed=16 end for q,U in pairs(Flames)do U.Enabled=false Debris:AddItem(U,2)end Debris:AddItem(script,1)end function IsTeamMate(q,U)return q and(U and(not q.Neutral and(not U.Neutral and q.TeamColor==U.TeamColor)))end function TagHumanoid(q,U)local j=(Create("\079\098\106\101\099\116\086\097\108\117\101"))({Name="\099\114\101\097\116\111\114",Value=U})Debris:AddItem(j,2)j.Parent=q end function UntagHumanoid(q)for q,U in pairs(q:GetChildren())do if U:IsA("\079\098\106\101\099\116\086\097\108\117\101")and U.Name=="\099\114\101\097\116\111\114"then U:Destroy()end end end function GetCreator()return(Creator and(Creator.Value and(Creator.Value.Parent and Creator.Value:IsA("\080\108\097\121\101\114"))))and Creator.Value or nil end CreatorPlayer=GetCreator()if not Humanoid or Humanoid.Health==0 or not CreatorPlayer then DestroyScript()return end Humanoid.WalkSpeed=8 for q,U in pairs(Character:GetChildren())do if U:IsA("\066\097\115\101\080\097\114\116")then local q=Fire:Clone()q.Enabled=true table.insert(Flames,q)q.Parent=U end end for q=1,5,1 do wait(1.5)if not Player or Player and not IsTeamMate(Player,CreatorPlayer)then UntagHumanoid(Humanoid)TagHumanoid(Humanoid,Player)Humanoid:TakeDamage(5)end end DestroyScript()
--Made by Luckymaxer

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

RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create

Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")

Player = Players:GetPlayerFromCharacter(Character)

Fire = script:WaitForChild("Fire")

Creator = script:FindFirstChild("Creator")

Removing = false
Flames = {}

function DestroyScript()
	if Removing then
		return
	end
	Removing = true
	if Humanoid then
		Humanoid.WalkSpeed = 16
	end
	for i, v in pairs(Flames) do
		v.Enabled = false
		Debris:AddItem(v, 2)
	end
	Debris:AddItem(script, 1)
end

function IsTeamMate(Player1, Player2)
	return (
		Player1
		and Player2
		and not Player1.Neutral
		and not Player2.Neutral
		and Player1.TeamColor == Player2.TeamColor
	)
end

function TagHumanoid(humanoid, player)
	local Creator_Tag = Create("ObjectValue")({
		Name = "creator",
		Value = player,
	})
	Debris:AddItem(Creator_Tag, 2)
	Creator_Tag.Parent = humanoid
end

function UntagHumanoid(humanoid)
	for i, v in pairs(humanoid:GetChildren()) do
		if v:IsA("ObjectValue") and v.Name == "creator" then
			v:Destroy()
		end
	end
end

function GetCreator()
	return (
		((Creator and Creator.Value and Creator.Value.Parent and Creator.Value:IsA("Player")) and Creator.Value) or nil
	)
end

CreatorPlayer = GetCreator()

if not Humanoid or Humanoid.Health == 0 or not CreatorPlayer then
	DestroyScript()
	return
end

Humanoid.WalkSpeed = 8

for i, v in pairs(Character:GetChildren()) do
	if v:IsA("BasePart") then
		local Flame = Fire:Clone()
		Flame.Enabled = true
		table.insert(Flames, Flame)
		Flame.Parent = v
	end
end

for i = 1, 5 do
	wait(1.5)
	if not Player or (Player and not IsTeamMate(Player, CreatorPlayer)) then
		UntagHumanoid(Humanoid)
		TagHumanoid(Humanoid, Player)
		Humanoid:TakeDamage(5)
	end
end

DestroyScript()
