Advertisement
kqdragon

nani

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