Advertisement
DrakerMaker

VIP Box

Oct 27th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.18 KB | None | 0 0
  1. local P = "Position"
  2. local S = "Size"
  3. local O = "Orientation"
  4. local M = "Material"
  5. local C = "Color"
  6. local V3 = Vector3
  7. local C3 = Color3
  8. local T = "Transparency"
  9. local R = "Reflectance"
  10. local CN = "ClassName"
  11. local SH = "Shape"
  12. local Ins = Instance
  13. local w = owner.Character.Humanoid
  14.  
  15.  
  16. function Build()
  17. local Pt = Ins.new("Part",w)
  18. Pt[P] = V3.new(74.9750061, 0.5, -89.8549728)
  19. Pt[S] = V3.new(31.5899982, 1, 34.3700027)
  20. Pt.Anchored = true
  21. Pt[O] = V3.new(0, 0, 0)
  22. Pt[M] = Enum.Material.Fabric
  23. Pt.BrickColor = BrickColor.new("Plum")
  24. Pt[T] = 0
  25. Pt[R] = 0
  26. if Pt[CN] == "Part" then
  27. Pt[SH] = Enum.PartType.Block
  28. end
  29. return Pt
  30. end
  31. fab = Build()
  32. game:GetService'RunService'.Heartbeat:Wait()
  33.  
  34.  
  35. function Build()
  36. local Pt = Ins.new("Part",w)
  37. Pt[P] = V3.new(59.1550064, 12.8699999, -89.7649765)
  38. Pt[S] = V3.new(12.3300018, 4.17999983, 0.0500000007)
  39. Pt.Anchored = true
  40. Pt[O] = V3.new(0, 90, 0)
  41. Pt[M] = Enum.Material.Plastic
  42. Pt[C] = C3.new(0.584314, 0.47451, 0.466667)
  43. Pt[T] = 1
  44. Pt[R] = 0
  45. if Pt[CN] == "Part" then
  46. Pt[SH] = Enum.PartType.Block
  47. end
  48. end
  49. Build()
  50. function Build()
  51. local Pt = Ins.new("Part",w)
  52. Pt[P] = V3.new(74.9750061, 12.079999, -89.8549728)
  53. Pt[S] = V3.new(31.5899982, 24.1599979, 34.3700027)
  54. Pt.Anchored = true
  55. Pt.CanCollide = false
  56. Pt.CastShadow = false
  57. Pt[O] = V3.new(0, 0, 0)
  58. Pt[M] = Enum.Material.ForceField
  59. Pt.BrickColor = BrickColor.new("Plum")
  60. Pt[T] = 0
  61. Pt[R] = 0
  62. if Pt[CN] == "Part" then
  63. Pt[SH] = Enum.PartType.Block
  64. end
  65. return Pt
  66. end
  67. force = Build()
  68. game:GetService'RunService'.Heartbeat:Wait()
  69. game:GetService'RunService'.Heartbeat:Wait()
  70. local allowed = {owner.Name}
  71. function checkOkToLetIn(name)
  72. for i = 1,#allowed do
  73.  
  74. if (string.upper(name) == string.upper(allowed[i])) then return true end
  75. end
  76. return false
  77. end
  78.  
  79. local Door = force
  80. function Build()
  81. local Pt = Ins.new("Part",w)
  82. Pt[P] = V3.new(84.756546, 4.80032635, -83.2524796)
  83. Pt[S] = V3.new(5.30000019, 1, 1)
  84. Pt.Anchored = true
  85. Pt[O] = V3.new(0, 90, -90)
  86. Pt[M] = Enum.Material.Fabric
  87. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  88. Pt[T] = 0
  89. Pt[R] = 0
  90. if Pt[CN] == "Part" then
  91. Pt[SH] = Enum.PartType.Cylinder
  92. end
  93. end
  94. Build()
  95. game:GetService'RunService'.Heartbeat:Wait()
  96.  
  97.  
  98. function Build()
  99. local Pt = Ins.new("Part",w)
  100. Pt[P] = V3.new(79.8405151, 1.64332771, -96.2553406)
  101. Pt[S] = V3.new(1, 1, 3)
  102. Pt.Anchored = true
  103. Pt[O] = V3.new(0, 90, 90)
  104. Pt[M] = Enum.Material.Wood
  105. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  106. Pt[T] = 0
  107. Pt[R] = 0
  108. if Pt[CN] == "Part" then
  109. Pt[SH] = Enum.PartType.Cylinder
  110. end
  111. end
  112. Build()
  113. game:GetService'RunService'.Heartbeat:Wait()
  114.  
  115.  
  116. function Build()
  117. local Pt = Ins.new("Part",w)
  118. Pt[P] = V3.new(81.955513, 4.32329941, -83.3453445)
  119. Pt[S] = V3.new(5.45000029, 6.80000019, 1.05999994)
  120. Pt.Anchored = true
  121. Pt[O] = V3.new(0, 0, 0)
  122. Pt[M] = Enum.Material.Fabric
  123. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  124. Pt[T] = 0
  125. Pt[R] = 0
  126. if Pt[CN] == "Part" then
  127. Pt[SH] = Enum.PartType.Cylinder
  128. end
  129. end
  130. Build()
  131. game:GetService'RunService'.Heartbeat:Wait()
  132.  
  133.  
  134. function Build()
  135. local Pt = Ins.new("Part",w)
  136. Pt[P] = V3.new(84.6405182, 1.64332581, -83.4553375)
  137. Pt[S] = V3.new(1, 1, 2)
  138. Pt.Anchored = true
  139. Pt[O] = V3.new(0, 90, 90)
  140. Pt[M] = Enum.Material.Wood
  141. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  142. Pt[T] = 0
  143. Pt[R] = 0
  144. if Pt[CN] == "Part" then
  145. Pt[SH] = Enum.PartType.Cylinder
  146. end
  147. end
  148. Build()
  149. game:GetService'RunService'.Heartbeat:Wait()
  150.  
  151.  
  152. function Build()
  153. local Pt = Ins.new("Part",w)
  154. Pt[P] = V3.new(79.8405151, 1.64332771, -83.4553375)
  155. Pt[S] = V3.new(1, 1, 2)
  156. Pt.Anchored = true
  157. Pt[O] = V3.new(0, 90, 90)
  158. Pt[M] = Enum.Material.Wood
  159. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  160. Pt[T] = 0
  161. Pt[R] = 0
  162. if Pt[CN] == "Part" then
  163. Pt[SH] = Enum.PartType.Cylinder
  164. end
  165. end
  166. Build()
  167. game:GetService'RunService'.Heartbeat:Wait()
  168.  
  169.  
  170. function Build()
  171. local Pt = Ins.new("Part",w)
  172. Pt[P] = V3.new(81.740509, 3.64331055, -83.3553391)
  173. Pt[S] = V3.new(5, 1, 1)
  174. Pt.Anchored = true
  175. Pt[O] = V3.new(-90, 0, 0)
  176. Pt[M] = Enum.Material.Fabric
  177. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  178. Pt[T] = 0
  179. Pt[R] = 0
  180. if Pt[CN] == "Part" then
  181. Pt[SH] = Enum.PartType.Block
  182. end
  183. end
  184. Build()
  185. game:GetService'RunService'.Heartbeat:Wait()
  186.  
  187.  
  188. function Build()
  189. local Pt = Ins.new("Seat",w)
  190. Pt[P] = V3.new(81.9054108, 2.94326806, -93.8553391)
  191. Pt[S] = V3.new(4.31000042, 0.400000006, 4)
  192. Pt.Anchored = true
  193. Pt[O] = V3.new(0.0299999993, 87.5, 0)
  194. Pt[M] = Enum.Material.Plastic
  195. Pt[C] = C3.new(0.0666667, 0.0666667, 0.0666667)
  196. Pt[T] = 9
  197. Pt[R] = 0
  198. if Pt[CN] == "Part" then
  199. Pt[SH] = Enum.PartType.Block
  200. end
  201. end
  202. Build()
  203. game:GetService'RunService'.Heartbeat:Wait()
  204.  
  205.  
  206. function Build()
  207. local Pt = Ins.new("Part",w)
  208. Pt[P] = V3.new(84.8055115, 4.85331917, -89.8103256)
  209. Pt[S] = V3.new(5.40000057, 0.870000005, 13.1300106)
  210. Pt.Anchored = true
  211. Pt[O] = V3.new(0, 0, -90)
  212. Pt[M] = Enum.Material.Fabric
  213. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  214. Pt[T] = 0
  215. Pt[R] = 0
  216. if Pt[CN] == "Part" then
  217. Pt[SH] = Enum.PartType.Block
  218. end
  219. end
  220. Build()
  221. game:GetService'RunService'.Heartbeat:Wait()
  222.  
  223.  
  224. function Build()
  225. local Pt = Ins.new("Part",w)
  226. Pt[P] = V3.new(84.6405182, 1.74332619, -96.2553329)
  227. Pt[S] = V3.new(1.20000005, 1, 2)
  228. Pt.Anchored = true
  229. Pt[O] = V3.new(0, 90, 90)
  230. Pt[M] = Enum.Material.Wood
  231. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  232. Pt[T] = 0
  233. Pt[R] = 0
  234. if Pt[CN] == "Part" then
  235. Pt[SH] = Enum.PartType.Cylinder
  236. end
  237. end
  238. Build()
  239. game:GetService'RunService'.Heartbeat:Wait()
  240.  
  241.  
  242. function Build()
  243. local Pt = Ins.new("Seat",w)
  244. Pt[P] = V3.new(81.855423, 2.94438004, -89.8553391)
  245. Pt[S] = V3.new(4.34999943, 0.400000006, 4)
  246. Pt.Anchored = true
  247. Pt[O] = V3.new(0.0299999993, 88.1600037, 0)
  248. Pt[M] = Enum.Material.Plastic
  249. Pt[C] = C3.new(0.0666667, 0.0666667, 0.0666667)
  250. Pt[T] = 9
  251. Pt[R] = 0
  252. if Pt[CN] == "Part" then
  253. Pt[SH] = Enum.PartType.Block
  254. end
  255. end
  256. Build()
  257. game:GetService'RunService'.Heartbeat:Wait()
  258.  
  259.  
  260. function Build()
  261. local Pt = Ins.new("Seat",w)
  262. Pt[P] = V3.new(81.8654175, 2.94442701, -85.8553391)
  263. Pt[S] = V3.new(4.36999846, 0.400000006, 4)
  264. Pt.Anchored = true
  265. Pt[O] = V3.new(0.0299999993, 85.5999985, 0)
  266. Pt[M] = Enum.Material.Plastic
  267. Pt[C] = C3.new(0.0666667, 0.0666667, 0.0666667)
  268. Pt[T] = 9
  269. Pt[R] = 0
  270. if Pt[CN] == "Part" then
  271. Pt[SH] = Enum.PartType.Block
  272. end
  273. end
  274. Build()
  275. game:GetService'RunService'.Heartbeat:Wait()
  276.  
  277.  
  278. function Build()
  279. local Pt = Ins.new("Part",w)
  280. Pt[P] = V3.new(81.8155136, 2.64331245, -89.8553391)
  281. Pt[S] = V3.new(14, 1, 5.15000105)
  282. Pt.Anchored = true
  283. Pt[O] = V3.new(0, -90, 0)
  284. Pt[M] = Enum.Material.Fabric
  285. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  286. Pt[T] = 0
  287. Pt[R] = 0
  288. if Pt[CN] == "Part" then
  289. Pt[SH] = Enum.PartType.Block
  290. end
  291. end
  292. Build()
  293. game:GetService'RunService'.Heartbeat:Wait()
  294.  
  295.  
  296. function Build()
  297. local Pt = Ins.new("Part",w)
  298. Pt[P] = V3.new(84.7565536, 4.82055378, -96.4025192)
  299. Pt[S] = V3.new(5.37000084, 1, 1)
  300. Pt.Anchored = true
  301. Pt[O] = V3.new(0, 90, -90)
  302. Pt[M] = Enum.Material.Fabric
  303. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  304. Pt[T] = 0
  305. Pt[R] = 0
  306. if Pt[CN] == "Part" then
  307. Pt[SH] = Enum.PartType.Cylinder
  308. end
  309. end
  310. Build()
  311. game:GetService'RunService'.Heartbeat:Wait()
  312.  
  313.  
  314. function Build()
  315. local Pt = Ins.new("Part",w)
  316. Pt[P] = V3.new(84.7465591, 7.54331589, -89.8125)
  317. Pt[S] = V3.new(13.1800051, 1, 1)
  318. Pt.Anchored = true
  319. Pt[O] = V3.new(0, 90, 0)
  320. Pt[M] = Enum.Material.Fabric
  321. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  322. Pt[T] = 0
  323. Pt[R] = 0
  324. if Pt[CN] == "Part" then
  325. Pt[SH] = Enum.PartType.Cylinder
  326. end
  327. end
  328. Build()
  329. game:GetService'RunService'.Heartbeat:Wait()
  330.  
  331.  
  332. function Build()
  333. local Pt = Ins.new("Part",w)
  334. Pt[P] = V3.new(81.9656067, 4.32321358, -96.3553619)
  335. Pt[S] = V3.new(5.45000029, 6.80000019, 1.05999994)
  336. Pt.Anchored = true
  337. Pt[O] = V3.new(0, 0, 0)
  338. Pt[M] = Enum.Material.Fabric
  339. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  340. Pt[T] = 0
  341. Pt[R] = 0
  342. if Pt[CN] == "Part" then
  343. Pt[SH] = Enum.PartType.Cylinder
  344. end
  345. end
  346. Build()
  347. game:GetService'RunService'.Heartbeat:Wait()
  348.  
  349.  
  350. function Build()
  351. local Pt = Ins.new("Part",w)
  352. Pt[P] = V3.new(81.740593, 3.64321327, -96.3553543)
  353. Pt[S] = V3.new(5, 1, 1)
  354. Pt.Anchored = true
  355. Pt[O] = V3.new(-90, 0, 0)
  356. Pt[M] = Enum.Material.Fabric
  357. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  358. Pt[T] = 0
  359. Pt[R] = 0
  360. if Pt[CN] == "Part" then
  361. Pt[SH] = Enum.PartType.Block
  362. end
  363. end
  364. Build()
  365. game:GetService'RunService'.Heartbeat:Wait()
  366.  
  367.  
  368. function Build()
  369. local Pt = Ins.new("Part",w)
  370. Pt[P] = V3.new(84.7515793, 7.52729988, -96.3875885)
  371. Pt[S] = V3.new(1.03999972, 1.03999972, 1.03999972)
  372. Pt.Anchored = true
  373. Pt[O] = V3.new(0, 0, 0)
  374. Pt[M] = Enum.Material.Fabric
  375. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  376. Pt[T] = 0
  377. Pt[R] = 0
  378. if Pt[CN] == "Part" then
  379. Pt[SH] = Enum.PartType.Ball
  380. end
  381. end
  382. Build()
  383. game:GetService'RunService'.Heartbeat:Wait()
  384.  
  385.  
  386. function Build()
  387. local Pt = Ins.new("Part",w)
  388. Pt[P] = V3.new(84.7515793, 7.52728271, -83.2575836)
  389. Pt[S] = V3.new(1.03999972, 1.03999972, 1.03999972)
  390. Pt.Anchored = true
  391. Pt[O] = V3.new(0, 0, 0)
  392. Pt[M] = Enum.Material.Fabric
  393. Pt[C] = C3.new(0.337255, 0.258824, 0.211765)
  394. Pt[T] = 0
  395. Pt[R] = 0
  396. if Pt[CN] == "Part" then
  397. Pt[SH] = Enum.PartType.Ball
  398. end
  399. end
  400. Build()
  401. game:GetService'RunService'.Heartbeat:Wait()
  402.  
  403.  
  404.  
  405.  
  406.  
  407. function onTouched(hit)
  408. local human = hit.Parent:findFirstChildOfClass("Humanoid")
  409. if (human ~= nil ) then
  410. if (checkOkToLetIn(human.Parent.Name)) then
  411.  
  412. else human.Parent = nil
  413. end
  414. end
  415. end
  416.  
  417. force.Touched:connect(onTouched)
  418. owner.Chatted:connect(function(msg)
  419. if msg:sub(1,4) == "~add" then
  420. if owner.Parent[msg:sub(6)] ~= nil then
  421. table.insert(allowed, 2, msg:sub(6))
  422. end
  423. end
  424. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement