D0MiN0_FX

Clockwork Arena [ RARE ]

Oct 18th, 2016
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.74 KB | None | 0 0
  1. it=Instance.new
  2.  
  3. vt=Vector3.new
  4.  
  5. cf=CFrame.new
  6.  
  7. euler=CFrame.fromEulerAnglesXYZ
  8.  
  9. angles=CFrame.Angles
  10.  
  11. teledebounce=false
  12.  
  13. teledebounce2=false
  14.  
  15. c=game.Players:children()
  16.  
  17. --[[for i=1,#c do
  18.  
  19. if c[i].className=="Player" and c[i].Character:findFirstChild("Torso")~=nil then
  20.  
  21. c[i].Character.Torso.CFrame=c[i].Character.Torso.CFrame*cf(0,50,0)
  22.  
  23. end
  24.  
  25. end]]
  26.  
  27.  
  28.  
  29. if workspace:findFirstChild("Clockwork Arena",true) ~= nil then
  30.  
  31. workspace:findFirstChild("Clockwork Arena",true).Parent = nil
  32.  
  33. end
  34.  
  35.  
  36.  
  37.  
  38.  
  39. function part(formfactor,parent,reflectance,transparency,brickcolor,material,name,size,cframe)
  40.  
  41. local fp = it("Part")
  42.  
  43. fp.formFactor = formfactor
  44.  
  45. fp.Parent = parent
  46.  
  47. fp.Reflectance = reflectance
  48.  
  49. fp.Transparency = transparency
  50.  
  51. fp.CanCollide = true
  52.  
  53. fp.Anchored = true
  54.  
  55. fp.Locked=true
  56.  
  57. fp.BrickColor = brickcolor
  58.  
  59. fp.Name = name
  60.  
  61. fp.Size = size
  62.  
  63. fp.Material = material
  64.  
  65. fp.CFrame = cframe
  66.  
  67. fp.BottomSurface="Smooth"
  68.  
  69. fp.TopSurface="Smooth"
  70.  
  71. fp:BreakJoints()
  72.  
  73. return fp
  74.  
  75. end
  76.  
  77.  
  78.  
  79. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  80.  
  81. local mesh = it(Mesh)
  82.  
  83. mesh.Parent = part
  84.  
  85. if Mesh=="SpecialMesh" then
  86.  
  87. mesh.MeshType = meshtype
  88.  
  89. mesh.MeshId = meshid
  90.  
  91. end
  92.  
  93. mesh.Offset=offset
  94.  
  95. mesh.Scale=scale
  96.  
  97. return mesh
  98.  
  99. end
  100.  
  101.  
  102.  
  103. function weld(parent,part0,part1,c0)
  104.  
  105. local weld = it("Weld")
  106.  
  107. weld.Parent = parent
  108.  
  109. weld.Part0 = part0
  110.  
  111. weld.Part1 = part1
  112.  
  113. weld.C0 = c0
  114.  
  115. return weld
  116.  
  117. end
  118.  
  119.  
  120.  
  121. local modelzorz = Instance.new("Model")
  122.  
  123. modelzorz.Parent = workspace
  124.  
  125. modelzorz.Name = "Clockwork Arena"
  126.  
  127. script.Parent=modelzorz
  128.  
  129. CF=cf(0,0,0)
  130.  
  131.  
  132.  
  133. local prt1=part(3,modelzorz,0,0,BrickColor.new("Dark orange"),"Slate","Part1",vt(400,10,400),CF)
  134.  
  135. local prt1b=part(3,modelzorz,0,1,BrickColor.new("Dark orange"),"Slate","Part1",vt(0,0,0),CF*cf(0,20,0))
  136.  
  137. light = Instance.new("PointLight")
  138.  
  139. light.Brightness = .8
  140.  
  141. light.Range = 150
  142.  
  143. light.Color = Color3.new(255,255,255)
  144.  
  145. light.Parent=prt1b
  146.  
  147. numb=0
  148.  
  149. numb2=0
  150.  
  151. for i=1,8 do
  152.  
  153. local prt2=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part2",vt(300,15,60),CF*euler(0,numb,0)*cf(0,-numb2,0))
  154.  
  155. numb=numb+0.3925
  156.  
  157. numb2=numb2+0.01
  158.  
  159. end
  160.  
  161. numb=0
  162.  
  163. for i=1,16 do
  164.  
  165. local prt3=part(3,modelzorz,0,0,BrickColor.new("Tr. Red"),"Slate","Part3",vt(100,10,2),CF*euler(0,numb,0)*cf(80,3-0.01,0))
  166.  
  167. numb=numb+0.3925
  168.  
  169. end
  170.  
  171. numb=0
  172.  
  173. for i=1,4 do
  174.  
  175. local prt4=part(3,modelzorz,0,0,BrickColor.new("Tr. Red"),"Slate","Part4",vt(30,11,30),CF*euler(0,numb,0)*cf(80,2.5,0))
  176.  
  177. local prt4b=part(3,modelzorz,0,1,BrickColor.new("Tr. Red"),"Slate","Part4",vt(0,0,0),CF*euler(0,numb,0)*cf(80,2.5+20,0))
  178.  
  179. light = Instance.new("PointLight")
  180.  
  181. light.Brightness = .8
  182.  
  183. light.Range = 50
  184.  
  185. light.Color = Color3.new(50,50,0)
  186.  
  187. light.Parent=prt4b
  188.  
  189. numb2=0
  190.  
  191. for i=1,8 do
  192.  
  193. local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part5",vt(10,5,5),prt4.CFrame*euler(0,numb2,0)*cf(8,3.5,0))
  194.  
  195. numb2=numb2+0.785
  196.  
  197. end
  198.  
  199. numb=numb+1.57
  200.  
  201. end
  202.  
  203. local prt6=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part6",vt(40,10,40),CF*cf(0,10,0))
  204.  
  205. numb2=0
  206.  
  207. for i=1,4 do
  208.  
  209. numb=0
  210.  
  211. numb3=0
  212.  
  213. for i=1,8 do
  214.  
  215. local prt6=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part6",vt(5,10,20+numb3),CF*euler(0,numb2,0)*cf(-20-numb,9.9-numb,0))
  216.  
  217. numb=numb+1
  218.  
  219. numb3=numb3+0.01
  220.  
  221. end
  222.  
  223. numb2=numb2+1.57
  224.  
  225. end
  226.  
  227. numb=0
  228.  
  229. numb2=0
  230.  
  231. for i=1,8 do
  232.  
  233. local prt7=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part7",vt(15,5,10),CF*euler(0,numb,0)*cf(10,13-numb2,0))
  234.  
  235. numb=numb+0.785
  236.  
  237. numb2=numb2+0.01
  238.  
  239. end
  240.  
  241. numb=0
  242.  
  243. for i=1,16 do
  244.  
  245. if i~=1 and i~=5 and i~=9 and i~=13 then
  246.  
  247. local prt8=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part8",vt(30,12,70),CF*euler(0,numb,0)*cf(-180,10,0))
  248.  
  249. local prt9=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part9",vt(20,13,60),prt8.CFrame)
  250.  
  251. numb2=0
  252.  
  253. for i=1,6 do
  254.  
  255. local prt9b=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part9b",vt(5,31,5),prt8.CFrame*cf(0,0,30+numb2)*euler(0,0,1.57))
  256.  
  257. local prt9c=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part9c",vt(3,32,3),prt9b.CFrame)
  258.  
  259. light = Instance.new("PointLight")
  260.  
  261. light.Brightness = .8
  262.  
  263. light.Range = 30
  264.  
  265. light.Color = Color3.new(255,255,255)
  266.  
  267. light.Parent=prt9c
  268.  
  269. numb2=numb2-10
  270.  
  271. end
  272.  
  273. end
  274.  
  275. numb=numb+0.3925
  276.  
  277. end
  278.  
  279. numb=1.57
  280.  
  281. for i=1,3 do
  282.  
  283. local prt10=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part10",vt(20,13,80),CF*euler(0,numb,0)*cf(-185,10,0))
  284.  
  285. local prt11=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part10",vt(10,14,70),prt10.CFrame)
  286.  
  287. numb2=0
  288.  
  289. for i=1,6 do
  290.  
  291. local prt12=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part12",vt(2,11,80),prt10.CFrame*cf(11-numb2,numb2,0))
  292.  
  293. numb2=numb2-2
  294.  
  295. end
  296.  
  297. numb=numb+1.57
  298.  
  299. end
  300.  
  301. numb=0
  302.  
  303. numb2=0
  304.  
  305. for i=1,39 do
  306.  
  307. if i>=3 then
  308.  
  309. local prt13=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part13",vt(30,10,40),CF*euler(0,numb,0)*cf(-195,20+numb2,0))
  310.  
  311. local prt14=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part14",vt(20,11,30),prt13.CFrame)
  312.  
  313. end
  314.  
  315. numb2=numb2+0.009
  316.  
  317. numb=numb+0.157
  318.  
  319. end
  320.  
  321. numb=0
  322.  
  323. for i=1,40 do
  324.  
  325. local prt15=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part15",vt(30,10,40),CF*euler(0,numb,0)*cf(-220,30.5+numb2,0))
  326.  
  327. numb3=0
  328.  
  329. local prt9b=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part9b",vt(5,35,5),prt15.CFrame*cf(0,0,0)*euler(0,0,1.57))
  330.  
  331. local prt9c=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part9c",vt(3,36,3),prt9b.CFrame)
  332.  
  333. light = Instance.new("PointLight")
  334.  
  335. light.Brightness = .8
  336.  
  337. light.Range = 30
  338.  
  339. light.Color = Color3.new(255,255,255)
  340.  
  341. light.Parent=prt9c
  342.  
  343. local prt16=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part16",vt(29.9,11,39.9),prt15.CFrame)
  344.  
  345. local prt17=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part17",vt(10,3,10),prt15.CFrame*cf(0,6,0))
  346.  
  347. local prt18=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part18",vt(5,5,5),prt15.CFrame)
  348.  
  349. prt18.Shape="Cylinder"
  350.  
  351. prt18.CFrame=prt17.CFrame*cf(0,3,0)*euler(0,0,1.57)
  352.  
  353. local prt19=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part19",vt(10,3,10),prt18.CFrame*euler(0,0,-1.57)*cf(0,3,0))
  354.  
  355. local prt20=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part20",vt(30,10,40),prt19.CFrame*cf(0,6,0))
  356.  
  357. local prt21=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part21",vt(29.9,11,39.9),prt20.CFrame)
  358.  
  359. local prt22=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part22",vt(150,20,40),prt21.CFrame*cf(50,12,0))
  360.  
  361. local prt23=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part23",vt(50,50,90),prt22.CFrame*cf(49,30,0)*euler(0,0,0.5))
  362.  
  363. local prt24=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Slate","Part24",vt(80,20,20),prt23.CFrame*cf(40,10,0))
  364.  
  365. local prt25=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part25",vt(5,40,20),prt24.CFrame*cf(20,0,0))
  366.  
  367. local prt26=part(3,modelzorz,0,0.8,BrickColor.new("Bright blue"),"Plastic","Part26",vt(1,80,20),prt24.CFrame*cf(60,0,0)*euler(0,0,1.07))
  368.  
  369. numb=numb+0.157
  370.  
  371. end
  372.  
  373. numb=0
  374.  
  375. for i=1,6 do
  376.  
  377. local prt27=part(3,modelzorz,0,0,BrickColor.new("Nougat"),"Plastic","Part27",vt(13,50,13),CF*euler(0,numb,0)*cf(120,25,0))
  378.  
  379. local msh27=mesh("CylinderMesh",prt27,"","",vt(0,0,0),vt(1,1,1))
  380.  
  381. local prt28=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part28",vt(15,15,15),CF*euler(0,numb,0)*cf(120,10,0))
  382.  
  383. local prt29=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part29",vt(10,16,10),prt28.CFrame*euler(1.57,0.785,0))
  384.  
  385. local prt30=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part30",vt(10,16,10),prt28.CFrame*euler(0.785,0,1.57))
  386.  
  387. numb2=0
  388.  
  389. for i=1,6 do
  390.  
  391. local prt31=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part31",vt(15,50,1),prt27.CFrame*euler(0,numb2,0))
  392.  
  393. numb2=numb2+0.785
  394.  
  395. end
  396.  
  397. local prt32=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Part32",vt(15,15,15),CF*euler(0,numb,0)*cf(120,47.5,0))
  398.  
  399. local prt33=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part33",vt(10,16,10),prt32.CFrame*euler(1.57,0.785,0))
  400.  
  401. local prt34=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part34",vt(10,16,10),prt32.CFrame*euler(0.785,0,1.57))
  402.  
  403. local spawn = Instance.new("SpawnLocation")
  404.  
  405. light = Instance.new("PointLight")
  406.  
  407. light.Brightness = .8
  408.  
  409. light.Range = 100
  410.  
  411. light.Parent=spawn
  412.  
  413. spawn.Parent = modelzorz
  414.  
  415. spawn.CanCollide = false
  416.  
  417. spawn.Anchored = true
  418.  
  419. spawn.Transparency = 1
  420.  
  421. spawn.CFrame=CF*euler(0,numb,0)*cf(140,0,0)
  422.  
  423. numb=numb+1.04666666
  424.  
  425. end
  426.  
  427. local prt35=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part35",vt(60,30,40),CF*cf(-180,15,30))
  428.  
  429. local prt35a=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part35a",vt(10,20,5),CF*cf(-150,15,15))
  430.  
  431. local prt36=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Slate","Part36",vt(60,30,40),CF*cf(-180,15,-30))
  432.  
  433. local prt3ba=part(3,modelzorz,0,0,BrickColor.new("Earth yellow"),"Slate","Part3ba",vt(10,20,5),CF*cf(-150,15,-15))
  434.  
  435.  
  436.  
  437. local Torso1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Torso",vt(2,2,1),CF*cf(-155,33,-15)*euler(0,1.57,0))
  438.  
  439. local LArm1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Left Arm",vt(1,2,1),Torso1.CFrame*cf(0.8,0,0.5+0.2)*euler(-1,0,-1))
  440.  
  441. local RArm1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Reft Arm",vt(1,2,1),Torso1.CFrame*cf(-0.8,0,0.5+0.2)*euler(-1,0,1))
  442.  
  443. local LLeg1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Left Leg",vt(1,2,1),Torso1.CFrame*cf(0.5,-2,0))
  444.  
  445. local RLeg1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Right Leg",vt(1,2,1),Torso1.CFrame*cf(-0.5,-2,0))
  446.  
  447. local Head1=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Head",vt(1,1,1),Torso1.CFrame*cf(0,1.5,0))
  448.  
  449.  
  450.  
  451. local Torso2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Torso",vt(2,2,1),CF*cf(-155,33,15)*euler(0,1.57,0))
  452.  
  453. local LArm2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Left Arm",vt(1,2,1),Torso2.CFrame*cf(0.8,0,0.5+0.2)*euler(-1,0,-1))
  454.  
  455. local RArm2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Reft Arm",vt(1,2,1),Torso2.CFrame*cf(-0.8,0,0.5+0.2)*euler(-1,0,1))
  456.  
  457. local LLeg2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Left Leg",vt(1,2,1),Torso2.CFrame*cf(0.5,-2,0))
  458.  
  459. local RLeg2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Right Leg",vt(1,2,1),Torso2.CFrame*cf(-0.5,-2,0))
  460.  
  461. local Head2=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Slate","Head",vt(1,1,1),Torso2.CFrame*cf(0,1.5,0))
  462.  
  463.  
  464.  
  465. print("VersedBK's Clockwork Arena loaded.")
  466.  
  467. --workspace.VersedBK.Torso.CFrame=teleprt2.CFrame*cf(0,150,0)
Add Comment
Please, Sign In to add comment