local q=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local U=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local Q=script.Parent local T={}local R=false local D=false local L=1 local Z=nil local e=nil Q.Activated:Connect(function()if not D then D=true task.delay(L,function()D=false end)local J=Q.Parent if not R then R=true e=J.Humanoid:LoadAnimation(q.GhoulV4.Laugh)e:Play()J.HumanoidRootPart.Anchored=true Z=q.GhoulV4.Props.Wings:Clone()Z.Parent=J local Q=Instance.new("\065\116\116\097\099\104\109\101\110\116")Q.Parent=J.HumanoidRootPart Q.Position=Vector3.new(0,-2.5,0)local D=q.GhoulV4.Effects.Wave:Clone()D.Parent=Q local L=q.GhoulV4.Effects.Smoke:Clone()L.Parent=J.HumanoidRootPart local a=q.GhoulV4.Effects.Pixel:Clone()a.Parent=J.HumanoidRootPart local S=q.GhoulV4.Sound.Laugh:Clone()S.Parent=J.HumanoidRootPart local x=q.GhoulV4.Sound.Smoke:Clone()x.Parent=J.HumanoidRootPart S:Play()task.delay(1.6,function()S:Destroy()task.wait(.25)J.HumanoidRootPart.Anchored=false e:Stop()end)x:Play()local Y=U:Create(x,TweenInfo.new(1.5),{Volume=0})Y:Play()Y.Completed:Connect(function()x:Destroy()end)D:Emit(2)L:Emit(100)a:Emit(50)for q,U in ipairs(J.Humanoid:GetAccessories())do local Q=U.Handle:FindFirstChild("\072\097\105\114\065\116\116\097\099\104\109\101\110\116")~=nil if Q then T[U]={TextureID=U.Handle.TextureID;Color=U.Handle.Color;Material=U.Handle.Material}U.Handle.Color=Color3.fromRGB(255,0,0)U.Handle.TextureID=""U.Handle.Material=Enum.Material.Neon end end elseif R then R=false local q=U:Create(Z.Handle,TweenInfo.new(.5),{Transparency=1})q:Play()q.Completed:Connect(function()Z:Destroy()end)for q,U in ipairs(J.Humanoid:GetAccessories())do local Q=U.Handle:FindFirstChild("\072\097\105\114\065\116\116\097\099\104\109\101\110\116")~=nil if Q then U.Handle.Color=T[U].Color U.Handle.Material=T[U].Material U.Handle.TextureID=T[U].TextureID T[U]=nil end end end end end)
--<DON'T TOUCH THE SCRIPT UNLESS YOU KNOW WHAT YOU ARE DOING!

local RS = game:GetService("ReplicatedStorage")
local TS = game:GetService("TweenService")

local Tool = script.Parent
local TextureArray = {}

local Activated = false
local Debounce = false
local Cooldown = 1
local Prop = nil
local LaughAnim = nil

Tool.Activated:Connect(function()
	if not Debounce then
		Debounce = true
		task.delay(Cooldown, function()
			Debounce = false
		end)

		local Character = Tool.Parent

		if not Activated then
			Activated = true

			LaughAnim = Character.Humanoid:LoadAnimation(RS.GhoulV4.Laugh)
			LaughAnim:Play()
			Character.HumanoidRootPart.Anchored = true

			Prop = RS.GhoulV4.Props.Wings:Clone()
			Prop.Parent = Character

			local Attachment = Instance.new("Attachment")
			Attachment.Parent = Character.HumanoidRootPart
			Attachment.Position = Vector3.new(0, -2.5, 0)

			local Wave = RS.GhoulV4.Effects.Wave:Clone()
			Wave.Parent = Attachment

			local Smoke = RS.GhoulV4.Effects.Smoke:Clone()
			Smoke.Parent = Character.HumanoidRootPart

			local Pixel = RS.GhoulV4.Effects.Pixel:Clone()
			Pixel.Parent = Character.HumanoidRootPart

			local Laugh = RS.GhoulV4.Sound.Laugh:Clone()
			Laugh.Parent = Character.HumanoidRootPart

			local SmokeSound = RS.GhoulV4.Sound.Smoke:Clone()
			SmokeSound.Parent = Character.HumanoidRootPart

			Laugh:Play()

			task.delay(1.6, function()
				Laugh:Destroy()
				task.wait(0.25)
				Character.HumanoidRootPart.Anchored = false
				LaughAnim:Stop()
			end)

			SmokeSound:Play()

			local Tween = TS:Create(SmokeSound, TweenInfo.new(1.5), { Volume = 0 })
			Tween:Play()

			Tween.Completed:Connect(function()
				SmokeSound:Destroy()
			end)

			Wave:Emit(2)
			Smoke:Emit(100)
			Pixel:Emit(50)

			for _, Item in ipairs(Character.Humanoid:GetAccessories()) do
				local Hair = Item.Handle:FindFirstChild("HairAttachment") ~= nil
				if Hair then
					TextureArray[Item] = {
						TextureID = Item.Handle.TextureID,
						Color = Item.Handle.Color,
						Material = Item.Handle.Material,
					}
					Item.Handle.Color = Color3.fromRGB(255, 0, 0)
					Item.Handle.TextureID = ""
					Item.Handle.Material = Enum.Material.Neon
				end
			end
		elseif Activated then
			Activated = false

			local Tween = TS:Create(Prop.Handle, TweenInfo.new(0.5), { Transparency = 1 })
			Tween:Play()

			Tween.Completed:Connect(function()
				Prop:Destroy()
			end)

			for _, Item in ipairs(Character.Humanoid:GetAccessories()) do
				local Hair = Item.Handle:FindFirstChild("HairAttachment") ~= nil
				if Hair then
					Item.Handle.Color = TextureArray[Item].Color
					Item.Handle.Material = TextureArray[Item].Material
					Item.Handle.TextureID = TextureArray[Item].TextureID
					TextureArray[Item] = nil
				end
			end
		end
	end
end)
