Advertisement
cat568

Untitled

Jun 19th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.90 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. local chil = workspace:GetChildren()
  20. for i,v in pairs(chil) do
  21. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  22. v:Destroy()
  23. end
  24. end
  25. Camera0 = Instance.new("Camera")
  26. Part1 = Instance.new("Part")
  27. Tool2 = Instance.new("Tool")
  28. Part3 = Instance.new("Part")
  29. Script4 = Instance.new("Script")
  30. Part5 = Instance.new("Part")
  31. Decal6 = Instance.new("Decal")
  32. Decal7 = Instance.new("Decal")
  33. Part8 = Instance.new("Part")
  34. Decal9 = Instance.new("Decal")
  35. Decal10 = Instance.new("Decal")
  36. Part11 = Instance.new("Part")
  37. Decal12 = Instance.new("Decal")
  38. Decal13 = Instance.new("Decal")
  39. Part14 = Instance.new("Part")
  40. Decal15 = Instance.new("Decal")
  41. Decal16 = Instance.new("Decal")
  42. Part17 = Instance.new("Part")
  43. Decal18 = Instance.new("Decal")
  44. Decal19 = Instance.new("Decal")
  45. Part20 = Instance.new("Part")
  46. Decal21 = Instance.new("Decal")
  47. Decal22 = Instance.new("Decal")
  48. Part23 = Instance.new("Part")
  49. Decal24 = Instance.new("Decal")
  50. Decal25 = Instance.new("Decal")
  51. Part26 = Instance.new("Part")
  52. Decal27 = Instance.new("Decal")
  53. Decal28 = Instance.new("Decal")
  54. ManualWeld29 = Instance.new("ManualWeld")
  55. Part30 = Instance.new("Part")
  56. Decal31 = Instance.new("Decal")
  57. Decal32 = Instance.new("Decal")
  58. Part33 = Instance.new("Part")
  59. Decal34 = Instance.new("Decal")
  60. Decal35 = Instance.new("Decal")
  61. Part36 = Instance.new("Part")
  62. Decal37 = Instance.new("Decal")
  63. Decal38 = Instance.new("Decal")
  64. Part39 = Instance.new("Part")
  65. Decal40 = Instance.new("Decal")
  66. Decal41 = Instance.new("Decal")
  67. Part42 = Instance.new("Part")
  68. Decal43 = Instance.new("Decal")
  69. Decal44 = Instance.new("Decal")
  70. Part45 = Instance.new("Part")
  71. Decal46 = Instance.new("Decal")
  72. Decal47 = Instance.new("Decal")
  73. Part48 = Instance.new("Part")
  74. Decal49 = Instance.new("Decal")
  75. Decal50 = Instance.new("Decal")
  76. Part51 = Instance.new("Part")
  77. Decal52 = Instance.new("Decal")
  78. Decal53 = Instance.new("Decal")
  79. Part54 = Instance.new("Part")
  80. Decal55 = Instance.new("Decal")
  81. Decal56 = Instance.new("Decal")
  82. Part57 = Instance.new("Part")
  83. Decal58 = Instance.new("Decal")
  84. Decal59 = Instance.new("Decal")
  85. Part60 = Instance.new("Part")
  86. Decal61 = Instance.new("Decal")
  87. Decal62 = Instance.new("Decal")
  88. ManualWeld63 = Instance.new("ManualWeld")
  89. Camera0.Parent = mas
  90. Camera0.CFrame = CFrame.new(1.01016569, 13.2767458, 33.8147774, 0.705590129, -0.474209279, 0.526562631, -0, 0.743081629, 0.669200897, -0.708620191, -0.472181559, 0.524311066)
  91. Camera0.CoordinateFrame = CFrame.new(1.01016569, 13.2767458, 33.8147774, 0.705590129, -0.474209279, 0.526562631, -0, 0.743081629, 0.669200897, -0.708620191, -0.472181559, 0.524311066)
  92. Camera0.Focus = CFrame.new(-0.0429595709, 11.938344, 32.7661552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  93. Camera0.focus = CFrame.new(-0.0429595709, 11.938344, 32.7661552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  94. Part1.Name = "Baseplate"
  95. Part1.Parent = mas
  96. Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  97. Part1.Position = Vector3.new(0, -10, 0)
  98. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  99. Part1.Size = Vector3.new(512, 20, 512)
  100. Part1.Anchored = true
  101. Part1.BrickColor = BrickColor.new("Dark stone grey")
  102. Part1.Locked = true
  103. Part1.brickColor = BrickColor.new("Dark stone grey")
  104. Part1.FormFactor = Enum.FormFactor.Symmetric
  105. Part1.formFactor = Enum.FormFactor.Symmetric
  106. Tool2.Name = "Bush Tool (With Script)"
  107. Tool2.Parent = mas
  108. Part3.Name = "Handle"
  109. Part3.Parent = Tool2
  110. Part3.CFrame = CFrame.new(-11.6284618, 3.0245738, 18.5803719, 1, -4.23145676e-13, 8.52651283e-14, -4.23145731e-13, 0.999999285, 2.55795385e-13, 8.52651283e-14, 2.55795385e-13, 1)
  111. Part3.Position = Vector3.new(-11.6284618, 3.0245738, 18.5803719)
  112. Part3.Transparency = 1
  113. Part3.Size = Vector3.new(1.05000067, 0.590000093, 1.20000029)
  114. Part3.BottomSurface = Enum.SurfaceType.Smooth
  115. Part3.TopSurface = Enum.SurfaceType.Smooth
  116. Script4.Name = "qPerfectionWeld"
  117. Script4.Parent = Tool2
  118. table.insert(cors,sandbox(Script4,function()
  119. -- Created by Quenty (@Quenty, follow me on twitter).
  120. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  121. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  122.  
  123. --[[ INSTRUCTIONS
  124. - Place in the model
  125. - Make sure model is anchored
  126. - That's it. It will weld the model and all children.
  127.  
  128. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  129. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  130. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  131. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  132. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  133. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  134. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  135. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  136.  
  137. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  138. ]]
  139.  
  140. --[[ DOCUMENTATION
  141. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  142. - Will work in PBS servers
  143. - Will work as long as it starts out with the part anchored
  144. - Stores the relative CFrame as a CFrame value
  145. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  146. - Utilizes a recursive algorith to find all parts in the model
  147. - Will reweld on script reparent if the script is initially parented to a tool.
  148. - Welds as fast as possible
  149. ]]
  150.  
  151. -- qPerfectionWeld.lua
  152. -- Created 10/6/2014
  153. -- Author: Quenty
  154. -- Version 1.0.3
  155.  
  156. -- Updated 10/14/2014 - Updated to 1.0.1
  157. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  158.  
  159. -- Updated 10/14/2014 - Updated to 1.0.2
  160. --- Fixed bug fix.
  161.  
  162. -- Updated 10/14/2014 - Updated to 1.0.3
  163. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  164.  
  165. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  166.  
  167.  
  168. local function CallOnChildren(Instance, FunctionToCall)
  169. -- Calls a function on each of the children of a certain object, using recursion.
  170.  
  171. FunctionToCall(Instance)
  172.  
  173. for _, Child in next, Instance:GetChildren() do
  174. CallOnChildren(Child, FunctionToCall)
  175. end
  176. end
  177.  
  178. local function GetNearestParent(Instance, ClassName)
  179. -- Returns the nearest parent of a certain class, or returns nil
  180.  
  181. local Ancestor = Instance
  182. repeat
  183. Ancestor = Ancestor.Parent
  184. if Ancestor == nil then
  185. return nil
  186. end
  187. until Ancestor:IsA(ClassName)
  188.  
  189. return Ancestor
  190. end
  191.  
  192. local function GetBricks(StartInstance)
  193. local List = {}
  194.  
  195. -- if StartInstance:IsA("BasePart") then
  196. -- List[#List+1] = StartInstance
  197. -- end
  198.  
  199. CallOnChildren(StartInstance, function(Item)
  200. if Item:IsA("BasePart") then
  201. List[#List+1] = Item;
  202. end
  203. end)
  204.  
  205. return List
  206. end
  207.  
  208. local function Modify(Instance, Values)
  209. -- Modifies an Instance by using a table.
  210.  
  211. assert(type(Values) == "table", "Values is not a table");
  212.  
  213. for Index, Value in next, Values do
  214. if type(Index) == "number" then
  215. Value.Parent = Instance
  216. else
  217. Instance[Index] = Value
  218. end
  219. end
  220. return Instance
  221. end
  222.  
  223. local function Make(ClassType, Properties)
  224. -- Using a syntax hack to create a nice way to Make new items.
  225.  
  226. return Modify(Instance.new(ClassType), Properties)
  227. end
  228.  
  229. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  230. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  231.  
  232. local function HasWheelJoint(Part)
  233. for _, SurfaceName in pairs(Surfaces) do
  234. for _, HingSurfaceName in pairs(HingSurfaces) do
  235. if Part[SurfaceName].Name == HingSurfaceName then
  236. return true
  237. end
  238. end
  239. end
  240.  
  241. return false
  242. end
  243.  
  244. local function ShouldBreakJoints(Part)
  245. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  246. -- definitely some edge cases.
  247.  
  248. if NEVER_BREAK_JOINTS then
  249. return false
  250. end
  251.  
  252. if HasWheelJoint(Part) then
  253. return false
  254. end
  255.  
  256. local Connected = Part:GetConnectedParts()
  257.  
  258. if #Connected == 1 then
  259. return false
  260. end
  261.  
  262. for _, Item in pairs(Connected) do
  263. if HasWheelJoint(Item) then
  264. return false
  265. elseif not Item:IsDescendantOf(script.Parent) then
  266. return false
  267. end
  268. end
  269.  
  270. return true
  271. end
  272.  
  273. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  274. --- Weld's 2 parts together
  275. -- @param Part0 The first part
  276. -- @param Part1 The second part (Dependent part most of the time).
  277. -- @param [JointType] The type of joint. Defaults to weld.
  278. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  279. -- @return The weld created.
  280.  
  281. JointType = JointType or "Weld"
  282. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  283.  
  284. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  285. Modify(NewWeld, {
  286. Name = "qCFrameWeldThingy";
  287. Part0 = Part0;
  288. Part1 = Part1;
  289. C0 = CFrame.new();--Part0.CFrame:inverse();
  290. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  291. Parent = Part1;
  292. })
  293.  
  294. if not RelativeValue then
  295. RelativeValue = Make("CFrameValue", {
  296. Parent = Part1;
  297. Name = "qRelativeCFrameWeldValue";
  298. Archivable = true;
  299. Value = NewWeld.C1;
  300. })
  301. end
  302.  
  303. return NewWeld
  304. end
  305.  
  306. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  307. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  308. -- @param MainPart The part to weld the model to (can be in the model).
  309. -- @param [JointType] The type of joint. Defaults to weld.
  310. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  311.  
  312. for _, Part in pairs(Parts) do
  313. if ShouldBreakJoints(Part) then
  314. Part:BreakJoints()
  315. end
  316. end
  317.  
  318. for _, Part in pairs(Parts) do
  319. if Part ~= MainPart then
  320. WeldTogether(MainPart, Part, JointType, MainPart)
  321. end
  322. end
  323.  
  324. if not DoNotUnanchor then
  325. for _, Part in pairs(Parts) do
  326. Part.Anchored = false
  327. end
  328. MainPart.Anchored = false
  329. end
  330. end
  331.  
  332. local function PerfectionWeld()
  333. local Tool = GetNearestParent(script, "Tool")
  334.  
  335. local Parts = GetBricks(script.Parent)
  336. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  337.  
  338. if PrimaryPart then
  339. WeldParts(Parts, PrimaryPart, "Weld", false)
  340. else
  341. warn("qWeld - Unable to weld part")
  342. end
  343.  
  344. return Tool
  345. end
  346.  
  347. local Tool = PerfectionWeld()
  348.  
  349.  
  350. if Tool and script.ClassName == "Script" then
  351. --- Don't bother with local scripts
  352.  
  353. script.Parent.AncestryChanged:connect(function()
  354. PerfectionWeld()
  355. end)
  356. end
  357.  
  358. -- Created by Quenty (@Quenty, follow me on twitter).
  359.  
  360. end))
  361. Part5.Parent = Tool2
  362. Part5.CFrame = CFrame.new(-13.0561762, 3.1707232, 19.9635887, -0.866025984, 0, -0.499998987, 0, 1, 0, 0.499998987, 0, -0.866025984)
  363. Part5.Orientation = Vector3.new(0, -150, 0)
  364. Part5.Position = Vector3.new(-13.0561762, 3.1707232, 19.9635887)
  365. Part5.Rotation = Vector3.new(-180, -30, -180)
  366. Part5.Color = Color3.new(0.431373, 0.6, 0.792157)
  367. Part5.Transparency = 1
  368. Part5.Size = Vector3.new(6.22828388, 6.25657892, 0.819510996)
  369. Part5.BrickColor = BrickColor.new("Medium blue")
  370. Part5.CanCollide = false
  371. Part5.brickColor = BrickColor.new("Medium blue")
  372. Decal6.Parent = Part5
  373. Decal6.Texture = "http://www.roblox.com/asset/?id=551522292"
  374. Decal6.Face = Enum.NormalId.Back
  375. Decal7.Parent = Part5
  376. Decal7.Texture = "http://www.roblox.com/asset/?id=551522292"
  377. Part8.Parent = Tool2
  378. Part8.CFrame = CFrame.new(-13.2100639, 1.82840061, 19.9075584, 0.342019916, 0, 0.939692736, 0, 1, 0, -0.939692736, 0, 0.342019886)
  379. Part8.Orientation = Vector3.new(0, 70, 0)
  380. Part8.Position = Vector3.new(-13.2100639, 1.82840061, 19.9075584)
  381. Part8.Rotation = Vector3.new(0, 70, 0)
  382. Part8.Color = Color3.new(0.431373, 0.6, 0.792157)
  383. Part8.Transparency = 1
  384. Part8.Size = Vector3.new(6.22828388, 6.30657864, 0.819510996)
  385. Part8.BrickColor = BrickColor.new("Medium blue")
  386. Part8.CanCollide = false
  387. Part8.brickColor = BrickColor.new("Medium blue")
  388. Decal9.Parent = Part8
  389. Decal9.Texture = "http://www.roblox.com/asset/?id=551522292"
  390. Decal9.Face = Enum.NormalId.Back
  391. Decal10.Parent = Part8
  392. Decal10.Texture = "http://www.roblox.com/asset/?id=551522292"
  393. Part11.Parent = Tool2
  394. Part11.CFrame = CFrame.new(-13.2101727, 3.14073157, 19.9075451, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736)
  395. Part11.Orientation = Vector3.new(0, -20, 0)
  396. Part11.Position = Vector3.new(-13.2101727, 3.14073157, 19.9075451)
  397. Part11.Rotation = Vector3.new(0, -20, 0)
  398. Part11.Color = Color3.new(0.431373, 0.6, 0.792157)
  399. Part11.Transparency = 1
  400. Part11.Size = Vector3.new(6.22828388, 6.31657791, 0.819510996)
  401. Part11.BrickColor = BrickColor.new("Medium blue")
  402. Part11.CanCollide = false
  403. Part11.brickColor = BrickColor.new("Medium blue")
  404. Decal12.Parent = Part11
  405. Decal12.Texture = "http://www.roblox.com/asset/?id=551522292"
  406. Decal12.Face = Enum.NormalId.Back
  407. Decal13.Parent = Part11
  408. Decal13.Texture = "http://www.roblox.com/asset/?id=551522292"
  409. Part14.Parent = Tool2
  410. Part14.CFrame = CFrame.new(-13.0561075, 3.12572312, 19.9636059, -0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, -0.500000238)
  411. Part14.Orientation = Vector3.new(0, 120, 0)
  412. Part14.Position = Vector3.new(-13.0561075, 3.12572312, 19.9636059)
  413. Part14.Rotation = Vector3.new(-180, 60, -180)
  414. Part14.Color = Color3.new(0.431373, 0.6, 0.792157)
  415. Part14.Transparency = 1
  416. Part14.Size = Vector3.new(6.22828388, 6.34657907, 0.819510996)
  417. Part14.BrickColor = BrickColor.new("Medium blue")
  418. Part14.CanCollide = false
  419. Part14.brickColor = BrickColor.new("Medium blue")
  420. Decal15.Parent = Part14
  421. Decal15.Texture = "http://www.roblox.com/asset/?id=551522292"
  422. Decal15.Face = Enum.NormalId.Back
  423. Decal16.Parent = Part14
  424. Decal16.Texture = "http://www.roblox.com/asset/?id=551522292"
  425. Part17.Parent = Tool2
  426. Part17.CFrame = CFrame.new(-13.0561762, 3.15572333, 19.9636002, -0.642788053, 0, -0.76604414, 0, 1, 0, 0.76604414, 0, -0.642788053)
  427. Part17.Orientation = Vector3.new(0, -130, 0)
  428. Part17.Position = Vector3.new(-13.0561762, 3.15572333, 19.9636002)
  429. Part17.Rotation = Vector3.new(-180, -50, -180)
  430. Part17.Color = Color3.new(0.431373, 0.6, 0.792157)
  431. Part17.Transparency = 1
  432. Part17.Size = Vector3.new(6.22828388, 6.28657866, 0.819510996)
  433. Part17.BrickColor = BrickColor.new("Medium blue")
  434. Part17.CanCollide = false
  435. Part17.brickColor = BrickColor.new("Medium blue")
  436. Decal18.Parent = Part17
  437. Decal18.Texture = "http://www.roblox.com/asset/?id=551522292"
  438. Decal18.Face = Enum.NormalId.Back
  439. Decal19.Parent = Part17
  440. Decal19.Texture = "http://www.roblox.com/asset/?id=551522292"
  441. Part20.Parent = Tool2
  442. Part20.CFrame = CFrame.new(-13.2199564, 2.84089971, 19.9636002, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  443. Part20.Orientation = Vector3.new(0, 90, 0)
  444. Part20.Position = Vector3.new(-13.2199564, 2.84089971, 19.9636002)
  445. Part20.Rotation = Vector3.new(0, 90, 0)
  446. Part20.Color = Color3.new(0.431373, 0.6, 0.792157)
  447. Part20.Transparency = 1
  448. Part20.Size = Vector3.new(6.22828388, 6.24657869, 0.819510996)
  449. Part20.BrickColor = BrickColor.new("Medium blue")
  450. Part20.CanCollide = false
  451. Part20.brickColor = BrickColor.new("Medium blue")
  452. Decal21.Parent = Part20
  453. Decal21.Texture = "http://www.roblox.com/asset/?id=551522292"
  454. Decal21.Face = Enum.NormalId.Back
  455. Decal22.Parent = Part20
  456. Decal22.Texture = "http://www.roblox.com/asset/?id=551522292"
  457. Part23.Parent = Tool2
  458. Part23.CFrame = CFrame.new(-13.2200565, 3.18573093, 19.9636002, 1, -1.10621244e-07, 4.47034836e-07, 1.10621023e-07, 0.999999881, 1.50164496e-07, -4.47034836e-07, -1.50164382e-07, 1)
  459. Part23.Position = Vector3.new(-13.2200565, 3.18573093, 19.9636002)
  460. Part23.Color = Color3.new(0.431373, 0.6, 0.792157)
  461. Part23.Transparency = 1
  462. Part23.Size = Vector3.new(6.22828388, 6.22657919, 0.819510996)
  463. Part23.BrickColor = BrickColor.new("Medium blue")
  464. Part23.CanCollide = false
  465. Part23.brickColor = BrickColor.new("Medium blue")
  466. Decal24.Parent = Part23
  467. Decal24.Texture = "http://www.roblox.com/asset/?id=551522292"
  468. Decal24.Face = Enum.NormalId.Back
  469. Decal25.Parent = Part23
  470. Decal25.Texture = "http://www.roblox.com/asset/?id=551522292"
  471. Part26.Parent = Tool2
  472. Part26.CFrame = CFrame.new(-13.0561094, 3.29572296, 19.9635983, -0.766044974, 0, 0.64278698, 0, 1, 0, -0.64278698, 0, -0.766044974)
  473. Part26.Orientation = Vector3.new(0, 140, 0)
  474. Part26.Position = Vector3.new(-13.0561094, 3.29572296, 19.9635983)
  475. Part26.Rotation = Vector3.new(-180, 40, -180)
  476. Part26.Color = Color3.new(0.431373, 0.6, 0.792157)
  477. Part26.Transparency = 1
  478. Part26.Size = Vector3.new(6.22828388, 6.36657953, 0.819510996)
  479. Part26.BrickColor = BrickColor.new("Medium blue")
  480. Part26.CanCollide = false
  481. Part26.brickColor = BrickColor.new("Medium blue")
  482. Decal27.Parent = Part26
  483. Decal27.Texture = "http://www.roblox.com/asset/?id=551522292"
  484. Decal27.Face = Enum.NormalId.Back
  485. Decal28.Parent = Part26
  486. Decal28.Texture = "http://www.roblox.com/asset/?id=551522292"
  487. ManualWeld29.Name = "Part-to-Part Strong Joint"
  488. ManualWeld29.Parent = Part26
  489. ManualWeld29.C0 = CFrame.new(3.11414194, -3.18328977, -0.409755498, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  490. ManualWeld29.C1 = CFrame.new(3.11414242, -2.79623008, 0.424724579, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  491. ManualWeld29.Part0 = Part26
  492. ManualWeld29.Part1 = Part42
  493. ManualWeld29.part1 = Part42
  494. Part30.Parent = Tool2
  495. Part30.CFrame = CFrame.new(-13.5954809, 2.45959091, 19.0294819, -0.866025984, 0, -0.499998987, 0, 1, 0, 0.499998987, 0, -0.866025984)
  496. Part30.Orientation = Vector3.new(0, -150, 0)
  497. Part30.Position = Vector3.new(-13.5954809, 2.45959091, 19.0294819)
  498. Part30.Rotation = Vector3.new(-180, -30, -180)
  499. Part30.Color = Color3.new(0.431373, 0.6, 0.792157)
  500. Part30.Transparency = 1
  501. Part30.Size = Vector3.new(6.22828388, 6.25657892, 0.819510996)
  502. Part30.BrickColor = BrickColor.new("Medium blue")
  503. Part30.CanCollide = false
  504. Part30.brickColor = BrickColor.new("Medium blue")
  505. Decal31.Parent = Part30
  506. Decal31.Texture = "http://www.roblox.com/asset/?id=551522292"
  507. Decal31.Face = Enum.NormalId.Back
  508. Decal32.Parent = Part30
  509. Decal32.Texture = "http://www.roblox.com/asset/?id=551522292"
  510. Part33.Parent = Tool2
  511. Part33.CFrame = CFrame.new(-12.2644844, 2.22249508, 19.0201778, -0.766044974, 0, 0.64278698, 0, 1, 0, -0.64278698, 0, -0.766044974)
  512. Part33.Orientation = Vector3.new(0, 140, 0)
  513. Part33.Position = Vector3.new(-12.2644844, 2.22249508, 19.0201778)
  514. Part33.Rotation = Vector3.new(-180, 40, -180)
  515. Part33.Color = Color3.new(0.431373, 0.6, 0.792157)
  516. Part33.Transparency = 1
  517. Part33.Size = Vector3.new(6.22828388, 6.36657953, 0.819510996)
  518. Part33.BrickColor = BrickColor.new("Medium blue")
  519. Part33.CanCollide = false
  520. Part33.brickColor = BrickColor.new("Medium blue")
  521. Decal34.Parent = Part33
  522. Decal34.Texture = "http://www.roblox.com/asset/?id=551522292"
  523. Decal34.Face = Enum.NormalId.Back
  524. Decal35.Parent = Part33
  525. Decal35.Texture = "http://www.roblox.com/asset/?id=551522292"
  526. Part36.Parent = Tool2
  527. Part36.CFrame = CFrame.new(-12.5192251, 2.68972206, 20.8936176, -0.866025984, 0, -0.499998987, 0, 1, 0, 0.499998987, 0, -0.866025984)
  528. Part36.Orientation = Vector3.new(0, -150, 0)
  529. Part36.Position = Vector3.new(-12.5192251, 2.68972206, 20.8936176)
  530. Part36.Rotation = Vector3.new(-180, -30, -180)
  531. Part36.Color = Color3.new(0.431373, 0.6, 0.792157)
  532. Part36.Transparency = 1
  533. Part36.Size = Vector3.new(6.22828388, 6.25657892, 0.819510996)
  534. Part36.BrickColor = BrickColor.new("Medium blue")
  535. Part36.CanCollide = false
  536. Part36.brickColor = BrickColor.new("Medium blue")
  537. Decal37.Parent = Part36
  538. Decal37.Texture = "http://www.roblox.com/asset/?id=551522292"
  539. Decal37.Face = Enum.NormalId.Back
  540. Decal38.Parent = Part36
  541. Decal38.Texture = "http://www.roblox.com/asset/?id=551522292"
  542. Part39.Parent = Tool2
  543. Part39.CFrame = CFrame.new(-13.2200537, 2.62646055, 20.9377441, 1, -1.10621244e-07, 4.47034836e-07, 1.10621023e-07, 0.999999881, 1.50164496e-07, -4.47034836e-07, -1.50164382e-07, 1)
  544. Part39.Position = Vector3.new(-13.2200537, 2.62646055, 20.9377441)
  545. Part39.Color = Color3.new(0.431373, 0.6, 0.792157)
  546. Part39.Transparency = 1
  547. Part39.Size = Vector3.new(6.22828388, 6.22657919, 0.819510996)
  548. Part39.BrickColor = BrickColor.new("Medium blue")
  549. Part39.CanCollide = false
  550. Part39.brickColor = BrickColor.new("Medium blue")
  551. Decal40.Parent = Part39
  552. Decal40.Texture = "http://www.roblox.com/asset/?id=551522292"
  553. Decal40.Face = Enum.NormalId.Back
  554. Decal41.Parent = Part39
  555. Decal41.Texture = "http://www.roblox.com/asset/?id=551522292"
  556. Part42.Parent = Tool2
  557. Part42.CFrame = CFrame.new(-13.5925016, 2.90866327, 20.6028481, -0.766044974, 0, 0.64278698, 0, 1, 0, -0.64278698, 0, -0.766044974)
  558. Part42.Orientation = Vector3.new(0, 140, 0)
  559. Part42.Position = Vector3.new(-13.5925016, 2.90866327, 20.6028481)
  560. Part42.Rotation = Vector3.new(-180, 40, -180)
  561. Part42.Color = Color3.new(0.431373, 0.6, 0.792157)
  562. Part42.Transparency = 1
  563. Part42.Size = Vector3.new(6.22828388, 6.36657953, 0.819510996)
  564. Part42.BrickColor = BrickColor.new("Medium blue")
  565. Part42.CanCollide = false
  566. Part42.brickColor = BrickColor.new("Medium blue")
  567. Decal43.Parent = Part42
  568. Decal43.Texture = "http://www.roblox.com/asset/?id=551522292"
  569. Decal43.Face = Enum.NormalId.Back
  570. Decal44.Parent = Part42
  571. Decal44.Texture = "http://www.roblox.com/asset/?id=551522292"
  572. Part45.Parent = Tool2
  573. Part45.CFrame = CFrame.new(-12.4590702, 2.8141222, 20.9978123, -0.866025984, 0, -0.499998987, 0, 1, 0, 0.499998987, 0, -0.866025984)
  574. Part45.Orientation = Vector3.new(0, -150, 0)
  575. Part45.Position = Vector3.new(-12.4590702, 2.8141222, 20.9978123)
  576. Part45.Rotation = Vector3.new(-180, -30, -180)
  577. Part45.Color = Color3.new(0.431373, 0.6, 0.792157)
  578. Part45.Transparency = 1
  579. Part45.Size = Vector3.new(6.22828388, 6.25657892, 0.819510996)
  580. Part45.BrickColor = BrickColor.new("Medium blue")
  581. Part45.CanCollide = false
  582. Part45.brickColor = BrickColor.new("Medium blue")
  583. Decal46.Parent = Part45
  584. Decal46.Texture = "http://www.roblox.com/asset/?id=551522292"
  585. Decal46.Face = Enum.NormalId.Back
  586. Decal47.Parent = Part45
  587. Decal47.Texture = "http://www.roblox.com/asset/?id=551522292"
  588. Part48.Parent = Tool2
  589. Part48.CFrame = CFrame.new(-12.8177738, 2.62417459, 18.8294449, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736)
  590. Part48.Orientation = Vector3.new(0, -20, 0)
  591. Part48.Position = Vector3.new(-12.8177738, 2.62417459, 18.8294449)
  592. Part48.Rotation = Vector3.new(0, -20, 0)
  593. Part48.Color = Color3.new(0.431373, 0.6, 0.792157)
  594. Part48.Transparency = 1
  595. Part48.Size = Vector3.new(6.22828388, 6.31657791, 0.819510996)
  596. Part48.BrickColor = BrickColor.new("Medium blue")
  597. Part48.CanCollide = false
  598. Part48.brickColor = BrickColor.new("Medium blue")
  599. Decal49.Parent = Part48
  600. Decal49.Texture = "http://www.roblox.com/asset/?id=551522292"
  601. Decal49.Face = Enum.NormalId.Back
  602. Decal50.Parent = Part48
  603. Decal50.Texture = "http://www.roblox.com/asset/?id=551522292"
  604. Part51.Parent = Tool2
  605. Part51.CFrame = CFrame.new(-12.62321, 2.67885303, 19.5517483, -0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, -0.500000238)
  606. Part51.Orientation = Vector3.new(0, 120, 0)
  607. Part51.Position = Vector3.new(-12.62321, 2.67885303, 19.5517483)
  608. Part51.Rotation = Vector3.new(-180, 60, -180)
  609. Part51.Color = Color3.new(0.431373, 0.6, 0.792157)
  610. Part51.Transparency = 1
  611. Part51.Size = Vector3.new(6.22828388, 6.34657907, 0.819510996)
  612. Part51.BrickColor = BrickColor.new("Medium blue")
  613. Part51.CanCollide = false
  614. Part51.brickColor = BrickColor.new("Medium blue")
  615. Decal52.Parent = Part51
  616. Decal52.Texture = "http://www.roblox.com/asset/?id=551522292"
  617. Decal52.Face = Enum.NormalId.Back
  618. Decal53.Parent = Part51
  619. Decal53.Texture = "http://www.roblox.com/asset/?id=551522292"
  620. Part54.Parent = Tool2
  621. Part54.CFrame = CFrame.new(-12.1966763, 2.47195292, 19.3054886, -0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, -0.500000238)
  622. Part54.Orientation = Vector3.new(0, 120, 0)
  623. Part54.Position = Vector3.new(-12.1966763, 2.47195292, 19.3054886)
  624. Part54.Rotation = Vector3.new(-180, 60, -180)
  625. Part54.Color = Color3.new(0.431373, 0.6, 0.792157)
  626. Part54.Transparency = 1
  627. Part54.Size = Vector3.new(6.22828388, 6.34657907, 0.819510996)
  628. Part54.BrickColor = BrickColor.new("Medium blue")
  629. Part54.CanCollide = false
  630. Part54.brickColor = BrickColor.new("Medium blue")
  631. Decal55.Parent = Part54
  632. Decal55.Texture = "http://www.roblox.com/asset/?id=551522292"
  633. Decal55.Face = Enum.NormalId.Back
  634. Decal56.Parent = Part54
  635. Decal56.Texture = "http://www.roblox.com/asset/?id=551522292"
  636. Part57.Parent = Tool2
  637. Part57.CFrame = CFrame.new(-13.7308779, 2.09232092, 20.3531857, -0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, -0.500000238)
  638. Part57.Orientation = Vector3.new(0, 120, 0)
  639. Part57.Position = Vector3.new(-13.7308779, 2.09232092, 20.3531857)
  640. Part57.Rotation = Vector3.new(-180, 60, -180)
  641. Part57.Color = Color3.new(0.431373, 0.6, 0.792157)
  642. Part57.Transparency = 1
  643. Part57.Size = Vector3.new(6.22828388, 6.34657907, 0.819510996)
  644. Part57.BrickColor = BrickColor.new("Medium blue")
  645. Part57.CanCollide = false
  646. Part57.brickColor = BrickColor.new("Medium blue")
  647. Decal58.Parent = Part57
  648. Decal58.Texture = "http://www.roblox.com/asset/?id=551522292"
  649. Decal58.Face = Enum.NormalId.Back
  650. Decal59.Parent = Part57
  651. Decal59.Texture = "http://www.roblox.com/asset/?id=551522292"
  652. Part60.Parent = Tool2
  653. Part60.CFrame = CFrame.new(-11.8408051, 2.19657516, 18.5152588, -0.766044974, 0, 0.64278698, 0, 1, 0, -0.64278698, 0, -0.766044974)
  654. Part60.Orientation = Vector3.new(0, 140, 0)
  655. Part60.Position = Vector3.new(-11.8408051, 2.19657516, 18.5152588)
  656. Part60.Rotation = Vector3.new(-180, 40, -180)
  657. Part60.Color = Color3.new(0.431373, 0.6, 0.792157)
  658. Part60.Transparency = 1
  659. Part60.Size = Vector3.new(6.22828388, 6.36657953, 0.819510996)
  660. Part60.BrickColor = BrickColor.new("Medium blue")
  661. Part60.CanCollide = false
  662. Part60.brickColor = BrickColor.new("Medium blue")
  663. Decal61.Parent = Part60
  664. Decal61.Texture = "http://www.roblox.com/asset/?id=551522292"
  665. Decal61.Face = Enum.NormalId.Back
  666. Decal62.Parent = Part60
  667. Decal62.Texture = "http://www.roblox.com/asset/?id=551522292"
  668. ManualWeld63.Name = "Part-to-Part Strong Joint"
  669. ManualWeld63.Parent = Part60
  670. ManualWeld63.C0 = CFrame.new(3.11414194, -3.18328977, -0.409755498, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  671. ManualWeld63.C1 = CFrame.new(3.11414242, -2.79623008, 0.424724579, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  672. ManualWeld63.Part0 = Part60
  673. for i,v in pairs(mas:GetChildren()) do
  674. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  675. pcall(function() v:MakeJoints() end)
  676. end
  677. mas:Destroy()
  678. for i,v in pairs(cors) do
  679. spawn(function()
  680. pcall(v)
  681. end)
  682. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement