script.Parent.OnServerEvent:Connect(function(c)local X=c.Character local o=game.ReplicatedStorage.FlameSkill.SkillV local K=o:Clone()local V=c.Hamon K.Parent=X.Head K.CFrame=X.HumanoidRootPart.CFrame+Vector3.new(0,60,0)K.Anchored=true local R=game.ReplicatedStorage.FlameSkill.FlameV local g=R:Clone()if X.Humanoid.FloorMaterial=="\080\108\097\115\116\105\099"then g.Transparency=0 end g.Parent=X.Head g.CFrame=X.HumanoidRootPart.CFrame+Vector3.new(0,-10,0)g.Anchored=true V.Value=V.Value+100 end)
--[[script.Parent.OnServerEvent:Connect(function(plr)
	local char = plr.Character
	local Effect = game.ReplicatedStorage.FlameSkill.SkillV
	local Weld = Instance.new("Weld")
    Weld.Parent = char.Head
	Weld.Part0 = char.HumanoidRootPart
    local FX = Effect:Clone()
    FX.Parent = char.Head
	Weld.Part1 = char.Head.SkillV
	Weld.C1 = CFrame.new (0, -30, 0)
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)
