Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- growingList = {}
- degrowingList = {}
- game:GetService("RunService").RenderStepped:connect(function()
- for _,grow in pairs(growingList) do
- local cframe = grow.CFrame
- grow.Size = grow.Size+Vector3.new(1,1,1)
- grow.Transparency = grow.Transparency+0.04
- end
- for _,degrow in pairs(degrowingList) do
- local cframe = degrow.CFrame
- degrow.Size = degrow.Size-Vector3.new(1,1,1)
- degrow.Transparency = degrow.Transparency+0.04
- end
- end)
- Basesong = Instance.new("Sound")
- hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false
- beforesong = Basesong:Clone()
- beforesong.Parent = game.Players.LocalPlayer.Character
- beforesong.Looped = true
- beforesong.Volume = 3
- beforesong.SoundId = "rbxassetid://1100971847"
- beforesong:Play()
- if game.Players.LocalPlayer.Character:FindFirstChild("Body Colors") then
- game.Players.LocalPlayer.Character["Body Colors"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shirt Graphic") then
- game.Players.LocalPlayer.Character["Shirt Graphic"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shirt") then
- game.Players.LocalPlayer.Character["Shirt"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Pants") then
- game.Players.LocalPlayer.Character["Pants"]:remove()
- end
- for i=1,5 do
- wait()
- for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if hat.ClassName == "Accessory" then
- hat:remove()
- end
- if hat:IsA("BasePart") then
- hat.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- end
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- Basepart = Instance.new("Part")
- Baseparticle = Instance.new("ParticleEmitter")
- Basemesh = Instance.new("SpecialMesh")
- local mesh = Basemesh:Clone()
- mesh.Parent = hair
- mesh.MeshId = "rbxassetid://1143041061"
- Baseweld = Instance.new("Weld")
- local weld = Baseweld:Clone()
- weld.Part0 = hair
- weld.Part1 = game.Players.LocalPlayer.Character.Head
- hair.Color = Color3.fromRGB(153, 125, 61)
- weld.C0 = CFrame.new(0,-0.25,0)*CFrame.Angles(0,math.rad(180),0)
- weld.Parent = hair
- shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character)
- shirt.ShirtTemplate = "rbxassetid://804894303"
- pants = Instance.new("Pants",game.Players.LocalPlayer.Character)
- pants.PantsTemplate = "rbxassetid://189943600"
- game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1142979747"
- wait(1)
- game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "This can go two ways punk", "Green")
- wait(3)
- game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "You walk away", "Green")
- wait(3)
- game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Or I walk in your, face.", "Green")
- wait(3)
- local counter = 0
- for i=1,200 do
- wait()
- counter = counter+1
- if counter > 2 then
- counter = 0
- local part = Basepart:Clone()
- part.Color = Color3.fromRGB(255,175,0)
- part.Shape = Enum.PartType.Cylinder
- part.Anchored = true
- part.CanCollide = false
- part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- part.Parent = game.Workspace
- part.Material = Enum.Material.Neon
- part.Size = Vector3.new(1000000000,6,6)
- game:GetService("Debris"):AddItem(part,1)
- table.insert(degrowingList,part)
- local part = Basepart:Clone()
- part.Color = Color3.fromRGB(255,175,0)
- part.Shape = Enum.PartType.Ball
- part.Anchored = true
- part.CanCollide = false
- part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- part.Parent = game.Workspace
- part.Material = Enum.Material.Neon
- part.Size = Vector3.new(1,1,1)
- game:GetService("Debris"):AddItem(part,3)
- table.insert(growingList,part)
- end
- for _,player in pairs(game.Workspace:GetChildren()) do
- if player:FindFirstChild("Humanoid") then
- player.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),0)
- end
- end
- end
- counter = counter+1
- for _,player in pairs(game.Workspace:GetChildren()) do
- if player:FindFirstChild("Humanoid") then
- player.Humanoid.CameraOffset = Vector3.new(0,0,0)
- end
- end
- local colorlist = {ColorSequenceKeypoint.new(0,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.148,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.193,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(0.366,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(0.4,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.63,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.8,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,255))
- }
- local uiParticle = Baseparticle:Clone()
- uiParticle.Color = ColorSequence.new(colorlist)
- uiParticle.LightEmission = 1
- uiParticle.Size = NumberSequence.new(0.8)
- uiParticle.LockedToPart = true
- uiParticle.Texture = "rbxassetid://1143059159"
- local transparencylist = { NumberSequenceKeypoint.new(0,1),
- NumberSequenceKeypoint.new(0.5,0.67),
- NumberSequenceKeypoint.new(1,1)
- }
- uiParticle.Transparency = NumberSequence.new(transparencylist)
- uiParticle.ZOffset = -1
- uiParticle.LockedToPart = true
- uiParticle.Lifetime = NumberRange.new(0.05,0.05)
- uiParticle.Speed = NumberRange.new(0,0)
- uiParticle.Rate = math.huge
- for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if hat:IsA("BasePart") then
- if hat.Name ~= "Head" and hat.Name ~= "HumanoidRootPart" then
- uiParticle:Clone().Parent = hat
- end
- end
- end
- beforesong:Stop()
- mainsong = Basesong:Clone()
- mainsong.Parent = game.Players.LocalPlayer.Character
- mainsong.Looped = true
- mainsong.Volume = 3
- mainsong.SoundId = "rbxassetid://1106602456"
- mainsong:Play()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
- game.Players.LocalPlayer.Character.Humanoid.Name = "LolFakeHumanoid"
- afterimages = {}
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- end)
- amcounter = 0
- local PhysicsService = game:GetService("PhysicsService")
- for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if part:FindFirstChild("ParticleEmitter") then
- part.ParticleEmitter.Enabled = false
- end
- if part:IsA("BasePart") then
- part.Transparency = 1
- end
- end
- game.Players.LocalPlayer.Character.Head.face.Transparency = 1
- game:GetService("RunService").RenderStepped:connect(function()
- for _,image in pairs(afterimages) do
- for _,part in pairs(image:GetChildren()) do
- if part.ClassName == "Humanoid" then
- part.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- end
- if part:IsA("BasePart") then
- part.Transparency = part.Transparency+0.1
- if part:FindFirstChild("face") then
- part.face.Transparency = part.face.Transparency+0.1
- end
- end
- end
- end
- game.Players.LocalPlayer.Character.Head.face.Transparency = 1
- game.Players.LocalPlayer.Character.Parent = game.Workspace.CurrentCamera
- game.Players.LocalPlayer.Character.LolFakeHumanoid.MaxHealth = math.huge
- game.Players.LocalPlayer.Character.LolFakeHumanoid.Health = math.huge
- local model = Instance.new("Model",game.Workspace)
- model.Name = game.Players.LocalPlayer.Character.Name
- for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if part:IsA("BasePart") or part.ClassName == "Shirt" or part.ClassName == "Pants" or part.ClassName == "Humanoid" then
- local clon = part:Clone()
- clon.Parent = model
- if part:IsA("BasePart") then
- clon.CanCollide = false
- for _,clono in pairs(clon:GetChildren()) do
- if clono.ClassName ~= "SpecialMesh" and clono.Name ~= "face" and clono.Name ~= "ParticleEmitter" then
- clono:remove()
- end
- end
- end
- end
- end
- for _,part in pairs(model:GetChildren()) do
- if part:IsA("BasePart") then
- for _,child in pairs(part:GetChildren()) do
- if child.ClassName ~= "SpecialMesh" and child.Name ~= "face" and child.Name ~= "ParticleEmitter" then
- child:remove()
- end
- end
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- if part.Name ~= "HumanoidRootPart" then
- part.Transparency = 0
- end
- if part:FindFirstChild("face") then
- part.face.Transparency = 0
- end
- if part:FindFirstChild("ParticleEmitter") then
- part.ParticleEmitter.Enabled = true
- end
- part.CFrame =game.Players.LocalPlayer.Character[part.Name].CFrame-game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*3
- part.Anchored = true
- part.CanCollide = false
- end
- end
- game.Workspace.CurrentCamera.CameraSubject = model.LolFakeHumanoid
- game:GetService("Debris"):AddItem(model,0.18)
- table.insert(afterimages,model)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement