Character=script.Parent Humanoid=Character:FindFirstChild("\072\117\109\097\110\111\105\100")Players=game:GetService("\080\108\097\121\101\114\115")Debris=game:GetService("\068\101\098\114\105\115")BaseUrl="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061"WindDirection=script:WaitForChild("\087\105\110\100\068\105\114\101\099\116\105\111\110")Force=script:WaitForChild("\070\111\114\099\101")Functions=require(script:WaitForChild("\070\117\110\099\116\105\111\110\115"))Gravity=196.2 BasePart=Instance.new("\080\097\114\116")BasePart.Shape=Enum.PartType.Block BasePart.Material=Enum.Material.Plastic BasePart.TopSurface=Enum.SurfaceType.Smooth BasePart.BottomSurface=Enum.SurfaceType.Smooth BasePart.FormFactor=Enum.FormFactor.Custom BasePart.Size=Vector3.new(.2,.2,.2)BasePart.CanCollide=true BasePart.Locked=true BasePart.Anchored=false DisplayParts={}Rate=.016666666666667 function DestroyScript()Debris:AddItem(script,.5)end if not Humanoid then DestroyScript()return end local l=Instance.new("\077\111\100\101\108")l.Name="\071\104\111\115\116"Objects=Functions.Redesign(Character)for w,U in pairs(Objects)do U=U.Object if U:IsA("\066\097\115\101\080\097\114\116")then local w=U:Clone()w.CanCollide=false for l,w in pairs(w:GetChildren())do if w:IsA("\074\111\105\110\116\073\110\115\116\097\110\099\101")then w:Destroy()end end for l,Z in pairs(Objects)do Z=Z.Object if Z:IsA("\067\104\097\114\097\099\116\101\114\077\101\115\104")and string.gsub(U.Name," ","")==Z.BodyPart.Name then local l=Instance.new("\083\112\101\099\105\097\108\077\101\115\104")l.MeshType=Enum.MeshType.FileMesh l.MeshId=BaseUrl..Z.MeshId l.TextureId=BaseUrl..Z.BaseTextureId l.Scale=Vector3.new(1,1,1)l.Offset=Vector3.new(0,0,0)l.VertexColor=Vector3.new(1,1,1)l.Parent=w end end w.Parent=l U:Destroy()end end Objects=Functions.Redesign(l)for l,w in pairs(Objects)do w=w.Object if w:IsA("\066\097\115\101\080\097\114\116")then local l=w:GetMass()*Gravity^2 local U=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121")U.maxForce=Vector3.new(l,l,l)U.velocity=WindDirection.Value*Force.Value U.Parent=w if w.Name=="\084\111\114\115\111"then end w.Name="\069\102\102\101\099\116"if w.Transparency<1 then table.insert(DisplayParts,w)end elseif w:IsA("\068\101\099\097\108")or w:IsA("\084\101\120\116\117\114\101")then if w.Transparency<1 then table.insert(DisplayParts,w)end end end Delay(.1,function()local w=30 for l=1,(1-Functions.DarkProperties.All.Transparency)*(1*w),1 do for l,U in pairs(DisplayParts)do if U and U.Parent then U.Transparency=U.Transparency+1/w end end wait(Rate)end if l and l.Parent then l:Destroy()end end)BoundaryBox=BasePart:Clone()BoundaryBox.Name="\069\102\102\101\099\116"BoundaryBox.Transparency=1 BoundaryBox.CanCollide=false BoundaryBox.Size=l:GetModelSize()BoundaryBox.CFrame=l:GetModelCFrame()BoundaryBox.Parent=l Functions.Weld(l,BoundaryBox)Debris:AddItem(l,10)l.Parent=game:GetService("\087\111\114\107\115\112\097\099\101")
--Made by Luckymaxer

Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")

Players = game:GetService("Players")
Debris = game:GetService("Debris")

BaseUrl = "http://www.roblox.com/asset/?id="

WindDirection = script:WaitForChild("WindDirection")
Force = script:WaitForChild("Force")
Functions = require(script:WaitForChild("Functions"))

Gravity = 196.20

BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.BottomSurface = Enum.SurfaceType.Smooth
BasePart.FormFactor = Enum.FormFactor.Custom
BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
BasePart.CanCollide = true
BasePart.Locked = true
BasePart.Anchored = false

DisplayParts = {}

Rate = (1 / 60)

function DestroyScript()
	Debris:AddItem(script, 0.5)
end

if not Humanoid then
	DestroyScript()
	return
end

local FakeModel = Instance.new("Model")
FakeModel.Name = "Ghost"

Objects = Functions.Redesign(Character)

for i, v in pairs(Objects) do
	v = v.Object
	if v:IsA("BasePart") then
		local FakePart = v:Clone()
		FakePart.CanCollide = false
		for ii, vv in pairs(FakePart:GetChildren()) do
			if vv:IsA("JointInstance") then
				vv:Destroy()
			end
		end
		for ii, vv in pairs(Objects) do
			vv = vv.Object
			if vv:IsA("CharacterMesh") and string.gsub(v.Name, " ", "") == vv.BodyPart.Name then
				local Mesh = Instance.new("SpecialMesh")
				Mesh.MeshType = Enum.MeshType.FileMesh
				Mesh.MeshId = (BaseUrl .. vv.MeshId)
				Mesh.TextureId = (BaseUrl .. vv.BaseTextureId)
				Mesh.Scale = Vector3.new(1, 1, 1)
				Mesh.Offset = Vector3.new(0, 0, 0)
				Mesh.VertexColor = Vector3.new(1, 1, 1)
				Mesh.Parent = FakePart
			end
		end
		FakePart.Parent = FakeModel
		v:Destroy()
	end
end

Objects = Functions.Redesign(FakeModel)

for i, v in pairs(Objects) do
	v = v.Object
	if v:IsA("BasePart") then
		local Mass = (v:GetMass() * Gravity ^ 2)
		local BodyVelocity = Instance.new("BodyVelocity")
		BodyVelocity.maxForce = Vector3.new(Mass, Mass, Mass)
		BodyVelocity.velocity = (WindDirection.Value * Force.Value)
		BodyVelocity.Parent = v
		if v.Name == "Torso" then
		end
		v.Name = "Effect"
		if v.Transparency < 1 then
			table.insert(DisplayParts, v)
		end
	elseif v:IsA("Decal") or v:IsA("Texture") then
		if v.Transparency < 1 then
			table.insert(DisplayParts, v)
		end
	end
end

Delay(0.1, function()
	local FadeRate = 30
	for i = 1, ((1 - Functions.DarkProperties.All.Transparency) * (1 * FadeRate)) do
		for ii, vv in pairs(DisplayParts) do
			if vv and vv.Parent then
				vv.Transparency = (vv.Transparency + (1 / FadeRate))
			end
		end
		wait(Rate)
	end
	if FakeModel and FakeModel.Parent then
		FakeModel:Destroy()
	end
end)

BoundaryBox = BasePart:Clone()
BoundaryBox.Name = "Effect"
BoundaryBox.Transparency = 1
BoundaryBox.CanCollide = false
BoundaryBox.Size = FakeModel:GetModelSize()
BoundaryBox.CFrame = FakeModel:GetModelCFrame()
BoundaryBox.Parent = FakeModel

Functions.Weld(FakeModel, BoundaryBox)

Debris:AddItem(FakeModel, 10)
FakeModel.Parent = game:GetService("Workspace")
