SHARE
TWEET

Untitled

ghostteen14 Mar 21st, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8.     print("FE Compatibility code by Joseph Deramus")
  9.     local rp = RealPlayer
  10.     script.Parent = rp.Character
  11.    
  12.     --RemoteEvent for communicating
  13.     local Event = Instance.new("RemoteEvent")
  14.     Event.Name = "UserInput_Event"
  15.  
  16.     --Fake event to make stuff like Mouse.KeyDown work
  17.     local function fakeEvent()
  18.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19.         t.connect = t.Connect
  20.         return t
  21.     end
  22.  
  23.     --Creating fake input objects with fake variables
  24.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28.     end}
  29.     --Merged 2 functions into one by checking amount of arguments
  30.     CAS.UnbindAction = CAS.BindAction
  31.  
  32.     --This function will trigger the events that have been :Connect()'ed
  33.     local function te(self,ev,...)
  34.         local t = m[ev]
  35.         if t and t._fakeEvent then
  36.             for _,f in pairs(t.Functions) do
  37.                 f(...)
  38.             end
  39.         end
  40.     end
  41.     m.TrigEvent = te
  42.     UIS.TrigEvent = te
  43.  
  44.     Event.OnServerEvent:Connect(function(plr,io)
  45.         if plr~=rp then return end
  46.         m.Target = io.Target
  47.         m.Hit = io.Hit
  48.         if not io.isMouse then
  49.             local b = io.UserInputState == Enum.UserInputState.Begin
  50.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52.             end
  53.             for _,t in pairs(CAS.Actions) do
  54.                 for _,k in pairs(t.Keys) do
  55.                     if k==io.KeyCode then
  56.                         t.Function(t.Name,io.UserInputState,io)
  57.                     end
  58.                 end
  59.             end
  60.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62.         end
  63.     end)
  64.     Event.Parent = NLS([==[
  65.     local Player = game:GetService("Players").LocalPlayer
  66.     local Event = script:WaitForChild("UserInput_Event")
  67.  
  68.     local Mouse = Player:GetMouse()
  69.     local UIS = game:GetService("UserInputService")
  70.     local input = function(io,a)
  71.         if a then return end
  72.         --Since InputObject is a client-side instance, we create and pass table instead
  73.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74.     end
  75.     UIS.InputBegan:Connect(input)
  76.     UIS.InputEnded:Connect(input)
  77.  
  78.     local h,t
  79.     --Give the server mouse data 30 times every second, but only if the values changed
  80.     --If player is not moving their mouse, client won't fire events
  81.     while wait(1/30) do
  82.         if h~=Mouse.Hit or t~=Mouse.Target then
  83.             h,t=Mouse.Hit,Mouse.Target
  84.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  85.         end
  86.     end]==],Player.Character)
  87.  
  88.     ----Sandboxed game object that allows the usage of client-side methods and services
  89.     --Real game object
  90.     local _rg = game
  91.  
  92.     --Metatable for fake service
  93.     local fsmt = {
  94.         __index = function(self,k)
  95.             local s = rawget(self,"_RealService")
  96.             if s then return s[k] end
  97.         end,
  98.         __newindex = function(self,k,v)
  99.             local s = rawget(self,"_RealService")
  100.             if s then s[k]=v end
  101.         end,
  102.         __call = function(self,...)
  103.             local s = rawget(self,"_RealService")
  104.             if s then return s(...) end
  105.         end
  106.     }
  107.     local function FakeService(t,RealService)
  108.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109.         return setmetatable(t,fsmt)
  110.     end
  111.  
  112.     --Fake game object
  113.     local g = {
  114.         GetService = function(self,s)
  115.             return self[s]
  116.         end,
  117.         Players = FakeService({
  118.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119.         },"Players"),
  120.         UserInputService = FakeService(UIS,"UserInputService"),
  121.         ContextActionService = FakeService(CAS,"ContextActionService"),
  122.     }
  123.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124.     g.service = g.GetService
  125.    
  126.     g.RunService = FakeService({
  127.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  128.         BindToRenderStep = function(self,name,_,fun)
  129.  
  130.         end,
  131.         UnbindFromRenderStep = function(self,name)
  132.             self._btrs[name]:Disconnect()
  133.         end,
  134.     },"RunService")
  135.  
  136.     setmetatable(g,{
  137.         __index=function(self,s)
  138.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  139.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140.         end,
  141.         __newindex = fsmt.__newindex,
  142.         __call = fsmt.__call
  143.     })
  144.     --Changing owner to fake player object to support owner:GetMouse()
  145.     game,owner = g,g.Players.LocalPlayer
  146. end
  147. --Script made by Pedrorb03
  148. growingList = {}
  149. degrowingList = {}
  150.  
  151. torso = Instance.new("Part") torso.Size = Vector3.new(0,0,0) torso.CanCollide = false
  152. torso.Anchored = true
  153. local mesh = Instance.new("SpecialMesh",torso) mesh.MeshId = "rbxassetid://1198391230" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.01,0.01,0.01)
  154.  
  155. arm = Instance.new("Part") arm.Size = Vector3.new(0,0,0) arm.CanCollide = false
  156. arm.Anchored = true
  157. local mesh = Instance.new("SpecialMesh",arm) mesh.MeshId = "rbxassetid://1198392540" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.02,0.02,0.02)
  158.  
  159. leg1 = Instance.new("Part") leg1.Size = Vector3.new(0,0,0) leg1.CanCollide = false
  160. leg1.Anchored = true
  161. local mesh = Instance.new("SpecialMesh",leg1) mesh.MeshId = "rbxassetid://1198394446" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.01,0.01,0.01)
  162.  
  163. leg2 = Instance.new("Part") leg2.Size = Vector3.new(0,0,0) leg2.CanCollide = false
  164. leg2.Anchored = true
  165. local mesh = Instance.new("SpecialMesh",leg2) mesh.MeshId = "rbxassetid://1198393506" mesh.TextureId = "rbxassetid://1198391349" mesh.Scale = Vector3.new(0.02,0.02,0.02)
  166.  
  167. headd = Instance.new("Part") headd.Size = Vector3.new(1,1,1) headd.CanCollide = false
  168. local mesh = Instance.new("SpecialMesh",headd) mesh.Scale = Vector3.new(1.25,1.25,1.25) mesh.MeshType = Enum.MeshType.Head
  169. headd.BrickColor = BrickColor.new("Pastel brown")
  170.  
  171. game:GetService("RunService").RenderStepped:connect(function()
  172.     for _,grow in pairs(growingList) do
  173. local cframe = grow.CFrame     
  174.         grow.Size = grow.Size+Vector3.new(1,1,1)
  175.         grow.Transparency = grow.Transparency+0.04
  176.     end
  177.     for _,degrow in pairs(degrowingList) do
  178. local cframe = degrow.CFrame       
  179.         degrow.Size = degrow.Size-Vector3.new(1,1,1)
  180.         degrow.Transparency = degrow.Transparency+0.04
  181.     end
  182. end)
  183.  
  184.  
  185.  
  186.  
  187. Basesong = Instance.new("Sound")
  188.  
  189. hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false
  190.  
  191. beforesong = Basesong:Clone()
  192. beforesong.Parent = game.Players.LocalPlayer.Character
  193. beforesong.Looped = true
  194. beforesong.Volume = 3
  195. beforesong.SoundId = "rbxassetid://1100971847"
  196. beforesong:Play()
  197.  
  198. if game.Players.LocalPlayer.Character:FindFirstChild("Body Colors") then
  199.     game.Players.LocalPlayer.Character["Body Colors"]:remove()
  200. end
  201. if game.Players.LocalPlayer.Character:FindFirstChild("Shirt Graphic") then
  202.     game.Players.LocalPlayer.Character["Shirt Graphic"]:remove()
  203. end
  204. if game.Players.LocalPlayer.Character:FindFirstChild("Shirt") then
  205.     game.Players.LocalPlayer.Character["Shirt"]:remove()
  206. end
  207. if game.Players.LocalPlayer.Character:FindFirstChild("Pants") then
  208.     game.Players.LocalPlayer.Character["Pants"]:remove()
  209. end
  210. for i=1,5 do
  211.     wait()
  212. for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  213.     if hat.ClassName == "Accessory" then
  214.         hat:remove()
  215.     end
  216.     if hat:IsA("BasePart") then
  217.         hat.BrickColor = BrickColor.new("Pastel brown")
  218.     end
  219. end
  220. end
  221. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  222. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  223.  
  224.  
  225. Basepart = Instance.new("Part")
  226.  
  227.  
  228. Baseparticle = Instance.new("ParticleEmitter")
  229. Basemesh = Instance.new("SpecialMesh")
  230. local mesh = Basemesh:Clone()
  231. mesh.Parent = hair
  232. mesh.MeshId = "rbxassetid://1143041061"
  233. Baseweld = Instance.new("Weld")
  234. local weld = Baseweld:Clone()
  235. weld.Part0 = hair
  236. weld.Part1 = game.Players.LocalPlayer.Character.Head
  237. hair.Color = Color3.fromRGB(153, 125, 61)
  238. weld.C0 = CFrame.new(0,-0.25,0)*CFrame.Angles(0,math.rad(180),0)
  239. weld.Parent = hair
  240.  
  241. shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character)
  242. shirt.ShirtTemplate = "rbxassetid://804894303"
  243. pants = Instance.new("Pants",game.Players.LocalPlayer.Character)
  244. pants.PantsTemplate = "rbxassetid://189943600"
  245.  
  246. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1142979747"
  247.  
  248. wait(1)
  249. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "This can go two ways punk", "Green")
  250. wait(3)
  251. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "You walk away", "Green")
  252. wait(3)
  253. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Or I walk in your, face.", "Green")
  254. wait(3)
  255.  
  256. local counter = 0
  257.  
  258. for i=1,200 do
  259.     wait()
  260.     counter = counter+1
  261.     if counter > 2 then
  262.         counter = 0
  263.         local part = Basepart:Clone()
  264.     part.Color = Color3.fromRGB(255,175,0)
  265.     part.Shape = Enum.PartType.Cylinder
  266.     part.Anchored = true
  267. part.CanCollide = false
  268. 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)))
  269. part.Parent = game.Workspace
  270. part.Material = Enum.Material.Neon
  271. part.Size = Vector3.new(1000000000,6,6)
  272.  
  273. game:GetService("Debris"):AddItem(part,1)
  274. table.insert(degrowingList,part)
  275. local part = Basepart:Clone()
  276.     part.Color = Color3.fromRGB(255,175,0)
  277.     part.Shape = Enum.PartType.Ball
  278.     part.Anchored = true
  279. part.CanCollide = false
  280. part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  281. part.Parent = game.Workspace
  282. part.Material = Enum.Material.Neon
  283. part.Size = Vector3.new(1,1,1)
  284. game:GetService("Debris"):AddItem(part,3)
  285. table.insert(growingList,part)
  286.  
  287.     end
  288. for _,player in pairs(game.Workspace:GetChildren()) do
  289.     if player:FindFirstChild("Humanoid") then
  290.         player.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),0)
  291.     end
  292. end
  293.  
  294. end
  295.    
  296.     counter = counter+1
  297. for _,player in pairs(game.Workspace:GetChildren()) do
  298.     if player:FindFirstChild("Humanoid") then
  299.         player.Humanoid.CameraOffset = Vector3.new(0,0,0)
  300.     end
  301.  
  302.  
  303.     end
  304. local colorlist = {ColorSequenceKeypoint.new(0,Color3.fromRGB(0,255,255)),
  305.     ColorSequenceKeypoint.new(0.148,Color3.fromRGB(0,255,255)),
  306.     ColorSequenceKeypoint.new(0.193,Color3.fromRGB(72,0,255)),
  307.     ColorSequenceKeypoint.new(0.366,Color3.fromRGB(72,0,255)),
  308.     ColorSequenceKeypoint.new(0.4,Color3.fromRGB(0,255,255)),
  309.     ColorSequenceKeypoint.new(0.63,Color3.fromRGB(0,255,255)),
  310.     ColorSequenceKeypoint.new(0.8,Color3.fromRGB(72,0,255)),
  311.     ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,255))
  312.     }
  313. local uiParticle = Baseparticle:Clone()
  314. uiParticle.Color = ColorSequence.new(colorlist)
  315. uiParticle.LightEmission = 1
  316. uiParticle.Size = NumberSequence.new(0.8)
  317. uiParticle.LockedToPart = true
  318. uiParticle.Texture = "rbxassetid://1143059159"
  319. local transparencylist = { NumberSequenceKeypoint.new(0,1),
  320.     NumberSequenceKeypoint.new(0.5,0.67),
  321.     NumberSequenceKeypoint.new(1,1)
  322. }
  323.  
  324. uiParticle.Transparency = NumberSequence.new(transparencylist)
  325. uiParticle.ZOffset = -1
  326. uiParticle.LockedToPart = true
  327. uiParticle.Lifetime = NumberRange.new(0.05,0.05)
  328. uiParticle.Speed = NumberRange.new(0,0)
  329. uiParticle.Rate = math.huge
  330.  
  331. for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  332.    
  333.     if hat:IsA("BasePart") then
  334.         if hat.Name ~= "Head" and hat.Name ~= "HumanoidRootPart" then
  335.         uiParticle:Clone().Parent = hat
  336.         end
  337.     end
  338. end
  339.  
  340.  
  341.  
  342. beforesong:Stop()
  343. mainsong = Basesong:Clone()
  344. mainsong.Parent = game.Players.LocalPlayer.Character
  345. mainsong.Looped = true
  346. mainsong.Volume = 3
  347. mainsong.SoundId = "rbxassetid://1106602456"
  348. mainsong:Play()
  349.  
  350. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80
  351. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
  352. game.Players.LocalPlayer.Character.Humanoid.Name = "LolFakeHumanoid"
  353.  
  354. afterimages = {}
  355.  
  356. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = headd
  357.  
  358. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  359.    
  360. end)
  361. amcounter = 0
  362.  
  363. local PhysicsService = game:GetService("PhysicsService")
  364.  
  365.  
  366.  
  367.  
  368. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  369. if part:FindFirstChild("ParticleEmitter") then
  370.             part.ParticleEmitter.Enabled = false
  371.         end
  372.     if part:IsA("BasePart") then
  373.         part.Transparency = 1
  374.     end
  375. end
  376. game.Players.LocalPlayer.Character.Head.face.Transparency = 1
  377.  
  378.  
  379.  
  380. game:GetService("RunService").RenderStepped:connect(function()
  381.     for _,image in pairs(afterimages) do
  382.     for _,part in pairs(image:GetChildren()) do
  383.         if part:IsA("BasePart") then
  384.         part.Transparency = part.Transparency+0.1
  385.         if part:FindFirstChild("face") then
  386.             part.face.Transparency = part.face.Transparency+0.1
  387.         end
  388.         if part.Transparency > 0.9 then
  389.             image:remove()
  390.         end
  391.         end
  392.     end
  393. end
  394.  
  395.     local image = Instance.new("Model",game.Workspace)
  396.     image.Name = "AfterImage"
  397.  
  398. local head = headd:Clone()
  399. head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  400. local hairc = hair:Clone() 
  401. head.Anchored = true
  402. head.Transparency = 0
  403. head.face.Transparency = 0
  404. hairc.Transparency = 0
  405. hairc.Anchored = true
  406. hairc.Weld:remove()
  407. head.Parent = image
  408. hairc.Parent = image
  409. local torsoc = torso:Clone()
  410. torsoc.Parent = image
  411. torsoc.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.Angles(0,math.rad(-180),0)
  412. local armc = arm:Clone()
  413. armc.Parent = image
  414. armc.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
  415. local armc = arm:Clone()
  416. armc.Parent = image
  417. armc.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
  418. local legc = leg1:Clone()
  419. legc.Parent = image
  420. legc.CFrame = game.Players.LocalPlayer.Character["Left Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
  421. local legc = leg2:Clone()
  422. legc.Parent = image
  423. legc.CFrame = game.Players.LocalPlayer.Character["Right Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
  424.  
  425. table.insert(afterimages,image)
  426.  
  427. game.Players.LocalPlayer.Character.Parent = game.Workspace.CurrentCamera
  428. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top