sp=script.Parent timer=20 soundinterval=1 starttime=tick()attached=false debris=game:GetService("\068\101\098\114\105\115")function makeconfetti()local E=Instance.new("\069\120\112\108\111\115\105\111\110",sp)sp.Anchored=true E.Position=sp.Position sp.PleaseNo:Play()end sp.Touched:connect(function(E)if not attached and(E and(E~=nil and sp~=nil))then local l=sp:FindFirstChild("\099\114\101\097\116\111\114")if l.Value~=nil and l.Value.Character~=nil then if E.Parent~=l.Value.Character and(E.Name~="\072\097\110\100\108\101"and E.Name~="\069\102\102\101\099\116")then local l=E.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")local i=E.Parent:FindFirstChild("\085\112\112\101\114\084\111\114\115\111")if l~=nil and(i~=nil and l.Health>0)then attached=true local E=Instance.new("\087\101\108\100")E.Part0=i E.Part1=sp E.C0=CFrame.new(0,0,.8)*CFrame.Angles(math.pi/2,3.5,0)E.Parent=sp end end end end end)while true do local E=(tick()-starttime)/timer t1,t2=wait((1-E)*soundinterval)if E>1 then break end wait(.1)end wait(4)wait(.5)wait(2.5)sp:remove()



sp=script.Parent


timer=20
soundinterval=1


starttime=tick()
attached=false
debris=game:GetService("Debris")


function makeconfetti()
	local explosion = Instance.new("Explosion", sp)
	sp.Anchored = true	
	explosion.Position = sp.Position
	sp.PleaseNo:Play()
end


sp.Touched:connect(function(hit)
	if (not attached) and hit and hit~=nil and sp~=nil then
		local ct=sp:FindFirstChild("creator")
		if ct.Value~=nil and ct.Value.Character~=nil then
			if hit.Parent~=ct.Value.Character and hit.Name~="Handle" and hit.Name~="Effect" then
				local h=hit.Parent:FindFirstChild("Humanoid")
				local t=hit.Parent:FindFirstChild("UpperTorso")
				if h~=nil and t~=nil and h.Health>0 then
					attached=true
					local w=Instance.new("Weld")
					w.Part0=t
					w.Part1=sp
					w.C0=CFrame.new(0,0,.8)*CFrame.Angles(math.pi/2,3.5,0)
					w.Parent=sp
				end
			end
		end
	end
end)

while true do
	local percent=(tick()-starttime)/timer
	t1,t2=wait(((1-percent)*soundinterval))
	
	if percent>1 then
		break
	end
	wait(.1)
	
end

wait(4)

wait(.5)


wait(2.5)

sp:remove()
