Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
- -- [[[
- --000000[[====================================================================================\\
- --000000[[ DEIVIS97 EDIT
- --000000[[====================================================================================//
- -- [[[
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Decal2 = Instance.new("Decal")
- Decal3 = Instance.new("Decal")
- Decal4 = Instance.new("Decal")
- Decal5 = Instance.new("Decal")
- Decale = Instance.new("Decal")
- Decalee = Instance.new("Decal")
- Part6 = Instance.new("Part")
- Decal7 = Instance.new("Decal")
- Part8 = Instance.new("Part")
- Script9 = Instance.new("Script")
- Sound10 = Instance.new("Sound")
- Sound11 = Instance.new("Sound")
- Sound12 = Instance.new("Sound")
- Sound13 = Instance.new("Sound")
- Sound14 = Instance.new("Sound")
- Sound15 = Instance.new("Sound")
- Sound16 = Instance.new("Sound")
- Sound17 = Instance.new("Sound")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- Sound21 = Instance.new("Sound")
- Model0.Name = "leppie"
- Model0.Parent = mas
- Model0.PrimaryPart = Part6
- Part1.Name = "Screen"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Maroon")
- Part1.Rotation = Vector3.new(-180, 0, -180)
- Part1.Anchored = true
- Part1.Size = Vector3.new(400.8799591, 400.930027, 1.35998762)
- Part1.CFrame = CFrame.new(13.20014, -1.7921829, -39.5804062, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.458824, 0, 0)
- Part1.Position = Vector3.new(13.20014, 200.7921829, -509.5804062)
- Part1.Orientation = Vector3.new(0, 180, 0)
- Part1.Transparency = 1
- Decal2.Name = "face"
- Decal2.Parent = Part1
- Decal2.Texture = "rbxassetid://421653951"
- Decal3.Name = "eyes"
- Decal3.Parent = Part1
- Decal3.Texture = ""
- Decal4.Name = "mouth"
- Decal4.Parent = Part1
- Decal5.Name = "breek"
- Decal5.Parent = Part1
- Decal5.Transparency = 1
- Decal5.Texture = ""
- Part6.Name = "Keyboard"
- Part6.Parent = Model0
- Part6.BrickColor = BrickColor.new("Really black")
- Part6.Rotation = Vector3.new(-180, 0, -180)
- Part6.Anchored = true
- Part6.Size = Vector3.new(3000.1299744, 1, 3000.2299881)
- Part6.CFrame = CFrame.new(13.20014, -62.288559, -4.82504272, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Material = "Grass"
- Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part6.Position = Vector3.new(13.20014, -62.288559, -4.82504272)
- Part6.Orientation = Vector3.new(0, 180, 0)
- Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal7.Face = Enum.NormalId.Top
- Part8.Name = "Toppart"
- Part8.Parent = Model0
- Part8.BrickColor = BrickColor.new("Really black")
- Part8.Rotation = Vector3.new(-180, 0, 0)
- Part8.Anchored = true
- Part8.CanCollide = false
- Part8.Size = Vector3.new(79.1299744, 60.3200264, 1.35998762)
- Part8.CFrame = CFrame.new(13.20014, -31.7921829, -39.7079086, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part8.Position = Vector3.new(13.20014, -31.7921829, -39.7079086)
- Part8.Orientation = Vector3.new(0, 180, 180)
- Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part8.Transparency = 1
- Script9.Parent = Model0
- table.insert(cors,sandbox(Script9,function()
- leppie = script.Parent
- keyboard = script.Parent.Keyboard
- screen = script.Parent.Screen
- top = script.Parent.Toppart
- eyes = leppie.Screen.eyes
- face = leppie.Screen.face
- mouth = leppie.Screen.mouth
- local killsky = Instance.new("Sky", game:GetService'Lighting')
- killsky.SkyboxBk = "rbxassetid://102397435"
- killsky.SkyboxDn = "rbxassetid://102397435"
- killsky.SkyboxFt = "rbxassetid://102397435"
- killsky.SkyboxLf = "rbxassetid://102397435"
- killsky.SkyboxRt = "rbxassetid://102397435"
- killsky.SkyboxUp = "rbxassetid://102397435"
- killsky.StarCount = 0
- killsky.SunAngularSize = 0
- killsky.MoonAngularSize = 0
- killsky.MoonTextureId = ""
- killsky.CelestialBodiesShown = false
- game.Lighting.FogColor = Color3.new(0.1,0.1,0.1)
- game.Lighting.FogEnd = 0
- local puddle = Instance.new("Part", workspace)
- puddle.Transparency = 1
- puddle.Anchored = true
- puddle.CanCollide = false
- puddle.Locked = true
- puddle.Position = Vector3.new(13.2, 0.386, -4.825)
- puddle.BrickColor = BrickColor.new("Really red")
- puddle.Shape = "Cylinder"
- puddle.Size = Vector3.new(0.6, 129.53, 132.12)
- puddle.Orientation = Vector3.new(0,0,90)
- puddle.Material = "Neon"
- script.Parent.quake:Play()
- wait(1)
- script.Parent.intro:Play()
- for i = 1,550 do
- leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,0.125,0))
- wait()
- end
- script.Parent.quake:Stop()
- wait(1)
- wait()
- puddle.Transparency = 0
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle.Transparency = 1
- wait()
- puddle:Destroy()
- killsky.Parent = game.Players
- game.Lighting.FogEnd = 10000
- local sky = Instance.new('Sky', game:GetService'Lighting')
- sky.SkyboxBk = "rbxassetid://2083667"
- sky.SkyboxDn = "rbxassetid://2083667"
- sky.SkyboxFt = "rbxassetid://2083667"
- sky.SkyboxLf = "rbxassetid://2083667"
- sky.SkyboxRt = "rbxassetid://2083667"
- sky.SkyboxUp = "rbxassetid://2083667"
- sky.SunAngularSize = 0
- sky.MoonAngularSize = 0
- sky.MoonTextureId = ""
- sky.CelestialBodiesShown = false
- wait(1)
- leppie.fite1:Play()
- for kek = 1,20 do
- local etecc = Instance.new("Part", leppie)
- etecc.BrickColor = BrickColor.Random()
- etecc.Size = Vector3.new(5.59, 4.4, 4.71)
- etecc.Anchored = false
- etecc.CanCollide = true
- etecc.Shape = "Ball"
- etecc.Position = Vector3.new(math.random(-300,300),300, math.random(-300, 300))
- local etecc2 = Instance.new("Part", leppie)
- etecc2.BrickColor = BrickColor.Random()
- etecc2.Size = Vector3.new(5.59, 4.4, 4.71)
- etecc2.Anchored = false
- etecc2.CanCollide = true
- etecc2.Shape = "Ball"
- etecc2.Position = Vector3.new(math.random(-250,250),300, math.random(-250, 250))
- local etecc3 = Instance.new("Part", leppie)
- etecc3.BrickColor = BrickColor.Random()
- etecc3.Size = Vector3.new(5.59, 4.4, 4.71)
- etecc3.Anchored = false
- etecc3.CanCollide = true
- etecc3.Shape = "Ball"
- etecc3.Position = Vector3.new(math.random(-100,100),300, math.random(-100,100))
- local etecc4 = Instance.new("Part", leppie)
- etecc4.BrickColor = BrickColor.Random()
- etecc4.Size = Vector3.new(5.59, 4.4, 4.71)
- etecc4.Anchored = false
- etecc4.CanCollide = true
- etecc4.Shape = "Ball"
- etecc4.Position = Vector3.new(math.random(-50,50),300, math.random(-50,50))
- wait(2)
- local boom = Instance.new("Explosion", etecc)
- boom.Position = etecc.Position
- boom.BlastRadius = 30
- local boom2 = Instance.new("Explosion", etecc2)
- boom2.Position = etecc2.Position
- boom2.BlastRadius = 30
- local boom3 = Instance.new("Explosion", etecc3)
- boom3.Position = etecc3.Position
- boom3.BlastRadius = 30
- local boom4 = Instance.new("Explosion", etecc4)
- boom4.Position = etecc4.Position
- boom4.BlastRadius = 30
- wait(0.5)
- etecc:Destroy()
- etecc2:Destroy()
- etecc3:Destroy()
- etecc4:Destroy()
- end
- local weakspot = Instance.new("Part", keyboard)
- weakspot.BrickColor = BrickColor.new("New Yeller")
- weakspot.Position = keyboard.Position
- weakspot.Size = Vector3.new(0.85, 9.96, 12.03)
- weakspot.Anchored = true
- weakspot.CanCollide = true
- weakspot.Orientation = Vector3.new(0,0.3,0)
- weakspot.Transparency = 1
- print("Weak spot has appeared!")
- Decale.Name = "face"
- Decale.Parent = weakspot
- Decale.Texture = "rbxassetid://311212183"
- Decale.Face = "Left"
- Decalee.Name = "face"
- Decalee.Parent = weakspot
- Decalee.Texture = "rbxassetid://311212183"
- Decalee.Face = "Right"
- function onTouch(hit)
- print("weakspot has been attacked!")
- weakspot:Destroy()
- leppie.intro:Stop()
- leppie.pain.Pitch = 0.5
- leppie.pain:Play()
- leppie.crash:Play()
- wait(5)
- local puddle = Instance.new("Part", workspace)
- puddle.Transparency = 1
- puddle.Anchored = true
- puddle.CanCollide = false
- puddle.Locked = true
- puddle.Position = Vector3.new(13.2, 0.386, -4.825)
- puddle.BrickColor = BrickColor.new("Really red")
- puddle.Shape = "Cylinder"
- puddle.Size = Vector3.new(0.6, 129.53, 132.12)
- puddle.Orientation = Vector3.new(0,0,90)
- puddle.Material = "Neon"
- leppie.quake:Play()
- local victori = Instance.new("Sound", workspace)
- victori.SoundId = "http://www.roblox.com/asset/?id=926451629"
- victori.Volume = 10
- victori.TimePosition = 0
- victori.Looped = false
- victori:Play()
- for i = 1,500 do
- leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,-25,0))
- wait()
- end
- leppie.quake:Stop()
- sky:Remove()
- leppie:Destroy()
- end
- weakspot.Touched:connect(onTouch)
- end))
- Sound10.Name = "portal"
- Sound10.Parent = Model0
- Sound10.SoundId = "rbxassetid://956585775"
- Sound10.Volume = 10
- Sound11.Name = "quake"
- Sound11.Parent = Model0
- Sound11.SoundId = "rbxassetid://1444622148"
- Sound11.Volume = 5
- Sound12.Name = "intro"
- Sound12.Parent = Model0
- Sound12.SoundId = "rbxassetid://511174008"
- Sound12.Volume = 10
- Sound13.Name = "taunt"
- Sound13.Parent = Model0
- Sound13.SoundId = "rbxassetid://135017578"
- Sound13.Volume = 10
- Sound14.Name = "laugh"
- Sound14.Parent = Model0
- Sound14.SoundId = "rbxassetid://357906328"
- Sound14.Volume = 10
- Sound15.Name = "static"
- Sound15.Parent = Model0
- Sound15.SoundId = "rbxassetid://132081621"
- Sound15.Volume = 10
- Sound16.Name = "milkncereal"
- Sound16.Parent = Model0
- Sound16.SoundId = "rbxassetid://172144294"
- Sound16.Volume = 10
- Sound17.Name = "reee"
- Sound17.Parent = Model0
- Sound17.SoundId = "rbxassetid://1286168545"
- Sound17.Volume = 10
- Sound18.Name = "tooterals"
- Sound18.Parent = Model0
- Sound18.SoundId = "rbxassetid://647462622"
- Sound18.Volume = 10
- Sound19.Name = "fite1"
- Sound19.Parent = Model0
- Sound19.SoundId = "rbxassetid://"
- Sound19.Volume = 10
- Sound20.Name = "pain"
- Sound20.Parent = Model0
- Sound20.SoundId = "rbxassetid://406913243"
- Sound20.Volume = 10
- Sound21.Name = "crash"
- Sound21.Parent = Model0
- Sound21.SoundId = "rbxassetid://747351124"
- Sound21.Volume = 10
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement