Remote.PhongDev.OnServerEvent:Connect(function(m)local M=Access.VFX.In_Transform.Emit_VFX:Clone()M.Parent=m.Character.PrimaryPart Debris:AddItem(M,5)local C=Access.VFX.In_Transform.Emit_VFX2:Clone()C.Parent=m.Character.PrimaryPart Debris:AddItem(C,4)local r=Access.VFX.In_Transform.Enabled_VFX:Clone()r.Parent=m.Character.PrimaryPart Debris:AddItem(r,4)spawn(function()for m,M in pairs(r:GetChildren())do M.Enabled=true end end)delay(.2,function()for m,M in pairs(M:GetChildren())do M:Emit(M:GetAttribute("\069\109\105\116\067\111\117\110\116"))end wait(2.05)for m,M in pairs(C:GetChildren())do M:Emit(M:GetAttribute("\069\109\105\116\067\111\117\110\116"))end end)delay(2.05,function()local M=Access.VFX.Transform:Clone()M.Parent=m.Character.PrimaryPart Debris:AddItem(M,4)local C=Instance.new("\087\101\108\100",m.Character.PrimaryPart)C.Part0=m.Character.PrimaryPart C.Part1=M C.C0=C.Part0.CFrame:ToObjectSpace(C.Part1.CFrame*CFrame.new(0,0,0))Debris:AddItem(C,4)for m,M in pairs(M.Emit_VFX:GetChildren())do M:Emit(M:GetAttribute("\069\109\105\116\067\111\117\110\116"))end wait(.7)M.Bone:Destroy()for m,M in pairs(M.Enabled_VFX:GetChildren())do M.Enabled=false end end)delay(4,function()local M=Access.VFX.Body.VFX:Clone()M.Parent=m.Character.PrimaryPart Debris:AddItem(M,Cooldown.Value)wait(Cooldown.Value-.5)for m,M in pairs(M:GetChildren())do M.Enabled=false end end)end)
--| Main |--
Remote.PhongDev.OnServerEvent:Connect(function(LocalPlayer)
	--| Clone |--
	local Emit_VFX = Access.VFX.In_Transform.Emit_VFX:Clone()
	Emit_VFX.Parent = LocalPlayer.Character.PrimaryPart
	Debris:AddItem(Emit_VFX, 5)

	local Emit_VFX2 = Access.VFX.In_Transform.Emit_VFX2:Clone()
	Emit_VFX2.Parent = LocalPlayer.Character.PrimaryPart
	Debris:AddItem(Emit_VFX2, 4)

	local Enabled_VFX = Access.VFX.In_Transform.Enabled_VFX:Clone()
	Enabled_VFX.Parent = LocalPlayer.Character.PrimaryPart
	Debris:AddItem(Enabled_VFX, 4)

	spawn(function()
		for i, v in pairs(Enabled_VFX:GetChildren()) do
			v.Enabled = true
		end
	end)

	delay(0.2, function()
		for i, v in pairs(Emit_VFX:GetChildren()) do
			v:Emit(v:GetAttribute("EmitCount"))
		end
		wait(2.05)
		for i, v in pairs(Emit_VFX2:GetChildren()) do
			v:Emit(v:GetAttribute("EmitCount"))
		end
	end)

	delay(2.05, function()
		local Transform = Access.VFX.Transform:Clone()
		Transform.Parent = LocalPlayer.Character.PrimaryPart
		Debris:AddItem(Transform, 4)

		local WeldPart = Instance.new("Weld", LocalPlayer.Character.PrimaryPart)
		WeldPart.Part0 = LocalPlayer.Character.PrimaryPart
		WeldPart.Part1 = Transform
		WeldPart.C0 = WeldPart.Part0.CFrame:ToObjectSpace(WeldPart.Part1.CFrame * CFrame.new(0, 0, 0))
		Debris:AddItem(WeldPart, 4)

		for i, v in pairs(Transform.Emit_VFX:GetChildren()) do
			v:Emit(v:GetAttribute("EmitCount"))
		end
		wait(0.7)

		Transform.Bone:Destroy()

		for i, v in pairs(Transform.Enabled_VFX:GetChildren()) do
			v.Enabled = false
		end
	end)

	delay(4, function()
		local Body = Access.VFX.Body.VFX:Clone()
		Body.Parent = LocalPlayer.Character.PrimaryPart
		Debris:AddItem(Body, Cooldown.Value)

		wait(Cooldown.Value - 0.5)

		for i, v in pairs(Body:GetChildren()) do
			v.Enabled = false
		end
	end)
end)
