daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = game:GetService("Players").LocalPlayer
  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.  
  87. ---------------
  88.  
  89. --      [[[
  90. --000000[[====================================================================================\\
  91. --000000[[                    DEIVIS97 EDIT    
  92. --000000[[====================================================================================//
  93. --      [[[
  94.  
  95. function sandbox(var,func)
  96.     local env = getfenv(func)
  97.     local newenv = setmetatable({},{
  98.         __index = function(self,k)
  99.             if k=="script" then
  100.                 return var
  101.             else
  102.                 return env[k]
  103.             end
  104.         end,
  105.     })
  106.     setfenv(func,newenv)
  107.     return func
  108. end
  109. cors = {}
  110. mas = Instance.new("Model",game:GetService("Lighting"))
  111. Model0 = Instance.new("Model")
  112. Part1 = Instance.new("Part")
  113. Decal2 = Instance.new("Decal")
  114. Decal3 = Instance.new("Decal")
  115. Decal4 = Instance.new("Decal")
  116. Decal5 = Instance.new("Decal")
  117. Decale = Instance.new("Decal")
  118. Decalee = Instance.new("Decal")
  119. Part6 = Instance.new("Part")
  120. Decal7 = Instance.new("Decal")
  121. Part8 = Instance.new("Part")
  122. Script9 = Instance.new("Script")
  123. Sound10 = Instance.new("Sound")
  124. Sound11 = Instance.new("Sound")
  125. Sound12 = Instance.new("Sound")
  126. Sound13 = Instance.new("Sound")
  127. Sound14 = Instance.new("Sound")
  128. Sound15 = Instance.new("Sound")
  129. Sound16 = Instance.new("Sound")
  130. Sound17 = Instance.new("Sound")
  131. Sound18 = Instance.new("Sound")
  132. Sound19 = Instance.new("Sound")
  133. Sound20 = Instance.new("Sound")
  134. Sound21 = Instance.new("Sound")
  135. Model0.Name = "leppie"
  136. Model0.Parent = mas
  137. Model0.PrimaryPart = Part6
  138. Part1.Name = "Screen"
  139. Part1.Parent = Model0
  140. Part1.BrickColor = BrickColor.new("Maroon")
  141. Part1.Rotation = Vector3.new(-180, 0, -180)
  142. Part1.Anchored = true
  143. Part1.Size = Vector3.new(400.8799591, 400.930027, 1.35998762)
  144. Part1.CFrame = CFrame.new(13.20014, -1.7921829, -39.5804062, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  145. Part1.BottomSurface = Enum.SurfaceType.Smooth
  146. Part1.TopSurface = Enum.SurfaceType.Smooth
  147. Part1.Color = Color3.new(0.458824, 0, 0)
  148. Part1.Position = Vector3.new(13.20014, 200.7921829, -509.5804062)
  149. Part1.Orientation = Vector3.new(0, 180, 0)
  150. Part1.Transparency = 1
  151. Decal2.Name = "face"
  152. Decal2.Parent = Part1
  153. Decal2.Texture = "rbxassetid://421653951"
  154. Decal3.Name = "eyes"
  155. Decal3.Parent = Part1
  156. Decal3.Texture = ""
  157. Decal4.Name = "mouth"
  158. Decal4.Parent = Part1
  159. Decal5.Name = "breek"
  160. Decal5.Parent = Part1
  161. Decal5.Transparency = 1
  162. Decal5.Texture = ""
  163. Part6.Name = "Keyboard"
  164. Part6.Parent = Model0
  165. Part6.BrickColor = BrickColor.new("Really black")
  166. Part6.Rotation = Vector3.new(-180, 0, -180)
  167. Part6.Anchored = true
  168. Part6.Size = Vector3.new(3000.1299744, 1, 3000.2299881)
  169. Part6.CFrame = CFrame.new(13.20014, -62.288559, -4.82504272, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  170. Part6.BottomSurface = Enum.SurfaceType.Smooth
  171. Part6.TopSurface = Enum.SurfaceType.Smooth
  172. Part6.Material = "Grass"
  173. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  174. Part6.Position = Vector3.new(13.20014, -62.288559, -4.82504272)
  175. Part6.Orientation = Vector3.new(0, 180, 0)
  176. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  177. Decal7.Face = Enum.NormalId.Top
  178. Part8.Name = "Toppart"
  179. Part8.Parent = Model0
  180. Part8.BrickColor = BrickColor.new("Really black")
  181. Part8.Rotation = Vector3.new(-180, 0, 0)
  182. Part8.Anchored = true
  183. Part8.CanCollide = false
  184. Part8.Size = Vector3.new(79.1299744, 60.3200264, 1.35998762)
  185. Part8.CFrame = CFrame.new(13.20014, -31.7921829, -39.7079086, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  186. Part8.BottomSurface = Enum.SurfaceType.Smooth
  187. Part8.TopSurface = Enum.SurfaceType.Smooth
  188. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  189. Part8.Position = Vector3.new(13.20014, -31.7921829, -39.7079086)
  190. Part8.Orientation = Vector3.new(0, 180, 180)
  191. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  192. Part8.Transparency = 1
  193. Script9.Parent = Model0
  194. table.insert(cors,sandbox(Script9,function()
  195. leppie = script.Parent
  196. keyboard = script.Parent.Keyboard
  197. screen = script.Parent.Screen
  198. top = script.Parent.Toppart
  199. eyes = leppie.Screen.eyes
  200. face = leppie.Screen.face
  201. mouth = leppie.Screen.mouth
  202.  
  203. local killsky = Instance.new("Sky", game:GetService'Lighting')
  204. killsky.SkyboxBk = "rbxassetid://102397435"
  205. killsky.SkyboxDn = "rbxassetid://102397435"
  206. killsky.SkyboxFt = "rbxassetid://102397435"
  207. killsky.SkyboxLf = "rbxassetid://102397435"
  208. killsky.SkyboxRt = "rbxassetid://102397435"
  209. killsky.SkyboxUp = "rbxassetid://102397435"
  210. killsky.StarCount = 0
  211. killsky.SunAngularSize = 0
  212. killsky.MoonAngularSize = 0
  213. killsky.MoonTextureId = ""
  214. killsky.CelestialBodiesShown = false
  215. game.Lighting.FogColor = Color3.new(0.1,0.1,0.1)
  216. game.Lighting.FogEnd = 0
  217.  
  218.  
  219. local puddle = Instance.new("Part", workspace)
  220. puddle.Transparency = 1
  221. puddle.Anchored = true
  222. puddle.CanCollide = false
  223. puddle.Locked = true
  224. puddle.Position = Vector3.new(13.2, 0.386, -4.825)
  225. puddle.BrickColor = BrickColor.new("Really red")
  226. puddle.Shape = "Cylinder"
  227. puddle.Size = Vector3.new(0.6, 129.53, 132.12)
  228. puddle.Orientation = Vector3.new(0,0,90)
  229. puddle.Material = "Neon"
  230.  
  231. script.Parent.quake:Play()
  232. wait(1)
  233. script.Parent.intro:Play()
  234.  
  235. for i = 1,550 do
  236.     leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,0.125,0))
  237.     wait()
  238. end
  239. script.Parent.quake:Stop()
  240. wait(1)
  241. wait()
  242. puddle.Transparency = 0
  243. wait()
  244. puddle.Transparency = 1
  245. wait()
  246. puddle.Transparency = 1
  247. wait()
  248. puddle.Transparency = 1
  249. wait()
  250. puddle.Transparency = 1
  251. wait()
  252. puddle.Transparency = 1
  253. wait()
  254. puddle.Transparency = 1
  255. wait()
  256. puddle.Transparency = 1
  257. wait()
  258. puddle.Transparency = 1
  259. wait()
  260. puddle.Transparency = 1
  261. wait()
  262. puddle.Transparency = 1
  263. wait()
  264. puddle:Destroy()
  265. killsky.Parent = game.Players
  266. game.Lighting.FogEnd = 10000
  267. local sky = Instance.new('Sky', game:GetService'Lighting')
  268. sky.SkyboxBk = "rbxassetid://2083667"
  269. sky.SkyboxDn = "rbxassetid://2083667"
  270. sky.SkyboxFt = "rbxassetid://2083667"
  271. sky.SkyboxLf = "rbxassetid://2083667"
  272. sky.SkyboxRt = "rbxassetid://2083667"
  273. sky.SkyboxUp = "rbxassetid://2083667"
  274. sky.SunAngularSize = 0
  275. sky.MoonAngularSize = 0
  276. sky.MoonTextureId = ""
  277. sky.CelestialBodiesShown = false
  278. wait(1)
  279. leppie.fite1:Play()
  280.  
  281. for kek = 1,20 do
  282.     local etecc = Instance.new("Part", leppie)
  283.     etecc.BrickColor = BrickColor.Random()
  284.     etecc.Size = Vector3.new(5.59, 4.4, 4.71)
  285.     etecc.Anchored = false
  286.     etecc.CanCollide = true
  287.     etecc.Shape = "Ball"
  288.     etecc.Position = Vector3.new(math.random(-300,300),300, math.random(-300, 300))
  289.     local etecc2 = Instance.new("Part", leppie)
  290.     etecc2.BrickColor = BrickColor.Random()
  291.     etecc2.Size = Vector3.new(5.59, 4.4, 4.71)
  292.     etecc2.Anchored = false
  293.     etecc2.CanCollide = true
  294.     etecc2.Shape = "Ball"
  295.     etecc2.Position = Vector3.new(math.random(-250,250),300, math.random(-250, 250))
  296.     local etecc3 = Instance.new("Part", leppie)
  297.     etecc3.BrickColor = BrickColor.Random()
  298.     etecc3.Size = Vector3.new(5.59, 4.4, 4.71)
  299.     etecc3.Anchored = false
  300.     etecc3.CanCollide = true
  301.     etecc3.Shape = "Ball"
  302.     etecc3.Position = Vector3.new(math.random(-100,100),300, math.random(-100,100))
  303.     local etecc4 = Instance.new("Part", leppie)
  304.     etecc4.BrickColor = BrickColor.Random()
  305.     etecc4.Size = Vector3.new(5.59, 4.4, 4.71)
  306.     etecc4.Anchored = false
  307.     etecc4.CanCollide = true
  308.     etecc4.Shape = "Ball"
  309.     etecc4.Position = Vector3.new(math.random(-50,50),300, math.random(-50,50))
  310. wait(2)
  311. local boom = Instance.new("Explosion", etecc)
  312.                 boom.Position = etecc.Position
  313.                 boom.BlastRadius = 30
  314. local boom2 = Instance.new("Explosion", etecc2)
  315.                 boom2.Position = etecc2.Position
  316.                 boom2.BlastRadius = 30
  317.                 local boom3 = Instance.new("Explosion", etecc3)
  318.                 boom3.Position = etecc3.Position
  319.                 boom3.BlastRadius = 30
  320.                 local boom4 = Instance.new("Explosion", etecc4)
  321.                 boom4.Position = etecc4.Position
  322.                 boom4.BlastRadius = 30            
  323.                 wait(0.5)
  324. etecc:Destroy()
  325. etecc2:Destroy()
  326. etecc3:Destroy()
  327. etecc4:Destroy()
  328. end
  329.  
  330.  
  331. local weakspot = Instance.new("Part", keyboard)
  332. weakspot.BrickColor = BrickColor.new("New Yeller")
  333. weakspot.Position = keyboard.Position
  334. weakspot.Size = Vector3.new(0.85, 9.96, 12.03)
  335. weakspot.Anchored = true
  336. weakspot.CanCollide = true
  337. weakspot.Orientation = Vector3.new(0,0.3,0)
  338. weakspot.Transparency = 1
  339. print("Weak spot has appeared!")
  340. Decale.Name = "face"
  341. Decale.Parent = weakspot
  342. Decale.Texture = "rbxassetid://311212183"
  343. Decale.Face = "Left"
  344. Decalee.Name = "face"
  345. Decalee.Parent = weakspot
  346. Decalee.Texture = "rbxassetid://311212183"
  347. Decalee.Face = "Right"
  348. function onTouch(hit)
  349.     print("weakspot has been attacked!")
  350.     weakspot:Destroy()
  351.     leppie.intro:Stop()
  352.     leppie.pain.Pitch = 0.5
  353.     leppie.pain:Play()
  354.     leppie.crash:Play()
  355. wait(5)
  356.  
  357. local puddle = Instance.new("Part", workspace)
  358. puddle.Transparency = 1
  359. puddle.Anchored = true
  360. puddle.CanCollide = false
  361. puddle.Locked = true
  362. puddle.Position = Vector3.new(13.2, 0.386, -4.825)
  363. puddle.BrickColor = BrickColor.new("Really red")
  364. puddle.Shape = "Cylinder"
  365. puddle.Size = Vector3.new(0.6, 129.53, 132.12)
  366. puddle.Orientation = Vector3.new(0,0,90)
  367. puddle.Material = "Neon"
  368.  
  369. leppie.quake:Play()
  370. local victori = Instance.new("Sound", workspace)
  371. victori.SoundId = "http://www.roblox.com/asset/?id=926451629"
  372. victori.Volume = 10
  373. victori.TimePosition = 0
  374. victori.Looped = false
  375. victori:Play()
  376. for i = 1,500 do
  377.     leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,-25,0))
  378.     wait()
  379. end
  380. leppie.quake:Stop()
  381. sky:Remove()
  382. leppie:Destroy()
  383. end
  384.  
  385. weakspot.Touched:connect(onTouch)
  386.  
  387. end))
  388. Sound10.Name = "portal"
  389. Sound10.Parent = Model0
  390. Sound10.SoundId = "rbxassetid://956585775"
  391. Sound10.Volume = 10
  392. Sound11.Name = "quake"
  393. Sound11.Parent = Model0
  394. Sound11.SoundId = "rbxassetid://1444622148"
  395. Sound11.Volume = 5
  396. Sound12.Name = "intro"
  397. Sound12.Parent = Model0
  398. Sound12.SoundId = "rbxassetid://511174008"
  399. Sound12.Volume = 10
  400. Sound13.Name = "taunt"
  401. Sound13.Parent = Model0
  402. Sound13.SoundId = "rbxassetid://135017578"
  403. Sound13.Volume = 10
  404. Sound14.Name = "laugh"
  405. Sound14.Parent = Model0
  406. Sound14.SoundId = "rbxassetid://357906328"
  407. Sound14.Volume = 10
  408. Sound15.Name = "static"
  409. Sound15.Parent = Model0
  410. Sound15.SoundId = "rbxassetid://132081621"
  411. Sound15.Volume = 10
  412. Sound16.Name = "milkncereal"
  413. Sound16.Parent = Model0
  414. Sound16.SoundId = "rbxassetid://172144294"
  415. Sound16.Volume = 10
  416. Sound17.Name = "reee"
  417. Sound17.Parent = Model0
  418. Sound17.SoundId = "rbxassetid://1286168545"
  419. Sound17.Volume = 10
  420. Sound18.Name = "tooterals"
  421. Sound18.Parent = Model0
  422. Sound18.SoundId = "rbxassetid://647462622"
  423. Sound18.Volume = 10
  424. Sound19.Name = "fite1"
  425. Sound19.Parent = Model0
  426. Sound19.SoundId = "rbxassetid://"
  427. Sound19.Volume = 10
  428. Sound20.Name = "pain"
  429. Sound20.Parent = Model0
  430. Sound20.SoundId = "rbxassetid://406913243"
  431. Sound20.Volume = 10
  432. Sound21.Name = "crash"
  433. Sound21.Parent = Model0
  434. Sound21.SoundId = "rbxassetid://747351124"
  435. Sound21.Volume = 10
  436. for i,v in pairs(mas:GetChildren()) do
  437.     v.Parent = owner
  438.     pcall(function() v:MakeJoints() end)
  439. end
  440. mas:Destroy()
  441. for i,v in pairs(cors) do
  442.     spawn(function()
  443.         pcall(v)
  444.     end)
  445. 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
 
Top