Advertisement
Upscalefanatic3

Portal House

Oct 4th, 2016
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.54 KB | None | 0 0
  1. name = "Upscalegaming"
  2. me = game.Players[name]
  3. char = me.Character
  4.  
  5. allowed = {"Upscalegaming", "halfomg", "acb227", "neepstars2833", "JLS2710", "xXDarkEnergyXx", "ServerBoost100", "RobloxianFire2", "yandertje", "oxcool1", "pianoman112233"}
  6.  
  7. basec = BrickColor.new("Bright green")
  8. wallc = BrickColor.new("Brown")
  9. windc = BrickColor.new("Ligth blue")
  10. mod = Instance.new("Model")
  11. mod.Parent = workspace
  12. mod.Name = "xSoulsHouse"
  13.  
  14. startpoint = CFrame.new(0,700,0)
  15.  
  16. base = Instance.new("Part")
  17. base.Parent = mod
  18. base.formFactor = 0
  19. base.Size = Vector3.new(250,2,250)
  20. base.CFrame = startpoint * CFrame.new(50,0,50)
  21. base.BrickColor = basec
  22. base.Anchored = true
  23. basemesh = Instance.new("CylinderMesh")
  24. basemesh.Parent = base
  25.  
  26. ig = base:clone()
  27. ig.Parent = mod
  28. ig.Size = Vector3.new(63,2,63)
  29. ig.BrickColor = wallc
  30. ig.CFrame = startpoint * CFrame.new(0,0.03,0)
  31.  
  32. for i=0, 4.74, 0.79 do
  33. local d = Instance.new("Part")
  34. d.Parent = mod
  35. d.formFactor = 0
  36. d.Size = Vector3.new(5,25,27)
  37. d.CFrame = startpoint * CFrame.new(0,12.5,0)
  38. d.CFrame = d.CFrame * CFrame.Angles(0,i,0) * CFrame.new(30,0,0)
  39. d.BrickColor = wallc
  40. d.Anchored = true
  41. d.TopSurface = 0
  42. d.BottomSurface = 0
  43. end
  44. for i=0, 5.53, 0.79 do
  45. local f = Instance.new("Part")
  46. f.Parent = mod
  47. f.formFactor = 0
  48. f.Size = Vector3.new(37,3,27)
  49. f.CFrame = startpoint * CFrame.new(0,26,0)
  50. f.CFrame = f.CFrame * CFrame.Angles(0,i,0) * CFrame.new(14,0,0)
  51. f.BrickColor = wallc
  52. f.Anchored = true
  53. f.TopSurface = 0
  54. f.BottomSurface = 0
  55. end
  56. for i=-12.5, 12.5, 25 do
  57. local gh = Instance.new("Part")
  58. gh.Parent = mod
  59. gh.formFactor = 0
  60. gh.Size = Vector3.new(15,15,3)
  61. gh.CFrame = startpoint * CFrame.new(26,8,26)
  62. gh.CFrame = gh.CFrame * CFrame.Angles(0,-0.79,0) * CFrame.new(0,0,i)
  63. gh.BrickColor = wallc
  64. gh.Anchored = true
  65. gh.TopSurface = 0
  66. gh.BottomSurface = 0
  67. end
  68. for i=-12.5, 12.5, 25 do
  69. local gh = Instance.new("Part")
  70. gh.Parent = mod
  71. gh.formFactor = 0
  72. gh.Size = Vector3.new(15,15,3)
  73. gh.CFrame = startpoint * CFrame.new(45,8,45)
  74. gh.CFrame = gh.CFrame * CFrame.Angles(0,-0.79,0) * CFrame.new(0,0,i)
  75. gh.BrickColor = wallc
  76. gh.Anchored = true
  77. gh.TopSurface = 0
  78. gh.BottomSurface = 0
  79. end
  80. for i=-12.5, 12.5, 25 do
  81. local gh = Instance.new("Part")
  82. gh.Parent = mod
  83. gh.formFactor = 0
  84. gh.Size = Vector3.new(14,3,3)
  85. gh.CFrame = startpoint * CFrame.new(36,2,36)
  86. gh.CFrame = gh.CFrame * CFrame.Angles(0,-0.79,0) * CFrame.new(0,0,i)
  87. gh.BrickColor = wallc
  88. gh.Anchored = true
  89. gh.TopSurface = 0
  90. gh.BottomSurface = 0
  91. local g = Instance.new("Part")
  92. g.Parent = mod
  93. g.formFactor = 0
  94. g.Size = Vector3.new(14,5,3)
  95. g.CFrame = startpoint * CFrame.new(36,13,36)
  96. g.CFrame = g.CFrame * CFrame.Angles(0,-0.79,0) * CFrame.new(0,0,i)
  97. g.BrickColor = wallc
  98. g.Anchored = true
  99. g.TopSurface = 0
  100. g.BottomSurface = 0
  101. local h = Instance.new("Part")
  102. h.Parent = mod
  103. h.formFactor = 0
  104. h.Size = Vector3.new(14,11,2)
  105. h.CFrame = startpoint * CFrame.new(36,6.5,36)
  106. h.CFrame = h.CFrame * CFrame.Angles(0,-0.79,0) * CFrame.new(0,0,i)
  107. h.BrickColor = windc
  108. h.Transparency = 0.5
  109. h.Reflectance = 0.2
  110. h.Anchored = true
  111. h.TopSurface = 0
  112. h.BottomSurface = 0
  113. end
  114. local j = Instance.new("Part")
  115. j.Parent = mod
  116. j.formFactor = 0
  117. j.Size = Vector3.new(40,3,28)
  118. j.CFrame = startpoint * CFrame.new(36,16.5,36)
  119. j.CFrame = j.CFrame * CFrame.Angles(0,-0.79,0)
  120. j.BrickColor = wallc
  121. j.Anchored = true
  122. j.TopSurface = 0
  123. j.BottomSurface = 0
  124. local ghh = Instance.new("Part")
  125. ghh.Parent = mod
  126. ghh.formFactor = 0
  127. ghh.Size = Vector3.new(4,10,28)
  128. ghh.CFrame = startpoint * CFrame.new(22,21,22)
  129. ghh.CFrame = ghh.CFrame * CFrame.Angles(0,-0.79,0)
  130. ghh.BrickColor = wallc
  131. ghh.Anchored = true
  132. ghh.TopSurface = 0
  133. ghh.BottomSurface = 0
  134. for i=-1.58, 3, 0.79 do
  135. local d = Instance.new("Part")
  136. d.Parent = mod
  137. d.formFactor = 0
  138. d.Size = Vector3.new(5,25,27)
  139. d.CFrame = startpoint * CFrame.new(90,12.5,55)
  140. d.CFrame = d.CFrame * CFrame.Angles(0,i,0) * CFrame.new(30,0,0)
  141. d.BrickColor = wallc
  142. d.Anchored = true
  143. d.TopSurface = 0
  144. d.BottomSurface = 0
  145. end
  146. local d = Instance.new("Part")
  147. d.Parent = mod
  148. d.formFactor = 0
  149. d.Size = Vector3.new(5,25,47)
  150. d.CFrame = startpoint * CFrame.new(59,12.5,71)
  151. d.CFrame = d.CFrame * CFrame.Angles(0,4.1,0)
  152. d.BrickColor = wallc
  153. d.Anchored = true
  154. d.TopSurface = 0
  155. d.BottomSurface = 0
  156. local bewm = ig:clone()
  157. bewm.Parent = mod
  158. bewm.Size = Vector3.new(63,2,63)
  159. bewm.BrickColor = wallc
  160. bewm.CFrame = startpoint * CFrame.new(90,0.03,55)
  161. local bah = bewm:clone()
  162. bah.Parent = mod
  163. bah.Mesh:remove()
  164. bah.Size = Vector3.new(65,2,23)
  165. bah.CFrame = startpoint * CFrame.new(44,0.03,44) * CFrame.Angles(0,-0.79,0)
  166. bah.TopSurface = 0
  167. bah.BottomSurface = 0
  168. for i=0, 5.53, 0.79 do
  169. local f = Instance.new("Part")
  170. f.Parent = mod
  171. f.formFactor = 0
  172. f.Size = Vector3.new(37,3,27)
  173. f.CFrame = startpoint * CFrame.new(90,26,55)
  174. f.CFrame = f.CFrame * CFrame.Angles(0,i,0) * CFrame.new(14,0,0)
  175. f.BrickColor = wallc
  176. f.Anchored = true
  177. f.TopSurface = 0
  178. f.BottomSurface = 0
  179. end
  180. local gff = Instance.new("Part")
  181. gff.Parent = mod
  182. gff.formFactor = 0
  183. gff.Size = Vector3.new(26,11,2)
  184. gff.CFrame = startpoint * CFrame.new(60,20.5,42)
  185. gff.CFrame = gff.CFrame * CFrame.Angles(0,-1.58,0) * CFrame.new(14,0,0)
  186. gff.BrickColor = wallc
  187. gff.Anchored = true
  188. gff.TopSurface = 0
  189. gff.BottomSurface = 0
  190.  
  191. local gfjh = Instance.new("WedgePart")
  192. gfjh.Parent = mod
  193. gfjh.formFactor = 0
  194. gfjh.Size = Vector3.new(4,28,27)
  195. gfjh.CFrame = startpoint * CFrame.new(59.5,17,59.5)
  196. gfjh.CFrame = gfjh.CFrame * CFrame.Angles(0,-2.4,1.57) * CFrame.new(0,0,0)
  197. gfjh.BrickColor = wallc
  198. gfjh.Anchored = true
  199. gfjh.TopSurface = 0
  200. gfjh.BottomSurface = 0
  201.  
  202.  
  203. tempbrick = {}
  204.  
  205. for i=0.3, 7.3, 0.3 do
  206. local oo = Instance.new("Part")
  207. oo.Parent = mod
  208. oo.formFactor = 0
  209. oo.Size = Vector3.new(3,1,1)
  210. oo.TopSurface = 0
  211. oo.BottomSurface = 0
  212. oo.Anchored = true
  213. oo.BrickColor = BrickColor.new("Black")
  214. oo.CFrame = workspace.Base.CFrame * CFrame.new(31,6,0)
  215. oo.CFrame = oo.CFrame * CFrame.Angles(i,0,0) * CFrame.new(0,5,0)
  216. local gj = Instance.new("Fire")
  217. gj.Parent = oo
  218. gj.Heat = 10
  219. gj.Size = 4
  220. gj.Enabled = false
  221. coroutine.resume(coroutine.create(function()
  222. while true do
  223. wait(0.2)
  224. local p = math.random(1,6)
  225. if p == 1 then
  226. gj.Enabled = true
  227. wait(1)
  228. gj.Enabled = false
  229. end
  230. end
  231. end))
  232. end
  233.  
  234. ook = Instance.new("Part")
  235. ook.Parent = mod
  236. ook.formFactor = 0
  237. ook.Size = Vector3.new(1,6,6)
  238. ook.TopSurface = 0
  239. ook.BottomSurface = 0
  240. ook.Anchored = true
  241. ook.BrickColor = windc
  242. ook.Reflectance = 0.6
  243. ook.Transparency = 0.7
  244. ook.CanCollide = false
  245. ook.CFrame = workspace.Base.CFrame * CFrame.new(30,6,0)
  246. ook.CFrame = ook.CFrame * CFrame.Angles(0,0,0) * CFrame.new(0,0,0)
  247. mj = Instance.new("SpecialMesh")
  248. mj.Parent = ook
  249. mj.MeshType = "Sphere"
  250. mj.Scale = Vector3.new(1.4,1.4,1.4)
  251.  
  252. ok = Instance.new("Part")
  253. ok.Parent = mod
  254. ok.formFactor = 0
  255. ok.Size = Vector3.new(11,2,11)
  256. ok.Anchored = true
  257. ok.BrickColor = wallc
  258. ok.Transparency = 0
  259. ok.CFrame = workspace.Base.CFrame * CFrame.new(31.5,6,0)
  260. ok.CFrame = ok.CFrame * CFrame.Angles(0,0,1.57) * CFrame.new(0,0,0)
  261. mdj = Instance.new("CylinderMesh")
  262. mdj.Parent = ok
  263. mdj.Scale = Vector3.new(0.95,0.95,0.95)
  264.  
  265. allo = Instance.new("Part")
  266. allo.Parent = mod
  267. allo.Anchored = true
  268. allo.CFrame = workspace.Base.CFrame * CFrame.new(31.5,13,0)
  269. allo.Transparency = 1
  270. allo.CanCollide = false
  271. bill = Instance.new("BillboardGui")
  272. bill.Parent = allo
  273. bill.Adornee = bill.Parent
  274. bill.Size = UDim2.new(0,100,0,100)
  275. txt1 = Instance.new("TextLabel")
  276. txt1.Parent = bill
  277. txt1.Position = UDim2.new(0,50,0,-50)
  278. txt1.BackgroundTransparency = 1
  279. txt1.FontSize = "Size24"
  280. txt1.Text = "xSoulStealerxs private house"
  281. txt2 = txt1:clone()
  282. txt2.Parent = bill
  283. txt2.Position = UDim2.new(0,50,0,-20)
  284. txt2.FontSize = "Size14"
  285.  
  286. fa = txt2:clone()
  287. fa.Position = UDim2.new(0,50,0,0)
  288. fa.Text = ""
  289.  
  290. allstring = ""
  291. allstring2 = ""
  292. local numb = 0
  293. for i=1, #allowed do
  294. numb = numb + 1
  295. if numb >= 7 then
  296. allstring2 = allstring2..allowed[numb]..", "
  297. end
  298. end
  299.  
  300. for i=1, #allowed do
  301. if i >= 7 then
  302. fa.Parent = bill
  303. else
  304. allstring = allstring..allowed[i]..", "
  305. end
  306. end
  307. txt2.Text = "Allowed: "..allstring
  308. fa.Text = allstring2
  309.  
  310. ook.Touched:connect(function(hit)
  311. local pls = game.Players:findFirstChild(hit.Parent.Name)
  312. if pls ~= nil then
  313. for _,v in pairs(allowed) do
  314. if pls.Name:lower() == v:lower() then
  315. pls.Character.Torso.CFrame = startpoint * CFrame.new(0,4,0)
  316. end
  317. end
  318. end
  319. end)
  320.  
  321. for i=0.3, 7.3, 0.3 do
  322. local oo = Instance.new("Part")
  323. oo.Parent = mod
  324. oo.formFactor = 0
  325. oo.Size = Vector3.new(3,1,1)
  326. oo.TopSurface = 0
  327. oo.BottomSurface = 0
  328. oo.Anchored = true
  329. oo.BrickColor = BrickColor.new("Black")
  330. oo.CFrame = startpoint * CFrame.new(26,7,0)
  331. oo.CFrame = oo.CFrame * CFrame.Angles(i,0,0) * CFrame.new(0,5,0)
  332. local gj = Instance.new("Fire")
  333. gj.Parent = oo
  334. gj.Heat = 10
  335. gj.Size = 4
  336. gj.Enabled = false
  337. coroutine.resume(coroutine.create(function()
  338. while true do
  339. wait(0.2)
  340. local p = math.random(1,6)
  341. if p == 1 then
  342. gj.Enabled = true
  343. wait(1)
  344. gj.Enabled = false
  345. end
  346. end
  347. end))
  348. end
  349.  
  350. hi = Instance.new("Part")
  351. hi.Parent = mod
  352. hi.formFactor = 0
  353. hi.Size = Vector3.new(1,6,6)
  354. hi.TopSurface = 0
  355. hi.BottomSurface = 0
  356. hi.Anchored = true
  357. hi.BrickColor = windc
  358. hi.Reflectance = 0.6
  359. hi.Transparency = 0.7
  360. hi.CanCollide = false
  361. hi.CFrame = startpoint * CFrame.new(25,7,0)
  362. hi.CFrame = hi.CFrame * CFrame.Angles(0,0,0) * CFrame.new(0,0,0)
  363. mk = Instance.new("SpecialMesh")
  364. mk.Parent = hi
  365. mk.MeshType = "Sphere"
  366. mk.Scale = Vector3.new(1.4,1.4,1.4)
  367.  
  368. ok = Instance.new("Part")
  369. ok.Parent = mod
  370. ok.formFactor = 0
  371. ok.Size = Vector3.new(11,2,11)
  372. ok.Anchored = true
  373. ok.BrickColor = wallc
  374. ok.Transparency = 0
  375. ok.CFrame = startpoint * CFrame.new(26.5,7,0)
  376. ok.CFrame = ok.CFrame * CFrame.Angles(0,0,1.57) * CFrame.new(0,0,0)
  377. mdj = Instance.new("CylinderMesh")
  378. mdj.Parent = ok
  379. mdj.Scale = Vector3.new(0.95,0.95,0.95)
  380.  
  381. hi.Touched:connect(function(hit)
  382. local pls = game.Players:findFirstChild(hit.Parent.Name)
  383. if pls ~= nil then
  384. pls.Character.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0,4,0)
  385. end
  386. end)
  387.  
  388. me.Chatted:connect(function(msg)
  389. if msg == "del" then
  390. mod:remove()
  391. end
  392. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement