script.Parent.OnServerEvent:Connect(function(l)local E=l.Character local O=game.ReplicatedStorage.FlameSkill.SkillV local u=O:Clone()local I=l.Hamon u.Parent=E.Head u.CFrame=E.HumanoidRootPart.CFrame+Vector3.new(0,60,0)u.Anchored=true local J=game.ReplicatedStorage.FlameSkill.FlameV local q=J:Clone()if E.Humanoid.FloorMaterial=="\080\108\097\115\116\105\099"then q.Transparency=0 end q.Parent=E.Head q.CFrame=E.HumanoidRootPart.CFrame+Vector3.new(0,-10,0)q.Anchored=true I.Value=I.Value+100 end)

script.Parent.OnServerEvent:Connect(function(plr)
	local char = plr.Character
	local Effect = game.ReplicatedStorage.FlameSkill.SkillV
	local FX = Effect:Clone()
	local energy = plr.Hamon
	--local FX = game.ReplicatedStorage.FlameSkill.SkillV:Clone()
	FX.Parent = char.Head
	FX.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(0, 60, 0)
	FX.Anchored = true
	local Effect2 = game.ReplicatedStorage.FlameSkill.FlameV
	local FX2 = Effect2:Clone()
	if char.Humanoid.FloorMaterial == "Plastic" then
		FX2.Transparency = 0
	end
	FX2.Parent = char.Head
	FX2.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(0, -10, 0)
	FX2.Anchored = true
	--FX2.Script.Disabled = false
	
	energy.Value = energy.Value + 100
	--FX.Script.Disabled = false
end)
