Advertisement
pitrioptixiop

Roblox | Torture map thing script

Aug 22nd, 2018
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.74 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4.     local env = getfenv(func)
  5.     local newenv = setmetatable({},{
  6.         __index = function(self,k)
  7.             if k=="script" then
  8.                 return var
  9.             else
  10.                 return env[k]
  11.             end
  12.         end,
  13.     })
  14.     setfenv(func,newenv)
  15.     return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. Part9 = Instance.new("Part")
  29. Part10 = Instance.new("Part")
  30. PointLight11 = Instance.new("PointLight")
  31. Part12 = Instance.new("Part")
  32. Model13 = Instance.new("Model")
  33. Part14 = Instance.new("Part")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Part18 = Instance.new("Part")
  38. Seat19 = Instance.new("Seat")
  39. Part20 = Instance.new("Part")
  40. Part21 = Instance.new("Part")
  41. Part22 = Instance.new("Part")
  42. Part23 = Instance.new("Part")
  43. Script24 = Instance.new("Script")
  44. Part25 = Instance.new("Part")
  45. Part26 = Instance.new("Part")
  46. Part27 = Instance.new("Part")
  47. Model0.Name = "TortureMap"
  48. Model0.Parent = mas
  49. Part1.Parent = Model0
  50. Part1.CFrame = CFrame.new(-1.63999557, 0.500003994, -23.8128414, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  51. Part1.Position = Vector3.new(-1.63999557, 0.500003994, -23.8128414)
  52. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  53. Part1.Size = Vector3.new(54.3199997, 1, 77.1999893)
  54. Part1.Anchored = true
  55. Part1.BottomSurface = Enum.SurfaceType.Smooth
  56. Part1.BrickColor = BrickColor.new("Really black")
  57. Part1.Material = Enum.Material.Slate
  58. Part1.TopSurface = Enum.SurfaceType.Smooth
  59. Part1.brickColor = BrickColor.new("Really black")
  60. Part2.Parent = Model0
  61. Part2.CFrame = CFrame.new(-1.63999557, 13.840003, -61.6478271, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  62. Part2.Position = Vector3.new(-1.63999557, 13.840003, -61.6478271)
  63. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  64. Part2.Size = Vector3.new(54.3199997, 27.6799984, 1.53000164)
  65. Part2.Anchored = true
  66. Part2.BottomSurface = Enum.SurfaceType.Smooth
  67. Part2.BrickColor = BrickColor.new("Really black")
  68. Part2.Material = Enum.Material.Slate
  69. Part2.TopSurface = Enum.SurfaceType.Smooth
  70. Part2.brickColor = BrickColor.new("Really black")
  71. Part3.Parent = Model0
  72. Part3.CFrame = CFrame.new(-27.8849907, 13.840003, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  73. Part3.Position = Vector3.new(-27.8849907, 13.840003, -23.6778202)
  74. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  75. Part3.Size = Vector3.new(1.83000207, 27.6799984, 77.4700089)
  76. Part3.Anchored = true
  77. Part3.BottomSurface = Enum.SurfaceType.Smooth
  78. Part3.BrickColor = BrickColor.new("Really black")
  79. Part3.Material = Enum.Material.Slate
  80. Part3.TopSurface = Enum.SurfaceType.Smooth
  81. Part3.brickColor = BrickColor.new("Really black")
  82. Part4.Parent = Model0
  83. Part4.CFrame = CFrame.new(24.9574203, 13.840003, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  84. Part4.Position = Vector3.new(24.9574203, 13.840003, -23.6778202)
  85. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  86. Part4.Size = Vector3.new(1.83000207, 27.6799984, 77.4700089)
  87. Part4.Anchored = true
  88. Part4.BottomSurface = Enum.SurfaceType.Smooth
  89. Part4.BrickColor = BrickColor.new("Really black")
  90. Part4.Material = Enum.Material.Slate
  91. Part4.TopSurface = Enum.SurfaceType.Smooth
  92. Part4.brickColor = BrickColor.new("Really black")
  93. Part5.Parent = Model0
  94. Part5.CFrame = CFrame.new(-17.2149849, 13.840003, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  95. Part5.Position = Vector3.new(-17.2149849, 13.840003, 14.5321827)
  96. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  97. Part5.Size = Vector3.new(23.170002, 27.6799984, 1.04999995)
  98. Part5.Anchored = true
  99. Part5.BottomSurface = Enum.SurfaceType.Smooth
  100. Part5.BrickColor = BrickColor.new("Really black")
  101. Part5.Material = Enum.Material.Slate
  102. Part5.TopSurface = Enum.SurfaceType.Smooth
  103. Part5.brickColor = BrickColor.new("Really black")
  104. Part6.Parent = Model0
  105. Part6.CFrame = CFrame.new(14.4054937, 13.840003, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  106. Part6.Position = Vector3.new(14.4054937, 13.840003, 14.5321827)
  107. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  108. Part6.Size = Vector3.new(23.170002, 27.6799984, 1.04999995)
  109. Part6.Anchored = true
  110. Part6.BottomSurface = Enum.SurfaceType.Smooth
  111. Part6.BrickColor = BrickColor.new("Really black")
  112. Part6.Material = Enum.Material.Slate
  113. Part6.TopSurface = Enum.SurfaceType.Smooth
  114. Part6.brickColor = BrickColor.new("Really black")
  115. Part7.Parent = Model0
  116. Part7.CFrame = CFrame.new(-1.18450451, 19.8950081, 14.5321827, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  117. Part7.Position = Vector3.new(-1.18450451, 19.8950081, 14.5321827)
  118. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  119. Part7.Size = Vector3.new(54.3499985, 15.569994, 1.04999995)
  120. Part7.Anchored = true
  121. Part7.BottomSurface = Enum.SurfaceType.Smooth
  122. Part7.BrickColor = BrickColor.new("Really black")
  123. Part7.Material = Enum.Material.Slate
  124. Part7.TopSurface = Enum.SurfaceType.Smooth
  125. Part7.brickColor = BrickColor.new("Really black")
  126. Part8.Parent = Model0
  127. Part8.CFrame = CFrame.new(-1.47450256, 6.4900136, 14.7221737, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  128. Part8.Position = Vector3.new(-1.47450256, 6.4900136, 14.7221737)
  129. Part8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  130. Part8.Size = Vector3.new(9.20999718, 13.0599909, 0.390000224)
  131. Part8.Anchored = true
  132. Part8.BottomSurface = Enum.SurfaceType.Smooth
  133. Part8.BrickColor = BrickColor.new("Institutional white")
  134. Part8.CanCollide = false
  135. Part8.Material = Enum.Material.Neon
  136. Part8.TopSurface = Enum.SurfaceType.Smooth
  137. Part8.brickColor = BrickColor.new("Institutional white")
  138. Part9.Parent = Model0
  139. Part9.CFrame = CFrame.new(-2.11499214, 27.4649944, -23.6778202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  140. Part9.Position = Vector3.new(-2.11499214, 27.4649944, -23.6778202)
  141. Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  142. Part9.Size = Vector3.new(53.3699989, 0.42999652, 77.4700089)
  143. Part9.Anchored = true
  144. Part9.BottomSurface = Enum.SurfaceType.Smooth
  145. Part9.BrickColor = BrickColor.new("Really black")
  146. Part9.Material = Enum.Material.Slate
  147. Part9.TopSurface = Enum.SurfaceType.Smooth
  148. Part9.brickColor = BrickColor.new("Really black")
  149. Part10.Parent = Model0
  150. Part10.CFrame = CFrame.new(-5.36661339, 10.873004, -47.1428452, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  151. Part10.Position = Vector3.new(-5.36661339, 10.873004, -47.1428452)
  152. Part10.Color = Color3.new(0.992157, 0.917647, 0.552941)
  153. Part10.Size = Vector3.new(1.36320102, 1.41999984, 1.50520039)
  154. Part10.Anchored = true
  155. Part10.BottomSurface = Enum.SurfaceType.Smooth
  156. Part10.BrickColor = BrickColor.new("Cool yellow")
  157. Part10.Material = Enum.Material.Neon
  158. Part10.TopSurface = Enum.SurfaceType.Smooth
  159. Part10.brickColor = BrickColor.new("Cool yellow")
  160. PointLight11.Parent = Part10
  161. PointLight11.Range = 25
  162. PointLight11.Brightness = 99
  163. Part12.Parent = Model0
  164. Part12.CFrame = CFrame.new(-5.37821436, 19.2224426, -47.0902481, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  165. Part12.Position = Vector3.new(-5.37821436, 19.2224426, -47.0902481)
  166. Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  167. Part12.Size = Vector3.new(0.100000001, 16.2899952, 0.100000001)
  168. Part12.Anchored = true
  169. Part12.BottomSurface = Enum.SurfaceType.Smooth
  170. Part12.BrickColor = BrickColor.new("Dark stone grey")
  171. Part12.TopSurface = Enum.SurfaceType.Smooth
  172. Part12.brickColor = BrickColor.new("Dark stone grey")
  173. Model13.Name = "Chair"
  174. Model13.Parent = Model0
  175. Part14.Parent = Model13
  176. Part14.CFrame = CFrame.new(-6.06477451, 3.67001748, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  177. Part14.Orientation = Vector3.new(0, 90, 0)
  178. Part14.Position = Vector3.new(-6.06477451, 3.67001748, -49.2181778)
  179. Part14.Rotation = Vector3.new(0, 90, 0)
  180. Part14.Color = Color3.new(0.486275, 0.360784, 0.27451)
  181. Part14.Size = Vector3.new(0.200000003, 5.34000301, 0.200000003)
  182. Part14.Anchored = true
  183. Part14.BrickColor = BrickColor.new("Brown")
  184. Part14.Material = Enum.Material.Wood
  185. Part14.brickColor = BrickColor.new("Brown")
  186. Part15.Parent = Model13
  187. Part15.CFrame = CFrame.new(-4.06477356, 3.66501617, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  188. Part15.Orientation = Vector3.new(0, 90, 0)
  189. Part15.Position = Vector3.new(-4.06477356, 3.66501617, -49.2181778)
  190. Part15.Rotation = Vector3.new(0, 90, 0)
  191. Part15.Color = Color3.new(0.486275, 0.360784, 0.27451)
  192. Part15.Size = Vector3.new(0.200000003, 5.3300004, 0.200000003)
  193. Part15.Anchored = true
  194. Part15.BrickColor = BrickColor.new("Brown")
  195. Part15.Material = Enum.Material.Wood
  196. Part15.brickColor = BrickColor.new("Brown")
  197. Part16.Parent = Model13
  198. Part16.CFrame = CFrame.new(-5.06477451, 6.18169832, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  199. Part16.Orientation = Vector3.new(0, 90, 0)
  200. Part16.Position = Vector3.new(-5.06477451, 6.18169832, -49.2181778)
  201. Part16.Rotation = Vector3.new(0, 90, 0)
  202. Part16.Color = Color3.new(0.486275, 0.360784, 0.27451)
  203. Part16.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
  204. Part16.Anchored = true
  205. Part16.BrickColor = BrickColor.new("Brown")
  206. Part16.Material = Enum.Material.Wood
  207. Part16.brickColor = BrickColor.new("Brown")
  208. Part17.Parent = Model13
  209. Part17.CFrame = CFrame.new(-5.06477451, 5.0269351, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  210. Part17.Orientation = Vector3.new(0, 90, 0)
  211. Part17.Position = Vector3.new(-5.06477451, 5.0269351, -49.2181778)
  212. Part17.Rotation = Vector3.new(0, 90, 0)
  213. Part17.Color = Color3.new(0.486275, 0.360784, 0.27451)
  214. Part17.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
  215. Part17.Anchored = true
  216. Part17.BrickColor = BrickColor.new("Brown")
  217. Part17.Material = Enum.Material.Wood
  218. Part17.brickColor = BrickColor.new("Brown")
  219. Part18.Parent = Model13
  220. Part18.CFrame = CFrame.new(-5.06477451, 5.62760067, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  221. Part18.Orientation = Vector3.new(0, 90, 0)
  222. Part18.Position = Vector3.new(-5.06477451, 5.62760067, -49.2181778)
  223. Part18.Rotation = Vector3.new(0, 90, 0)
  224. Part18.Color = Color3.new(0.486275, 0.360784, 0.27451)
  225. Part18.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
  226. Part18.Anchored = true
  227. Part18.BrickColor = BrickColor.new("Brown")
  228. Part18.Material = Enum.Material.Wood
  229. Part18.brickColor = BrickColor.new("Brown")
  230. Seat19.Parent = Model13
  231. Seat19.CFrame = CFrame.new(-5.06477451, 2.70001698, -48.6181717, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  232. Seat19.Orientation = Vector3.new(0, 180, 0)
  233. Seat19.Position = Vector3.new(-5.06477451, 2.70001698, -48.6181717)
  234. Seat19.Rotation = Vector3.new(-180, 0, -180)
  235. Seat19.Color = Color3.new(0.486275, 0.360784, 0.27451)
  236. Seat19.Transparency = 1
  237. Seat19.Size = Vector3.new(1.79999995, 0.200000003, 1)
  238. Seat19.Anchored = true
  239. Seat19.BrickColor = BrickColor.new("Brown")
  240. Seat19.Material = Enum.Material.Wood
  241. Seat19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  242. Seat19.brickColor = BrickColor.new("Brown")
  243. Part20.Parent = Model13
  244. Part20.CFrame = CFrame.new(-5.06477451, 4.2407999, -49.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  245. Part20.Orientation = Vector3.new(0, 90, 0)
  246. Part20.Position = Vector3.new(-5.06477451, 4.2407999, -49.2181778)
  247. Part20.Rotation = Vector3.new(0, 90, 0)
  248. Part20.Color = Color3.new(0.486275, 0.360784, 0.27451)
  249. Part20.Size = Vector3.new(0.200000003, 0.200000003, 1.80000007)
  250. Part20.Anchored = true
  251. Part20.BrickColor = BrickColor.new("Brown")
  252. Part20.Material = Enum.Material.Wood
  253. Part20.brickColor = BrickColor.new("Brown")
  254. Part21.Parent = Model13
  255. Part21.CFrame = CFrame.new(-6.06477451, 1.90001595, -47.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  256. Part21.Orientation = Vector3.new(0, 90, 0)
  257. Part21.Position = Vector3.new(-6.06477451, 1.90001595, -47.2181778)
  258. Part21.Rotation = Vector3.new(0, 90, 0)
  259. Part21.Color = Color3.new(0.486275, 0.360784, 0.27451)
  260. Part21.Size = Vector3.new(0.200000003, 1.80000043, 0.200000003)
  261. Part21.Anchored = true
  262. Part21.BrickColor = BrickColor.new("Brown")
  263. Part21.Material = Enum.Material.Wood
  264. Part21.brickColor = BrickColor.new("Brown")
  265. Part22.Parent = Model13
  266. Part22.CFrame = CFrame.new(-4.06477356, 1.90001595, -47.2181778, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  267. Part22.Orientation = Vector3.new(0, 90, 0)
  268. Part22.Position = Vector3.new(-4.06477356, 1.90001595, -47.2181778)
  269. Part22.Rotation = Vector3.new(0, 90, 0)
  270. Part22.Color = Color3.new(0.486275, 0.360784, 0.27451)
  271. Part22.Size = Vector3.new(0.200000003, 1.80000043, 0.200000003)
  272. Part22.Anchored = true
  273. Part22.BrickColor = BrickColor.new("Brown")
  274. Part22.Material = Enum.Material.Wood
  275. Part22.brickColor = BrickColor.new("Brown")
  276. Part23.Parent = Model13
  277. Part23.CFrame = CFrame.new(-5.04477501, 2.69001603, -48.2081604, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  278. Part23.Orientation = Vector3.new(0, 90, 0)
  279. Part23.Position = Vector3.new(-5.04477501, 2.69001603, -48.2081604)
  280. Part23.Rotation = Vector3.new(0, 90, 0)
  281. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  282. Part23.Size = Vector3.new(2.17999959, 0.219999984, 2.15999961)
  283. Part23.Anchored = true
  284. Part23.BottomSurface = Enum.SurfaceType.Smooth
  285. Part23.BrickColor = BrickColor.new("Brown")
  286. Part23.Material = Enum.Material.Wood
  287. Part23.TopSurface = Enum.SurfaceType.Smooth
  288. Part23.brickColor = BrickColor.new("Brown")
  289. Script24.Parent = Part23
  290. table.insert(cors,sandbox(Script24,function()
  291. Part23.Touched:Connect(function(hit)
  292. hit.Parent.Humanoid.JumpPower = 0
  293. end)
  294. end))
  295. Part25.Parent = Model13
  296. Part25.CFrame = CFrame.new(-5.90819073, 5.41680956, -48.6281586, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  297. Part25.Orientation = Vector3.new(0, 90, 0)
  298. Part25.Position = Vector3.new(-5.90819073, 5.41680956, -48.6281586)
  299. Part25.Rotation = Vector3.new(0, 90, 0)
  300. Part25.Size = Vector3.new(1.34000015, 0.548181653, 0.147921965)
  301. Part25.Anchored = true
  302. Part25.BottomSurface = Enum.SurfaceType.Smooth
  303. Part25.CanCollide = false
  304. Part25.Material = Enum.Material.Foil
  305. Part25.TopSurface = Enum.SurfaceType.Smooth
  306. Part26.Parent = Model13
  307. Part26.CFrame = CFrame.new(-5.03977299, 5.48180962, -48.0916214, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  308. Part26.Orientation = Vector3.new(0, 90, 0)
  309. Part26.Position = Vector3.new(-5.03977299, 5.48180962, -48.0916214)
  310. Part26.Rotation = Vector3.new(0, 90, 0)
  311. Part26.Size = Vector3.new(0.269999981, 0.759999812, 2.16999936)
  312. Part26.Anchored = true
  313. Part26.BottomSurface = Enum.SurfaceType.Smooth
  314. Part26.CanCollide = false
  315. Part26.Material = Enum.Material.Foil
  316. Part26.TopSurface = Enum.SurfaceType.Smooth
  317. Part27.Parent = Model13
  318. Part27.CFrame = CFrame.new(-4.14495802, 5.41680956, -48.6281586, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  319. Part27.Orientation = Vector3.new(0, 90, 0)
  320. Part27.Position = Vector3.new(-4.14495802, 5.41680956, -48.6281586)
  321. Part27.Rotation = Vector3.new(0, 90, 0)
  322. Part27.Size = Vector3.new(1.34000015, 0.548181653, 0.147921965)
  323. Part27.Anchored = true
  324. Part27.BottomSurface = Enum.SurfaceType.Smooth
  325. Part27.CanCollide = false
  326. Part27.Material = Enum.Material.Foil
  327. Part27.TopSurface = Enum.SurfaceType.Smooth
  328. for i,v in pairs(mas:GetChildren()) do
  329.     v.Parent = workspace
  330.     pcall(function() v:MakeJoints() end)
  331. end
  332. mas:Destroy()
  333. for i,v in pairs(cors) do
  334.     spawn(function()
  335.         pcall(v)
  336.     end)
  337. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement