Advertisement
FloweyTheFlower

Roblox Map Scripts #4 Island Tower

Aug 26th, 2017
2,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.02 KB | None | 0 0
  1. --[[
  2. Island Dimension made by Fenrier.
  3. Edit by BonnieKunG1s
  4. ]]
  5. it=Instance.new
  6. vt=Vector3.new
  7. cf=CFrame.new
  8. euler=CFrame.fromEulerAnglesXYZ
  9. angles=CFrame.Angles
  10. teledebounce=false
  11. teledebounce2=false
  12.  
  13. if workspace.Base:findFirstChild("Tower Model",true) ~= nil then
  14. workspace.Base:findFirstChild("Tower Model",true).Parent = nil
  15. end
  16.  
  17.  
  18. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
  19. local fp = it("Part")
  20. fp.formFactor = formfactor
  21. fp.Parent = parent
  22. fp.Reflectance = reflectance
  23. fp.Transparency = transparency
  24. fp.CanCollide = true
  25. fp.Anchored = true
  26. fp.Locked=true
  27. fp.BrickColor = brickcolor
  28. fp.Name = name
  29. fp.Size = size
  30. fp.CFrame = cframe
  31. fp.BottomSurface="Smooth"
  32. fp.TopSurface="Smooth"
  33. fp:BreakJoints()
  34. return fp
  35. end
  36.  
  37. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  38. local mesh = it(Mesh)
  39. mesh.Parent = part
  40. if Mesh=="SpecialMesh" then
  41. mesh.MeshType = meshtype
  42. mesh.MeshId = meshid
  43. end
  44. mesh.Offset=offset
  45. mesh.Scale=scale
  46. return mesh
  47. end
  48.  
  49. function weld(parent,part0,part1,c0)
  50. local weld = it("Weld")
  51. weld.Parent = parent
  52. weld.Part0 = part0
  53. weld.Part1 = part1
  54. weld.C0 = c0
  55. return weld
  56. end
  57.  
  58. local modelzorz = Instance.new("Model")
  59. modelzorz.Parent = workspace.Base
  60. modelzorz.Name = "Tower Model"
  61. script.Parent=modelzorz
  62.  
  63. local prt1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(2,100,20),cf(100,50,20))
  64. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(2,100,20),cf(100,50,-20))
  65. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(2,80,20),cf(100,60,0))
  66. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(2,100,60),cf(130,50,29)*euler(0,1.57,0))
  67. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(2,100,60),cf(130,50,-29)*euler(0,1.57,0))
  68. local prt6=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(2,100,60),cf(160,50,0))
  69. local prt7=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(80,2,80),cf(130,100,0))
  70. local prt8=part(3,modelzorz,0,0,BrickColor.new("Br. yellowish green"),"Part8",vt(20,3,20),cf(150,100,0))
  71. local prt9=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(3,3,79.99),cf(91.51,101,0))
  72. local prt10=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(3,3,79.99),cf(168.49,101,0))
  73. local prt11=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part11",vt(3,3,79.99),cf(130,101,38.48)*euler(0,1.57,0))
  74. local prt12=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part12",vt(3,3,79.99),cf(130,101,-38.48)*euler(0,1.57,0))
  75. local prt13=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part13",vt(2,20,20),cf(100,110,20))
  76. local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part14",vt(2,20,20),cf(100,110,-20))
  77. local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(2,20,20),cf(110,110,29)*euler(0,1.57,0))
  78. local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(2,20,20),cf(150,110,29)*euler(0,1.57,0))
  79. local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part17",vt(2,20,20),cf(160,110,20))
  80. local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(2,20,20),cf(160,110,-20))
  81. local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(2,20,20),cf(110,110,-29)*euler(0,1.57,0))
  82. local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(2,20,20),cf(150,110,-29)*euler(0,1.57,0))
  83. local prt21=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part21",vt(61.9,2,60),cf(130,120,0))
  84. local prt22=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part22",vt(60,2,60),cf(130,128,0))
  85. local prt23=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(60,2,60),cf(1500,1500,1500))
  86. local prt24=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part24",vt(2,100,60),prt23.CFrame*cf(-30,50,0))
  87. local prt25=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part25",vt(2,100,60),prt23.CFrame*cf(30,50,0))
  88. local prt26=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part26",vt(2,100,60),prt23.CFrame*cf(0,50,30)*euler(0,1.57,0))
  89. local prt27=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(2,100,60),prt23.CFrame*cf(0,50,-30)*euler(0,1.57,0))
  90. local prt28=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part28",vt(20,100,20),prt23.CFrame*cf(0,50,0))
  91. BasicCFrame=prt28.CFrame*cf(0,50,0)
  92. local prt29=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part29",vt(199,2,62),BasicCFrame*cf(130.5,0,0))
  93. prt29.Material="Grass"
  94. local prt30=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part30",vt(199,2,62),BasicCFrame*cf(-130.5,0,0))
  95. prt30.Material="Grass"
  96. local prt31=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part31",vt(460,2,200),BasicCFrame*cf(0,0,131))
  97. prt31.Material="Grass"
  98. local prt32=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part32",vt(460,2,200),BasicCFrame*cf(0,0,-131))
  99. prt32.Material="Grass"
  100. local prt33=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part33",vt(50,2.2,200),BasicCFrame*cf(0,0,-131))
  101. local prt34=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part34",vt(50,2.2,200),BasicCFrame*cf(0,0,131))
  102. local prt35=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35",vt(35,2.2,62),BasicCFrame*cf(-7.5,0,0))
  103. local prt35b=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35b",vt(15,2.2,31),BasicCFrame*cf(17.5,0,-15.5))
  104. local prt36=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part36",vt(60,2,30),BasicCFrame*cf(0,-1,-15))
  105. local prt37=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part37",vt(30,2,30),BasicCFrame*cf(-25,-1,15)*euler(0,1.57,0))
  106. local prt38=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part38",vt(220,100,62),BasicCFrame*cf(141,-51,0))
  107. prt38.Material="Slate"
  108. local prt39=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part39",vt(220,100,62),BasicCFrame*cf(-141,-51,0))
  109. prt39.Material="Slate"
  110. local prt40=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part40",vt(502,100,220),BasicCFrame*cf(0,-51,141))
  111. prt40.Material="Slate"
  112. local prt41=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part41",vt(502,100,220),BasicCFrame*cf(0,-51,-141))
  113. prt41.Material="Slate"
  114. local prt42=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part42",vt(20,200,20),BasicCFrame*cf(0,100,225))
  115. prt42.CanCollide=false
  116. local prt43=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part43",vt(80,5,80),BasicCFrame*cf(0,200,225))
  117. prt43.Material="Wood"
  118. local prt44=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part44",vt(40,10,40),BasicCFrame*cf(0,200,225))
  119. local prt45=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part45",vt(1,1,80),BasicCFrame*cf(39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  120. prt45.Material="Wood"
  121. local prt46=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part46",vt(1,1,80),BasicCFrame*cf(-39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  122. prt46.Material="Wood"
  123. local prt47=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part47",vt(1,80,1),BasicCFrame*cf(0,208,225-39.5)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),1.57+math.rad(math.random(-2,1)+math.random())))
  124. prt47.Material="Wood"
  125. local prt48=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part48",vt(20,20,20),prt43.CFrame*cf(0,5,0))
  126. prt48.CanCollide=false
  127. local prt49=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(12,2,87))
  128. prt49.Material="Wood"
  129. local prt50=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(-12,2,87))
  130. prt50.Material="Wood"
  131.  
  132. local msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1,1,1))
  133. local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(1,1,1))
  134. local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1,1))
  135. local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1,1,1))
  136. local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1,1,1))
  137. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(1,1,1))
  138. local msh7=mesh("BlockMesh",prt7,"","",vt(0,0,0),vt(1,1,1))
  139. local msh8=mesh("BlockMesh",prt8,"","",vt(0,0,0),vt(1,1,1))
  140. local msh9=mesh("BlockMesh",prt9,"","",vt(0,0,0),vt(1,1,1))
  141. local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(1,1,1))
  142. local msh11=mesh("BlockMesh",prt11,"","",vt(0,0,0),vt(1,1,1))
  143. local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,1,1))
  144. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
  145. local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(1,1,1))
  146. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(1,1,1))
  147. local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(1,1,1))
  148. local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(1,1,1))
  149. local msh18=mesh("BlockMesh",prt18,"","",vt(0,0,0),vt(1,1,1))
  150. local msh19=mesh("BlockMesh",prt19,"","",vt(0,0,0),vt(1,1,1))
  151. local msh20=mesh("BlockMesh",prt20,"","",vt(0,0,0),vt(1,1,1))
  152. local msh21=mesh("BlockMesh",prt21,"","",vt(0,0,0),vt(1,1,1))
  153. local msh22=mesh("SpecialMesh",prt22,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(45,10,45))
  154. local msh23=mesh("BlockMesh",prt23,"","",vt(0,0,0),vt(1,1,1))
  155. local msh24=mesh("BlockMesh",prt24,"","",vt(0,0,0),vt(1,1,1))
  156. local msh25=mesh("BlockMesh",prt25,"","",vt(0,0,0),vt(1,1,1))
  157. local msh26=mesh("BlockMesh",prt26,"","",vt(0,0,0),vt(1,1,1))
  158. local msh27=mesh("BlockMesh",prt27,"","",vt(0,0,0),vt(1,1,1))
  159. local msh28=mesh("CylinderMesh",prt28,"","",vt(0,0,0),vt(1,1,1))
  160. local msh42=mesh("CylinderMesh",prt42,"","",vt(0,0,0),vt(1,1,1))
  161. local msh48=mesh("SpecialMesh",prt48,"Sphere","",vt(0,0,0),vt(1,1,1))
  162.  
  163. local basestairprt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part1",vt(61.9,2,60),cf(130,2,0))
  164. local basestairmsh=mesh("BlockMesh",basestairprt,"","",vt(0,0,0),vt(1,1,1))
  165. local basestairprt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part2",vt(20,100,20),cf(130,50,0))
  166. local basestairmsh2=mesh("CylinderMesh",basestairprt2,"","",vt(0,0,0),vt(1,1,1))
  167.  
  168. local teleprt=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part",vt(61,10,59),cf(130,95,0))
  169. teleprt.CanCollide=false
  170. local teleprt2=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part2",vt(61,10,59),prt23.CFrame*cf(0,6,0))
  171. teleprt2.CanCollide=false
  172. local teleprt3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Teleport Part3",vt(1000,10,1000),BasicCFrame*cf(0,-300,0))
  173. teleprt3.CanCollide=false
  174.  
  175. local skyboxprt=part(3,modelzorz,0,0,BrickColor.new("Black"),"Skybox",vt(1,1,1),BasicCFrame)
  176. local skyboxmsh=mesh("SpecialMesh",skyboxprt,"FileMesh","http://www.roblox.com/asset/?id=1527559",vt(0,0,0),vt(-1000,-1000,-1000))
  177. skyboxmsh.TextureId="http://www.roblox.com/asset/?id=24824960"
  178. coroutine.resume(coroutine.create(function()
  179. while true do
  180. wait()
  181. skyboxprt.CFrame=skyboxprt.CFrame*angles(math.pi/math.random(4000,6000),math.pi/math.random(4000,6000),math.pi/math.random(4000,6000))
  182. end
  183. end))
  184. for i=1,8 do
  185. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(30,200),10,math.random(-200,200)))
  186. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  187. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  188. tree2.Shape=0
  189. tree2.Material="Grass"
  190. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  191. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(30,200),2.5,math.random(-200,200)))
  192. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  193. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  194. end
  195. for i=1,8 do
  196. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(-200,-30),10,math.random(-200,200)))
  197. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  198. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  199. tree2.Shape=0
  200. tree2.Material="Grass"
  201. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  202. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(-200,-30),2.5,math.random(-200,200)))
  203. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  204. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  205. end
  206.  
  207. con1=teleprt.Touched:connect(function(hit)
  208. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  209. print("Teleported")
  210. teledebounce=true
  211. hit.Parent.Torso.CFrame=prt23.CFrame*cf(0,5,20)
  212. wait(2)
  213. teledebounce=false
  214. end
  215. end)
  216. con2=teleprt2.Touched:connect(function(hit)
  217. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  218. print("Teleported")
  219. teledebounce=true
  220. hit.Parent.Torso.CFrame=teleprt.CFrame*cf(0,-5,15)
  221. wait(2)
  222. teledebounce=false
  223. end
  224. end)
  225. con3=prt42.Touched:connect(function(hit)
  226. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  227. print("Teleported to Statue Island.")
  228. teledebounce2=true
  229. Torso=hit.Parent.Torso
  230. Torso.Anchored=true
  231. Torso.CFrame=prt42.CFrame*cf(0,-95,0)
  232. wait(2)
  233. numb2=0
  234. for i=0,20 do
  235. wait(0)
  236. Torso.CFrame=prt42.CFrame*cf(0,-95+numb2,0)
  237. numb2=numb2+10
  238. end
  239. Torso.Anchored=false
  240. Torso.Velocity=vt(0,200,0)
  241. wait(2)
  242. teledebounce2=false
  243. end
  244. end)
  245. con4=prt48.Touched:connect(function(hit)
  246. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  247. print("Teleported out Statue Island.")
  248. teledebounce2=true
  249. Torso=hit.Parent.Torso
  250. Torso.Anchored=true
  251. Torso.CFrame=prt48.CFrame*cf(0,3,0)
  252. wait(2)
  253. numb2=0
  254. for i=0,20 do
  255. wait(0)
  256. Torso.CFrame=prt48.CFrame*cf(0,3-numb2,0)
  257. numb2=numb2+10
  258. end
  259. Torso.Anchored=false
  260. wait(2)
  261. teledebounce2=false
  262. end
  263. end)
  264. con5=teleprt3.Touched:connect(function(hit)
  265. if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  266. print("Fallen Teleport")
  267. hit.Parent.Torso.CFrame=teleprt3.CFrame*cf(-1500,-1000,-1500)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  268. hit.Parent.Humanoid.PlatformStand=true
  269. end
  270. end)
  271.  
  272. for i=0,50 do
  273. prtsize=math.random(1,20)
  274. local prt=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-500,500),math.random(-500,500),math.random(-500,500))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  275. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  276. coroutine.resume(coroutine.create(function(Part)
  277. randomnumb=math.random(1,10)+math.random()
  278. wait(randomnumb)
  279. while Part.Parent~=nil do
  280. for i=0,1,0.005 do
  281. wait()
  282. Part.Position=Part.Position+vt(0,-0.2,0)
  283. end
  284. for i=0,1,0.005 do
  285. wait()
  286. Part.Position=Part.Position+vt(0,0.2,0)
  287. end
  288. end
  289. end),prt)
  290. end
  291.  
  292. for i=0,15 do
  293. prtsize=math.random(0,3)+math.random()
  294. local prt=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-50,50),math.random(5,170),math.random(200,250))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  295. prt.Material="Grass"
  296. coroutine.resume(coroutine.create(function(Part)
  297. randomnumb=math.random(1,10)+math.random()
  298. wait(randomnumb)
  299. while Part.Parent~=nil do
  300. for i=0,1,0.005 do
  301. wait()
  302. Part.Position=Part.Position+vt(0,-0.2,0)
  303. end
  304. for i=0,1,0.005 do
  305. wait()
  306. Part.Position=Part.Position+vt(0,0.2,0)
  307. end
  308. end
  309. end),prt)
  310. end
  311.  
  312. count=0
  313. for i=1,15 do
  314. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5-count,205,225-39.5)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  315. prt.Material="Wood"
  316. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  317. prt.Material="Wood"
  318. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(-39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  319. prt.Material="Wood"
  320. count=count+5.64
  321. end
  322.  
  323. count=0
  324. for i=1,15 do
  325. local prt48=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part48",vt(20,1,5),prt43.CFrame*cf(0,2,42+count)*euler(math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random())))
  326. prt48.Material="Wood"
  327. count=count+6
  328. end
  329.  
  330. count=-0.25
  331. for i=0,164 do
  332. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair",vt(2,3,20),basestairprt.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  333. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  334. light = Instance.new("PointLight")
  335. light.Brightness = .8
  336. light.Range = 100
  337. light.Parent=prt
  338. count=count+0.05
  339. end
  340. count=0
  341. for i=0,160 do
  342. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair2",vt(2,3,20),prt23.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  343. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  344. light = Instance.new("PointLight")
  345. light.Brightness = .8
  346. light.Range = 100
  347. light.Parent=prt
  348. count=count+0.05
  349. end
  350. count=0
  351. for i=0,15 do
  352. local prt=part(3,modelzorz,0,1-count,BrickColor.new("Black"),"Shade",vt(61,1,59),cf(130,70+(count*40),0))
  353. prt.CanCollide=false
  354. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  355. count=count+0.05
  356. end
  357. count=0
  358. for i=0,15 do
  359. local prt=part(3,modelzorz,0,count,BrickColor.new("Black"),"Shade2",vt(61,1,59),prt23.CFrame*cf(0,count*40,0))
  360. prt.CanCollide=false
  361. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  362. count=count+0.05
  363. end
  364. count=0
  365. for i=0,15 do
  366. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51,104,38.48-count))
  367. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  368. count=count+5.13
  369. end
  370. count=0
  371. for i=0,15 do
  372. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(168.49,104,38.48-count))
  373. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  374. count=count+5.13
  375. end
  376. count=5.13
  377. for i=0,13 do
  378. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,38.48))
  379. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  380. count=count+5.13
  381. end
  382. count=5.13
  383. for i=0,13 do
  384. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,-38.48))
  385. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  386. count=count+5.13
  387. end
  388. print("Fenrier's Tower Dimension loaded.")
  389. --workspace.Fenrier.Torso.CFrame=teleprt2.CFrame*cf(0,150,0)
  390. -- mediafire
  391. --[[
  392. Copyrighted (C) Fenrier 2013
  393. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement