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,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --Converted with ttyyuu12345's model to script plugin v4
- 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")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- PointLight11 = Instance.new("PointLight")
- Part12 = Instance.new("Part")
- Model13 = Instance.new("Model")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Seat19 = Instance.new("Seat")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Script24 = Instance.new("Script")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- Model0.Name = "TortureMap"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-1.63999557, 0.500003994, -23.8128414, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-1.63999557, 0.500003994, -23.8128414)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Size = Vector3.new(54.3199997, 1, 77.1999893)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Material = Enum.Material.Slate
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- Part2.Parent = Model0
- Part2.CFrame = CFrame.new(-1.63999557, 13.840003, -61.6478271, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(-1.63999557, 13.840003, -61.6478271)
- Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part2.Size = Vector3.new(54.3199997, 27.6799984, 1.53000164)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Really black")
- Part2.Material = Enum.Material.Slate
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Really black")
- Part3.Parent = Model0
- Part3.CFrame = CFrame.new(-27.8849907, 13.840003, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.Position = Vector3.new(-27.8849907, 13.840003, -23.6778202)
- Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part3.Size = Vector3.new(1.83000207, 27.6799984, 77.4700089)
- Part3.Anchored = true
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.BrickColor = BrickColor.new("Really black")
- Part3.Material = Enum.Material.Slate
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.brickColor = BrickColor.new("Really black")
- Part4.Parent = Model0
- Part4.CFrame = CFrame.new(24.9574203, 13.840003, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(24.9574203, 13.840003, -23.6778202)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part4.Size = Vector3.new(1.83000207, 27.6799984, 77.4700089)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.Material = Enum.Material.Slate
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Really black")
- Part5.Parent = Model0
- Part5.CFrame = CFrame.new(-17.2149849, 13.840003, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part5.Position = Vector3.new(-17.2149849, 13.840003, 14.5321827)
- Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part5.Size = Vector3.new(23.170002, 27.6799984, 1.04999995)
- Part5.Anchored = true
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Really black")
- Part5.Material = Enum.Material.Slate
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Really black")
- Part6.Parent = Model0
- Part6.CFrame = CFrame.new(14.4054937, 13.840003, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.Position = Vector3.new(14.4054937, 13.840003, 14.5321827)
- Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part6.Size = Vector3.new(23.170002, 27.6799984, 1.04999995)
- Part6.Anchored = true
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.BrickColor = BrickColor.new("Really black")
- Part6.Material = Enum.Material.Slate
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.brickColor = BrickColor.new("Really black")
- Part7.Parent = Model0
- Part7.CFrame = CFrame.new(-1.18450451, 19.8950081, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.Position = Vector3.new(-1.18450451, 19.8950081, 14.5321827)
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part7.Size = Vector3.new(54.3499985, 15.569994, 1.04999995)
- Part7.Anchored = true
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Really black")
- Part7.Material = Enum.Material.Slate
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Really black")
- Part8.Parent = Model0
- Part8.CFrame = CFrame.new(-1.47450256, 6.4900136, 14.7221737, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.Position = Vector3.new(-1.47450256, 6.4900136, 14.7221737)
- Part8.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part8.Size = Vector3.new(9.20999718, 13.0599909, 0.390000224)
- Part8.Anchored = true
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.BrickColor = BrickColor.new("Institutional white")
- Part8.CanCollide = false
- Part8.Material = Enum.Material.Neon
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.brickColor = BrickColor.new("Institutional white")
- Part9.Parent = Model0
- Part9.CFrame = CFrame.new(-2.11499214, 27.4649944, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Position = Vector3.new(-2.11499214, 27.4649944, -23.6778202)
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part9.Size = Vector3.new(53.3699989, 0.42999652, 77.4700089)
- Part9.Anchored = true
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.BrickColor = BrickColor.new("Really black")
- Part9.Material = Enum.Material.Slate
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.brickColor = BrickColor.new("Really black")
- Part10.Parent = Model0
- Part10.CFrame = CFrame.new(-5.36661339, 10.873004, -47.1428452, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(-5.36661339, 10.873004, -47.1428452)
- Part10.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part10.Size = Vector3.new(1.36320102, 1.41999984, 1.50520039)
- Part10.Anchored = true
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.BrickColor = BrickColor.new("Cool yellow")
- Part10.Material = Enum.Material.Neon
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.brickColor = BrickColor.new("Cool yellow")
- PointLight11.Parent = Part10
- PointLight11.Range = 25
- PointLight11.Brightness = 99
- Part12.Parent = Model0
- Part12.CFrame = CFrame.new(-5.37821436, 19.2224426, -47.0902481, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Position = Vector3.new(-5.37821436, 19.2224426, -47.0902481)
- Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part12.Size = Vector3.new(0.100000001, 16.2899952, 0.100000001)
- Part12.Anchored = true
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.BrickColor = BrickColor.new("Dark stone grey")
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.brickColor = BrickColor.new("Dark stone grey")
- Model13.Name = "Chair"
- Model13.Parent = Model0
- Part14.Parent = Model13
- Part14.CFrame = CFrame.new(-6.06477451, 3.67001748, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part14.Orientation = Vector3.new(0, 90, 0)
- Part14.Position = Vector3.new(-6.06477451, 3.67001748, -49.2181778)
- Part14.Rotation = Vector3.new(0, 90, 0)
- Part14.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part14.Size = Vector3.new(0.200000003, 5.34000301, 0.200000003)
- Part14.Anchored = true
- Part14.BrickColor = BrickColor.new("Brown")
- Part14.Material = Enum.Material.Wood
- Part14.brickColor = BrickColor.new("Brown")
- Part15.Parent = Model13
- Part15.CFrame = CFrame.new(-4.06477356, 3.66501617, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part15.Orientation = Vector3.new(0, 90, 0)
- Part15.Position = Vector3.new(-4.06477356, 3.66501617, -49.2181778)
- Part15.Rotation = Vector3.new(0, 90, 0)
- Part15.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part15.Size = Vector3.new(0.200000003, 5.3300004, 0.200000003)
- Part15.Anchored = true
- Part15.BrickColor = BrickColor.new("Brown")
- Part15.Material = Enum.Material.Wood
- Part15.brickColor = BrickColor.new("Brown")
- Part16.Parent = Model13
- Part16.CFrame = CFrame.new(-5.06477451, 6.18169832, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part16.Orientation = Vector3.new(0, 90, 0)
- Part16.Position = Vector3.new(-5.06477451, 6.18169832, -49.2181778)
- Part16.Rotation = Vector3.new(0, 90, 0)
- Part16.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part16.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
- Part16.Anchored = true
- Part16.BrickColor = BrickColor.new("Brown")
- Part16.Material = Enum.Material.Wood
- Part16.brickColor = BrickColor.new("Brown")
- Part17.Parent = Model13
- Part17.CFrame = CFrame.new(-5.06477451, 5.0269351, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part17.Orientation = Vector3.new(0, 90, 0)
- Part17.Position = Vector3.new(-5.06477451, 5.0269351, -49.2181778)
- Part17.Rotation = Vector3.new(0, 90, 0)
- Part17.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part17.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
- Part17.Anchored = true
- Part17.BrickColor = BrickColor.new("Brown")
- Part17.Material = Enum.Material.Wood
- Part17.brickColor = BrickColor.new("Brown")
- Part18.Parent = Model13
- Part18.CFrame = CFrame.new(-5.06477451, 5.62760067, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part18.Orientation = Vector3.new(0, 90, 0)
- Part18.Position = Vector3.new(-5.06477451, 5.62760067, -49.2181778)
- Part18.Rotation = Vector3.new(0, 90, 0)
- Part18.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part18.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
- Part18.Anchored = true
- Part18.BrickColor = BrickColor.new("Brown")
- Part18.Material = Enum.Material.Wood
- Part18.brickColor = BrickColor.new("Brown")
- Seat19.Parent = Model13
- Seat19.CFrame = CFrame.new(-5.06477451, 2.70001698, -48.6181717, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Seat19.Orientation = Vector3.new(0, 180, 0)
- Seat19.Position = Vector3.new(-5.06477451, 2.70001698, -48.6181717)
- Seat19.Rotation = Vector3.new(-180, 0, -180)
- Seat19.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Seat19.Transparency = 1
- Seat19.Size = Vector3.new(1.79999995, 0.200000003, 1)
- Seat19.Anchored = true
- Seat19.BrickColor = BrickColor.new("Brown")
- Seat19.Material = Enum.Material.Wood
- Seat19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Seat19.brickColor = BrickColor.new("Brown")
- Part20.Parent = Model13
- Part20.CFrame = CFrame.new(-5.06477451, 4.2407999, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Position = Vector3.new(-5.06477451, 4.2407999, -49.2181778)
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part20.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
- Part20.Anchored = true
- Part20.BrickColor = BrickColor.new("Brown")
- Part20.Material = Enum.Material.Wood
- Part20.brickColor = BrickColor.new("Brown")
- Part21.Parent = Model13
- Part21.CFrame = CFrame.new(-6.06477451, 1.90001595, -47.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part21.Orientation = Vector3.new(0, 90, 0)
- Part21.Position = Vector3.new(-6.06477451, 1.90001595, -47.2181778)
- Part21.Rotation = Vector3.new(0, 90, 0)
- Part21.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part21.Size = Vector3.new(0.200000003, 1.80000043, 0.200000003)
- Part21.Anchored = true
- Part21.BrickColor = BrickColor.new("Brown")
- Part21.Material = Enum.Material.Wood
- Part21.brickColor = BrickColor.new("Brown")
- Part22.Parent = Model13
- Part22.CFrame = CFrame.new(-4.06477356, 1.90001595, -47.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part22.Orientation = Vector3.new(0, 90, 0)
- Part22.Position = Vector3.new(-4.06477356, 1.90001595, -47.2181778)
- Part22.Rotation = Vector3.new(0, 90, 0)
- Part22.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part22.Size = Vector3.new(0.200000003, 1.80000043, 0.200000003)
- Part22.Anchored = true
- Part22.BrickColor = BrickColor.new("Brown")
- Part22.Material = Enum.Material.Wood
- Part22.brickColor = BrickColor.new("Brown")
- Part23.Parent = Model13
- Part23.CFrame = CFrame.new(-5.04477501, 2.69001603, -48.2081604, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part23.Orientation = Vector3.new(0, 90, 0)
- Part23.Position = Vector3.new(-5.04477501, 2.69001603, -48.2081604)
- Part23.Rotation = Vector3.new(0, 90, 0)
- Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part23.Size = Vector3.new(2.17999959, 0.219999984, 2.15999961)
- Part23.Anchored = true
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.BrickColor = BrickColor.new("Brown")
- Part23.Material = Enum.Material.Wood
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.brickColor = BrickColor.new("Brown")
- Script24.Parent = Part23
- table.insert(cors,sandbox(Script24,function()
- Part23.Touched:Connect(function(hit)
- hit.Parent.Humanoid.JumpPower = 0
- end)
- end))
- Part25.Parent = Model13
- Part25.CFrame = CFrame.new(-5.90819073, 5.41680956, -48.6281586, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part25.Orientation = Vector3.new(0, 90, 0)
- Part25.Position = Vector3.new(-5.90819073, 5.41680956, -48.6281586)
- Part25.Rotation = Vector3.new(0, 90, 0)
- Part25.Size = Vector3.new(1.34000015, 0.548181653, 0.147921965)
- Part25.Anchored = true
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.CanCollide = false
- Part25.Material = Enum.Material.Foil
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part26.Parent = Model13
- Part26.CFrame = CFrame.new(-5.03977299, 5.48180962, -48.0916214, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part26.Orientation = Vector3.new(0, 90, 0)
- Part26.Position = Vector3.new(-5.03977299, 5.48180962, -48.0916214)
- Part26.Rotation = Vector3.new(0, 90, 0)
- Part26.Size = Vector3.new(0.269999981, 0.759999812, 2.16999936)
- Part26.Anchored = true
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.CanCollide = false
- Part26.Material = Enum.Material.Foil
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part27.Parent = Model13
- Part27.CFrame = CFrame.new(-4.14495802, 5.41680956, -48.6281586, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part27.Orientation = Vector3.new(0, 90, 0)
- Part27.Position = Vector3.new(-4.14495802, 5.41680956, -48.6281586)
- Part27.Rotation = Vector3.new(0, 90, 0)
- Part27.Size = Vector3.new(1.34000015, 0.548181653, 0.147921965)
- Part27.Anchored = true
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.CanCollide = false
- Part27.Material = Enum.Material.Foil
- Part27.TopSurface = Enum.SurfaceType.Smooth
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement