okban

Untitled

Feb 21st, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.52 KB | None | 0 0
  1. -- unganda Force
  2. --[[
  3. Uganda Force
  4. By: KYLETHORNTON
  5.  
  6. --]]
  7.  
  8. local p = game.Players.LocalPlayer.Character
  9. local weld = Instance.new("Weld",p.Head)
  10. weld.Part0 = p.Head
  11.  
  12. local train = Instance.new("Part",p.Head)
  13. train.Name = "Head2"
  14. train.Orientation = Vector3.new(0, -100, 0)
  15. train.Anchored = true
  16. train.CanCollide = false
  17. train.Size = Vector3.new(1,1,1)
  18. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  19. weld.Part1 = train
  20. weld.C1 = CFrame.new(0,-0.13,-0.2) * CFrame.Angles(0,math.rad(-360),0)
  21. train.Anchored = false
  22. local TrainMesh = Instance.new("SpecialMesh",train)
  23. TrainMesh.MeshType = Enum.MeshType.FileMesh
  24. TrainMesh.Scale = Vector3.new(0.1, 0.1, 0.11)
  25. TrainMesh.MeshId = "rbxassetid://584648821"
  26. TrainMesh.TextureId = "rbxassetid://584646976"
  27.  
  28. --[[hair]]------------------------------------------------
  29. local weld2 = Instance.new("Weld",p.Head)
  30. weld2.Part0 = p.Head
  31. local Knuckles = Instance.new("Part",p.Head)
  32. Knuckles.Orientation = Vector3.new(0, -100, 0)
  33. Knuckles.Anchored = false
  34. Knuckles.BrickColor = BrickColor.new("Really black")
  35. Knuckles.Rotation = Vector3.new(-90, -75, -90)
  36. Knuckles.Orientation = Vector3.new(-15, -90, 0)
  37. Knuckles.CanCollide = false
  38. Knuckles.Size = Vector3.new(1,1,1)
  39. Knuckles.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  40. weld2.Part1 = Knuckles
  41. weld2.C1 = CFrame.new(0,0.1,-0.2)-- * CFrame.Angles(0,math.rad(180),0)
  42. Knuckles.Anchored = false
  43. local KnucklesMesh = Instance.new("SpecialMesh",Knuckles)
  44. KnucklesMesh.MeshType = Enum.MeshType.FileMesh
  45. KnucklesMesh.Scale = Vector3.new(1.2, 1.1, 1.1)
  46. KnucklesMesh.MeshId = "rbxassetid://85855767"
  47. KnucklesMesh.TextureId = ""
  48. ---------------------------------------------------------------------------
  49. --[[hair2]]-----------------------------------------------------------------
  50. local weld3 = Instance.new("Weld",p.Head)
  51. weld3.Part0 = p.Head
  52. local Flag = Instance.new("Part",p.Head)
  53. Flag.Orientation = Vector3.new(0, 50, 0)
  54. Flag.Anchored = false
  55. Flag.CanCollide = false
  56. Flag.Size = Vector3.new(1,1,1)
  57. Flag.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  58. weld3.Part1 = Flag
  59. weld3.C1 = CFrame.new(0,2.1,-0.3)-- * CFrame.Angles(0,math.rad(180),0)
  60. Flag.Anchored = false
  61. local FlagMesh = Instance.new("SpecialMesh",Flag)
  62. FlagMesh.MeshType = Enum.MeshType.FileMesh
  63. FlagMesh.Scale = Vector3.new(1.2, 1.8, 2)
  64. FlagMesh.MeshId = "rbxassetid://114046169"
  65. FlagMesh.TextureId = "rbxassetid://177589002"
  66. ---------------------------------------------------------------------------
  67.  
  68.  
  69.  
  70.  
  71. local Particle = Instance.new("ParticleEmitter",Smoke)
  72. Particle.Rate = 50;
  73. Particle.Speed = NumberRange.new(30,60);
  74. Particle.VelocitySpread = 4;
  75. Particle.Texture = "rbxassetid://0"
  76.  
  77. local Light = Instance.new("SpotLight",train)
  78. Light.Angle = 45;
  79. Light.Brightness = 0;
  80. Light.Face = Enum.NormalId.Back;
  81. Light.Range = 30;
  82.  
  83. p.Humanoid.WalkSpeed = 16;
  84.  
  85.  
  86. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  87. train.Touched:connect(function(p)
  88. if p.Parent then
  89. if p.Parent:IsA("Model") then
  90. if game.Players:FindFirstChild(p.Parent.Name) then
  91. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  92. local Whistle = SFX(0)
  93. Whistle:Play()
  94. end
  95. end
  96. end
  97. end
  98. end)
  99.  
  100. local Music = SFX(0)
  101. Music.Looped = true;
  102. wait(0)
  103. Music:Play();
  104. -- ~CL 2016
  105. wait(0.1)
  106. local Player = game.Players.localPlayer
  107. local Character = Player.Character
  108. local Humanoid = Character.Humanoid
  109. local Mouse = Player:GetMouse()
  110. local LeftArm = Character["Left Arm"]
  111. local RightArm = Character["Right Arm"]
  112. local LeftLeg = Character["Left Leg"]
  113. local RightLeg = Character["Right Leg"]
  114. local Head = Character.Head
  115. local Torso = Character.Torso
  116. local Camera = game.Workspace.CurrentCamera
  117. local RootPart = Character.HumanoidRootPart
  118. local RootJoint = RootPart.RootJoint
  119. local attack = false
  120. local Anim = 'Idle'
  121. local attacktype = 1
  122. local delays = false
  123. local play = true
  124. local targetted = nil
  125. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  126. local velocity = RootPart.Velocity.y
  127. local sine = 0
  128. local change = 1
  129. local doe = 0
  130. local Create = LoadLibrary("RbxUtility").Create
  131. Humanoid.WalkSpeed = 16
  132.  
  133. local Orin = "rbxassetid://0"
  134. Head.face.Texture = Orin
  135. spawn(function()
  136. while wait() do
  137. Head.BrickColor = BrickColor.new("Really black")
  138. end
  139. end)
  140. for i,v in pairs(Character:children()) do
  141. if v:IsA("Hat") then
  142. v:Destroy()
  143. end
  144. end
  145. for i,v in pairs(Character:children()) do
  146. if v:IsA("Accessory") then
  147. v:Destroy()
  148. end
  149. end
  150. for i,v in pairs(Character:children()) do
  151. if v:IsA("Hair") then
  152. v:Destroy()
  153. end
  154. end
  155. for i,v in pairs(Character:children()) do
  156. if v:IsA("Shirt") then
  157. v:Destroy()
  158. end
  159. end
  160. for i,v in pairs(Character:children()) do
  161. if v:IsA("Pants") then
  162. v:Destroy()
  163. end
  164. end
  165. for i,v in pairs(Character:children()) do
  166. if v:IsA("Graphic Shirt") then
  167. v:Destroy()
  168. end
  169. end
  170. wait(0.1)
  171. function sandbox(var,func)
  172. local env = getfenv(func)
  173. local newenv = setmetatable({},{
  174. __index = function(self,k)
  175. if k=="script" then
  176. return var
  177. else
  178. return env[k]
  179. end
  180. end,
  181. })
  182. setfenv(func,newenv)
  183. return func
  184. end
  185. cors = {}
  186. mas = Instance.new("Model",game:GetService("Lighting"))
  187. ForceField0 = Instance.new("ForceField")
  188. ForceField1 = Instance.new("ForceField")
  189. ForceField2 = Instance.new("ForceField")
  190. ForceField3 = Instance.new("ForceField")
  191. ForceField0.Parent = mas
  192. ForceField0.Visible = false
  193. ForceField1.Parent = mas
  194. ForceField1.Visible = false
  195. ForceField2.Parent = mas
  196. ForceField2.Visible = false
  197. ForceField3.Parent = mas
  198. ForceField3.Visible = false
  199. Script0 = Instance.new("Script")
  200. Sound1 = Instance.new("Sound")
  201. Sound2 = Instance.new("Sound")
  202. Sound3 = Instance.new("Sound")
  203. Sound4 = Instance.new("Sound")
  204. Sound5 = Instance.new("Sound")
  205. Script0.Name = "sound's"
  206. Script0.Parent = mas
  207. table.insert(cors,sandbox(Script0,function()
  208. --Uganda sound--
  209.  
  210. function onKeyPress(inputObject, gameProcessedEvent)
  211. if inputObject.KeyCode == Enum.KeyCode.F10 then
  212. script.Sound:Play()
  213. end
  214. end
  215. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  216.  
  217. function onKeyPress(inputObject, gameProcessedEvent)
  218. if inputObject.KeyCode == Enum.KeyCode.F1 then
  219. script.Sound2:Play()
  220. end
  221. end
  222. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  223.  
  224. function onKeyPress(inputObject, gameProcessedEvent)
  225. if inputObject.KeyCode == Enum.KeyCode.F1 then
  226. script.Sound3:Play()
  227. end
  228. end
  229. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  230.  
  231. function onKeyPress(inputObject, gameProcessedEvent)
  232. if inputObject.KeyCode == Enum.KeyCode.F1 then
  233. script.Sound4:Play()
  234. end
  235. end
  236. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  237.  
  238. function onKeyPress(inputObject, gameProcessedEvent)
  239. if inputObject.KeyCode == Enum.KeyCode.F1 then
  240. script.Sound5:Play()
  241. end
  242. end
  243. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  244. end))
  245. Sound1.Parent = Script0
  246. Sound1.SoundId = "rbxassetid://360299249"
  247. Sound1.Volume = 10
  248. Sound2.Name = "Sound2"
  249. Sound2.Parent = Script0
  250. Sound2.SoundId = "rbxassetid://1295525558"
  251. Sound2.Volume = 10
  252. Sound3.Name = "Sound3"
  253. Sound3.Parent = Script0
  254. Sound3.SoundId = "rbxassetid://1322795266"
  255. Sound3.Volume = 10
  256. Sound4.Name = "Sound4"
  257. Sound4.Parent = Script0
  258. Sound4.SoundId = "rbxassetid://1311432465"
  259. Sound4.Volume = 10
  260. Sound5.Name = "Sound5"
  261. Sound5.Parent = Script0
  262. Sound5.SoundId = "rbxassetid://1316278479"
  263. Sound5.Volume = 10
  264. for i,v in pairs(mas:GetChildren()) do
  265. v.Parent = game:GetService("Players").LocalPlayer.Character
  266. pcall(function() v:MakeJoints() end)
  267. end
  268. mas:Destroy()
  269. for i,v in pairs(cors) do
  270. spawn(function()
  271. pcall(v)
  272. end)
  273. end
  274. wait(0.1)
  275. local Player = game.Players.KYLETHORNTON
  276. local char = Player.Character
  277. local Character = Player.Character
  278. local Head = Character.Head
  279. local done = false
  280. local canheal = false
  281. local deathchat1 = false
  282. local once = true
  283. local dead = false
  284. local candie = true
  285. local deathchat = false
  286. local idleon = true
  287. local idle1 = true
  288. local idle = true
  289. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
  290. if v:IsA("Accessory") then
  291. v:Destroy()
  292. end
  293. end
  294. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  295. if v:IsA("Shirt") then
  296. v:Remove()
  297. end
  298. end
  299. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  300. if v:IsA("Pants") then
  301. v:Remove()
  302. end
  303. end
  304. wait()
  305. shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character)
  306. shirt.Name = "Shirt"
  307. pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character)
  308. pants.Name = "Pants"
  309. shirt = Instance.new("Shirt", char)
  310. shirt.Name = "Shirt"
  311. pants = Instance.new("Pants", char)
  312. pants.Name = "Pants"
  313. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=341742345"
  314. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=341742413"
  315. wait(0)
  316.  
  317. function sandbox(var,func)
  318. local env = getfenv(func)
  319. local newenv = setmetatable({},{
  320. __index = function(self,k)
  321. if k=="script" then
  322. return var
  323. else
  324. return env[k]
  325. end
  326. end,
  327. })
  328. setfenv(func,newenv)
  329. return func
  330. end
  331. cors = {}
  332. mas = Instance.new("Model",game:GetService("Lighting"))
  333. Tool0 = Instance.new("Tool")
  334. BoolValue1 = Instance.new("BoolValue")
  335. BoolValue2 = Instance.new("BoolValue")
  336. BoolValue3 = Instance.new("BoolValue")
  337. Animation4 = Instance.new("Animation")
  338. Animation5 = Instance.new("Animation")
  339. Animation6 = Instance.new("Animation")
  340. Animation7 = Instance.new("Animation")
  341. Animation8 = Instance.new("Animation")
  342. Animation9 = Instance.new("Animation")
  343. Part10 = Instance.new("Part")
  344. CylinderMesh11 = Instance.new("CylinderMesh")
  345. ParticleEmitter12 = Instance.new("ParticleEmitter")
  346. ParticleEmitter13 = Instance.new("ParticleEmitter")
  347. ParticleEmitter14 = Instance.new("ParticleEmitter")
  348. ParticleEmitter15 = Instance.new("ParticleEmitter")
  349. ParticleEmitter16 = Instance.new("ParticleEmitter")
  350. Script17 = Instance.new("Script")
  351. Part18 = Instance.new("Part")
  352. CylinderMesh19 = Instance.new("CylinderMesh")
  353. ManualWeld20 = Instance.new("ManualWeld")
  354. Part21 = Instance.new("Part")
  355. ManualWeld22 = Instance.new("ManualWeld")
  356. CylinderMesh23 = Instance.new("CylinderMesh")
  357. Script24 = Instance.new("Script")
  358. LocalScript25 = Instance.new("LocalScript")
  359. LocalScript26 = Instance.new("LocalScript")
  360. Script27 = Instance.new("Script")
  361. Part28 = Instance.new("Part")
  362. Sound29 = Instance.new("Sound")
  363. Sound30 = Instance.new("Sound")
  364. Sound31 = Instance.new("Sound")
  365. Sound32 = Instance.new("Sound")
  366. Sound33 = Instance.new("Sound")
  367. Sound34 = Instance.new("Sound")
  368. Part35 = Instance.new("Part")
  369. CylinderMesh36 = Instance.new("CylinderMesh")
  370. ManualWeld37 = Instance.new("ManualWeld")
  371. LocalScript38 = Instance.new("LocalScript")
  372. Animation39 = Instance.new("Animation")
  373. Animation40 = Instance.new("Animation")
  374. ParticleEmitter41 = Instance.new("ParticleEmitter")
  375. Script42 = Instance.new("Script")
  376. Part43 = Instance.new("Part")
  377. ParticleEmitter44 = Instance.new("ParticleEmitter")
  378. ParticleEmitter45 = Instance.new("ParticleEmitter")
  379. ManualWeld46 = Instance.new("ManualWeld")
  380. ParticleEmitter47 = Instance.new("ParticleEmitter")
  381. ParticleEmitter48 = Instance.new("ParticleEmitter")
  382. ParticleEmitter49 = Instance.new("ParticleEmitter")
  383. ParticleEmitter50 = Instance.new("ParticleEmitter")
  384. ParticleEmitter51 = Instance.new("ParticleEmitter")
  385. ParticleEmitter52 = Instance.new("ParticleEmitter")
  386. ParticleEmitter53 = Instance.new("ParticleEmitter")
  387. ParticleEmitter54 = Instance.new("ParticleEmitter")
  388. ParticleEmitter55 = Instance.new("ParticleEmitter")
  389. ParticleEmitter56 = Instance.new("ParticleEmitter")
  390. ParticleEmitter57 = Instance.new("ParticleEmitter")
  391. Part58 = Instance.new("Part")
  392. CylinderMesh59 = Instance.new("CylinderMesh")
  393. ParticleEmitter60 = Instance.new("ParticleEmitter")
  394. ParticleEmitter61 = Instance.new("ParticleEmitter")
  395. ParticleEmitter62 = Instance.new("ParticleEmitter")
  396. ParticleEmitter63 = Instance.new("ParticleEmitter")
  397. ParticleEmitter64 = Instance.new("ParticleEmitter")
  398. ParticleEmitter65 = Instance.new("ParticleEmitter")
  399. ParticleEmitter66 = Instance.new("ParticleEmitter")
  400. ManualWeld67 = Instance.new("ManualWeld")
  401. Part68 = Instance.new("Part")
  402. ParticleEmitter69 = Instance.new("ParticleEmitter")
  403. ParticleEmitter70 = Instance.new("ParticleEmitter")
  404. ParticleEmitter71 = Instance.new("ParticleEmitter")
  405. ParticleEmitter72 = Instance.new("ParticleEmitter")
  406. ParticleEmitter73 = Instance.new("ParticleEmitter")
  407. ParticleEmitter74 = Instance.new("ParticleEmitter")
  408. ParticleEmitter75 = Instance.new("ParticleEmitter")
  409. ManualWeld76 = Instance.new("ManualWeld")
  410. Part77 = Instance.new("Part")
  411. BlockMesh78 = Instance.new("BlockMesh")
  412. Part79 = Instance.new("Part")
  413. BlockMesh80 = Instance.new("BlockMesh")
  414. Part81 = Instance.new("Part")
  415. BlockMesh82 = Instance.new("BlockMesh")
  416. Part83 = Instance.new("Part")
  417. CylinderMesh84 = Instance.new("CylinderMesh")
  418. ManualWeld85 = Instance.new("ManualWeld")
  419. Part86 = Instance.new("Part")
  420. CylinderMesh87 = Instance.new("CylinderMesh")
  421. ManualWeld88 = Instance.new("ManualWeld")
  422. Part89 = Instance.new("Part")
  423. CylinderMesh90 = Instance.new("CylinderMesh")
  424. ManualWeld91 = Instance.new("ManualWeld")
  425. Part92 = Instance.new("Part")
  426. CylinderMesh93 = Instance.new("CylinderMesh")
  427. ManualWeld94 = Instance.new("ManualWeld")
  428. Part95 = Instance.new("Part")
  429. BlockMesh96 = Instance.new("BlockMesh")
  430. Part97 = Instance.new("Part")
  431. BlockMesh98 = Instance.new("BlockMesh")
  432. Part99 = Instance.new("Part")
  433. BlockMesh100 = Instance.new("BlockMesh")
  434. Part101 = Instance.new("Part")
  435. BlockMesh102 = Instance.new("BlockMesh")
  436. Part103 = Instance.new("Part")
  437. BlockMesh104 = Instance.new("BlockMesh")
  438. Part105 = Instance.new("Part")
  439. BlockMesh106 = Instance.new("BlockMesh")
  440. Part107 = Instance.new("Part")
  441. BlockMesh108 = Instance.new("BlockMesh")
  442. Script109 = Instance.new("Script")
  443. Tool0.Name = "Kylo Ren's Crossguard Lightsaber"
  444. Tool0.Parent = mas
  445. Tool0.TextureId = "http://www.roblox.com/asset/?id=329944200"
  446. Tool0.GripForward = Vector3.new(1, -0, -0)
  447. Tool0.GripPos = Vector3.new(0, -2.21224976, -0)
  448. Tool0.GripRight = Vector3.new(0, 0, 1)
  449. Tool0.CanBeDropped = false
  450. BoolValue1.Name = "PlayOverhead"
  451. BoolValue1.Parent = Tool0
  452. BoolValue2.Name = "PlaySlash"
  453. BoolValue2.Parent = Tool0
  454. BoolValue3.Name = "PlayThrust"
  455. BoolValue3.Parent = Tool0
  456. Animation4.Name = "IdleAnim3"
  457. Animation4.Parent = Tool0
  458. Animation4.AnimationId = "http://www.roblox.com/Asset?ID=94108418"
  459. Animation5.Name = "OverheadAnim2"
  460. Animation5.Parent = Tool0
  461. Animation5.AnimationId = "http://www.roblox.com/Asset?ID=74897796"
  462. Animation6.Name = "SlashAnim2"
  463. Animation6.Parent = Tool0
  464. Animation6.AnimationId = "http://www.roblox.com/asset/?id=186934658"
  465. Animation7.Name = "ThrustAnim2"
  466. Animation7.Parent = Tool0
  467. Animation7.AnimationId = "http://www.roblox.com/asset/?id=186934910"
  468. Animation8.Name = "UnequipAnim2"
  469. Animation8.Parent = Tool0
  470. Animation8.AnimationId = "http://www.roblox.com/Asset?ID=94095929"
  471. Animation9.Name = "EquipAnim5"
  472. Animation9.Parent = Tool0
  473. Animation9.AnimationId = "http://www.roblox.com/Asset?ID=86504773"
  474. Part10.Name = "Blade1"
  475. Part10.Parent = Tool0
  476. Part10.Material = Enum.Material.Neon
  477. Part10.BrickColor = BrickColor.new("Salmon")
  478. Part10.Rotation = Vector3.new(180, 90, 0)
  479. Part10.CanCollide = false
  480. Part10.FormFactor = Enum.FormFactor.Custom
  481. Part10.Size = Vector3.new(0.283499986, 5.08950138, 0.283499986)
  482. Part10.CFrame = CFrame.new(32.319519, 2.74679923, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  483. Part10.Color = Color3.new(0.952941, 0.537255, 0.537255)
  484. Part10.Position = Vector3.new(32.319519, 2.74679923, 12.6063404)
  485. Part10.Orientation = Vector3.new(0, 90, 180)
  486. Part10.Color = Color3.new(0.952941, 0.537255, 0.537255)
  487. CylinderMesh11.Parent = Part10
  488. CylinderMesh11.Scale = Vector3.new(0.5, 1, 0.5)
  489. CylinderMesh11.Scale = Vector3.new(0.5, 1, 0.5)
  490. ParticleEmitter12.Name = "Emitter"
  491. ParticleEmitter12.Parent = Part10
  492. ParticleEmitter12.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  493. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  494. ParticleEmitter12.LightEmission = 1
  495. ParticleEmitter12.Texture = "rbxasset://textures/spark.png"
  496. ParticleEmitter12.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
  497. ParticleEmitter12.Rate = 2000
  498. ParticleEmitter12.RotSpeed = NumberRange.new(1000, 1000)
  499. ParticleEmitter12.Speed = NumberRange.new(0, 0)
  500. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  501. ParticleEmitter13.Name = "Emitter"
  502. ParticleEmitter13.Parent = Part10
  503. ParticleEmitter13.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  504. ParticleEmitter13.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  505. ParticleEmitter13.LightEmission = 1
  506. ParticleEmitter13.Texture = "rbxasset://textures/spark.png"
  507. ParticleEmitter13.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
  508. ParticleEmitter13.Rate = 2000
  509. ParticleEmitter13.RotSpeed = NumberRange.new(1000, 1000)
  510. ParticleEmitter13.Speed = NumberRange.new(0, 0)
  511. ParticleEmitter13.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  512. ParticleEmitter14.Name = "Emitter"
  513. ParticleEmitter14.Parent = Part10
  514. ParticleEmitter14.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  515. ParticleEmitter14.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  516. ParticleEmitter14.LightEmission = 1
  517. ParticleEmitter14.Texture = "rbxasset://textures/spark.png"
  518. ParticleEmitter14.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
  519. ParticleEmitter14.Rate = 2000
  520. ParticleEmitter14.RotSpeed = NumberRange.new(1000, 1000)
  521. ParticleEmitter14.Speed = NumberRange.new(0, 0)
  522. ParticleEmitter14.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  523. ParticleEmitter15.Name = "Emitter"
  524. ParticleEmitter15.Parent = Part10
  525. ParticleEmitter15.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  526. ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  527. ParticleEmitter15.LightEmission = 1
  528. ParticleEmitter15.Texture = "rbxasset://textures/spark.png"
  529. ParticleEmitter15.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
  530. ParticleEmitter15.Rate = 2000
  531. ParticleEmitter15.RotSpeed = NumberRange.new(1000, 1000)
  532. ParticleEmitter15.Speed = NumberRange.new(0, 0)
  533. ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  534. ParticleEmitter16.Name = "Emitter"
  535. ParticleEmitter16.Parent = Part10
  536. ParticleEmitter16.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  537. ParticleEmitter16.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  538. ParticleEmitter16.LightEmission = 1
  539. ParticleEmitter16.Texture = "rbxasset://textures/spark.png"
  540. ParticleEmitter16.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
  541. ParticleEmitter16.Rate = 2000
  542. ParticleEmitter16.RotSpeed = NumberRange.new(1000, 1000)
  543. ParticleEmitter16.Speed = NumberRange.new(0, 0)
  544. ParticleEmitter16.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  545. Script17.Name = "BreakJointsScript"
  546. Script17.Parent = Part10
  547. table.insert(cors,sandbox(Script17,function()
  548. function onTouched(hit)
  549. hit:BreakJoints()
  550. end
  551.  
  552. connection = script.Parent.Touched:connect(onTouched)
  553. end))
  554. Part18.Name = "Blade2"
  555. Part18.Parent = Tool0
  556. Part18.Material = Enum.Material.Neon
  557. Part18.BrickColor = BrickColor.new("Salmon")
  558. Part18.Rotation = Vector3.new(90, 90, 0)
  559. Part18.CanCollide = false
  560. Part18.FormFactor = Enum.FormFactor.Custom
  561. Part18.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
  562. Part18.CFrame = CFrame.new(32.319519, 5.05828571, 11.9520311, 0, 0, 1, 0.999999881, 0, 0, 0, 0.999999881, 0)
  563. Part18.Color = Color3.new(0.952941, 0.537255, 0.537255)
  564. Part18.Position = Vector3.new(32.319519, 5.05828571, 11.9520311)
  565. Part18.Orientation = Vector3.new(0, 90, 90)
  566. Part18.Color = Color3.new(0.952941, 0.537255, 0.537255)
  567. CylinderMesh19.Parent = Part18
  568. CylinderMesh19.Scale = Vector3.new(0.5, 1, 0.5)
  569. CylinderMesh19.Scale = Vector3.new(0.5, 1, 0.5)
  570. ManualWeld20.Name = "Weld"
  571. ManualWeld20.Parent = Part18
  572. ManualWeld20.C0 = CFrame.new(0, 0, 0, 0, 0, -0.999999881, 0, -0.999999881, 0, -1, 0, 0)
  573. ManualWeld20.C1 = CFrame.new(-0.654309034, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  574. ManualWeld20.Part0 = Part18
  575. ManualWeld20.Part1 = Part28
  576. Part21.Name = "Blade3"
  577. Part21.Parent = Tool0
  578. Part21.Material = Enum.Material.Neon
  579. Part21.BrickColor = BrickColor.new("Salmon")
  580. Part21.Rotation = Vector3.new(-90, 90, 0)
  581. Part21.CanCollide = false
  582. Part21.FormFactor = Enum.FormFactor.Custom
  583. Part21.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
  584. Part21.CFrame = CFrame.new(32.319519, 5.05828571, 13.2562246, 0, 0, 1, -0.99999994, 0, 0, 0, -0.99999994, 0)
  585. Part21.Color = Color3.new(0.952941, 0.537255, 0.537255)
  586. Part21.Position = Vector3.new(32.319519, 5.05828571, 13.2562246)
  587. Part21.Orientation = Vector3.new(0, 90, -90)
  588. Part21.Color = Color3.new(0.952941, 0.537255, 0.537255)
  589. ManualWeld22.Name = "Weld"
  590. ManualWeld22.Parent = Part21
  591. ManualWeld22.C0 = CFrame.new(0, 0, 0, 0, 0, 0.99999994, 0, 0.99999994, 0, -1, 0, 0)
  592. ManualWeld22.C1 = CFrame.new(0.649883986, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  593. ManualWeld22.Part0 = Part21
  594. ManualWeld22.Part1 = Part28
  595. CylinderMesh23.Parent = Part21
  596. CylinderMesh23.Scale = Vector3.new(0.5, 1, 0.5)
  597. CylinderMesh23.Scale = Vector3.new(0.5, 1, 0.5)
  598. Script24.Name = "SwordScript"
  599. Script24.Parent = Tool0
  600. table.insert(cors,sandbox(Script24,function()
  601. r = game:service("RunService")
  602.  
  603. local damage = 15
  604.  
  605. sword = script.Parent.Handle
  606. Tool = script.Parent
  607.  
  608. local damages,values,sounds = {30,45,65},{Tool.PlaySlash,Tool.PlayThrust,Tool.PlayOverhead},{Tool.Handle.SlashSound,Tool.Handle.OverheadSound,Tool.Handle.LungeSound}
  609. local enabledToDamage = true
  610.  
  611. function blow(hit)
  612. if enabledToDamage == false then return end
  613. enabledToDamage = false
  614. if (hit.Parent == nil) then enabledToDamage = true return end -- happens when bullet hits sword
  615. local humanoid = hit.Parent:findFirstChild("Humanoid")
  616. local vCharacter = Tool.Parent
  617. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  618. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  619. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  620. -- final check, make sure sword is in-hand
  621. local right_arm = vCharacter:FindFirstChild("Right Arm")
  622. if (right_arm ~= nil) then
  623. local joint = right_arm:FindFirstChild("RightGrip")
  624. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  625. tagHumanoid(humanoid, vPlayer)
  626. humanoid:TakeDamage(damage)
  627. humanoid.Died:connect(function()
  628. if debounce==nil then
  629. debounce=true
  630. M=Instance.new('Model')
  631. M.Name=humanoid.Parent.Name.."'s Body"
  632. h=Instance.new('Humanoid')
  633. h.Health=0
  634. h.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None
  635. h.Parent=M
  636. T1=humanoid.Parent.Torso:Clone()
  637. T1.Velocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  638. T1.Size=Vector3.new(2,1,1)
  639. T1.Material=Enum.Material.Neon
  640. T1.BrickColor=BrickColor.new('Light orange')
  641. T2=humanoid.Parent.Torso:Clone()
  642. T2.Material=Enum.Material.Neon
  643. T2.BrickColor=BrickColor.new('Light orange')
  644. T2.Size=Vector3.new(2,1,1)
  645. LA=humanoid.Parent['Left Arm']:Clone()
  646. LL=humanoid.Parent['Left Leg']:Clone()
  647. RA=humanoid.Parent['Right Arm']:Clone()
  648. RL=humanoid.Parent['Right Leg']:Clone()
  649. H=humanoid.Parent['Head']:Clone()
  650. game.Debris:AddItem(humanoid.Parent, .02)
  651. game.Debris:AddItem(M,10)
  652. wait(.01)
  653. debounce=nil
  654. end
  655. function Weld(x,y)
  656. local W = Instance.new("Weld")
  657. W.Part0 = x
  658. W.Part1 = y
  659. local CJ = CFrame.new(x.Position)
  660. local C0 = x.CFrame:inverse()*CJ
  661. local C1 = y.CFrame:inverse()*CJ
  662. W.C0 = C0
  663. W.C1 = C1
  664. W.Parent = x
  665. end
  666. Weld(T1,LA)
  667. Weld(T1,RA)
  668. Weld(T1,H)
  669. Weld(T2,LL)
  670. Weld(T2,RL)
  671. T1.Parent=M
  672. T1.CFrame=T1.CFrame+Vector3.new(0,2,0)
  673. T2.Parent=M
  674. LL.Parent=M
  675. LA.Parent=M
  676. RL.Parent=M
  677. RA.Parent=M
  678. H.Parent=M
  679. ch=humanoid.Parent:GetChildren()
  680. for i, v in pairs(ch) do
  681. if v.ClassName=='CharacterMesh' and v.BodyPart~=Enum.BodyPart.Torso then
  682. cmc=v:Clone()
  683. cmc.Parent=M
  684. elseif v.ClassName=='Hat' then
  685. htc=v.Handle:Clone()
  686. Weld(htc, H)
  687. htc.Parent=M
  688. end
  689. end
  690. M.Parent=workspace
  691. end)
  692. untagHumanoid(humanoid)
  693. else
  694. enabledToDamage = true
  695. end
  696. else
  697. enabledToDamage = true
  698. end
  699. else
  700. enabledToDamage = true
  701. end
  702. end
  703.  
  704.  
  705. function tagHumanoid(humanoid, player)
  706. local creator_tag = Instance.new("ObjectValue")
  707. creator_tag.Value = player
  708. creator_tag.Name = "creator"
  709. creator_tag.Parent = humanoid
  710. end
  711.  
  712. function untagHumanoid(humanoid)
  713. if humanoid ~= nil then
  714. local tag = humanoid:findFirstChild("creator")
  715. if tag ~= nil then
  716. tag.Parent = nil
  717. end
  718. end
  719. end
  720.  
  721.  
  722. function attack()
  723. damage = slash_damage
  724. script.Parent.Handle.SlashSound:Play()
  725. script.Parent.PlaySlash.Value = not script.Parent.PlaySlash.Value
  726. end
  727.  
  728. function lunge()
  729. damage = lunge_damage
  730. script.Parent.Handle.LungeSound:Play()
  731. script.Parent.PlayOverhead.Value = not script.Parent.PlayOverhead.Value
  732. force = Instance.new("BodyVelocity")
  733. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  734. force.Parent = Tool.Parent.Torso
  735. wait(.5)
  736. force.Parent = nil
  737. wait(.5)
  738. damage = slash_damage
  739. end
  740.  
  741.  
  742. Tool.Enabled = true
  743. local last_attack = 0
  744. local status = 0
  745.  
  746. function onActivated()
  747. if not Tool.Enabled then
  748. return
  749. end
  750. Tool.Enabled = false
  751. local character = Tool.Parent;
  752. local humanoid = character.Humanoid
  753. if humanoid == nil then
  754. print("Humanoid not found")
  755. return
  756. end
  757. t = r.Stepped:wait()
  758. if (t - last_attack < 1.5) then
  759. rndm=math.random(1,3)
  760. if rndm==1 then
  761. status=1
  762. elseif rndm==2 then
  763. status=2
  764. elseif rndm==3 then
  765. status=3
  766. end
  767. values[status].Value = not values[status].Value
  768. damage = damages[status]
  769. sounds[status]:Play()
  770. enabledToDamage = true
  771. wait(0.5)
  772. enabledToDamage = false
  773. end
  774. last_attack = t
  775. Tool.Enabled = true
  776. end
  777.  
  778. function onEquipped()
  779. wait(1)
  780. Tool.Handle.UnsheathSound:Play()
  781. end
  782.  
  783. Tool.Equipped:connect(onEquipped)
  784. script.Parent.Activated:connect(onActivated)
  785. connection = sword.Touched:connect(blow)
  786. end))
  787. LocalScript25.Name = "AnimationScript"
  788. LocalScript25.Parent = Tool0
  789. table.insert(cors,sandbox(LocalScript25,function()
  790. -- Waits for the child of the specified parent
  791. local function WaitForChild(parent, childName)
  792. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  793. return parent[childName]
  794. end
  795.  
  796. local Tool = script.Parent
  797.  
  798. local Animations = {}
  799. local MyHumanoid
  800. local MyCharacter
  801.  
  802.  
  803. local function PlayAnimation(animationName)
  804. if Animations[animationName] then
  805. Animations[animationName]:Play()
  806. end
  807. end
  808.  
  809. local function StopAnimation(animationName)
  810. if Animations[animationName] then
  811. Animations[animationName]:Stop()
  812. end
  813. end
  814.  
  815.  
  816. function OnEquipped(mouse)
  817. MyCharacter = Tool.Parent
  818. MyHumanoid = WaitForChild(MyCharacter, 'Humanoid')
  819. if MyHumanoid then
  820. Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'EquipAnim5'))
  821. Animations['IdleAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'IdleAnim3'))
  822. Animations['OverheadAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'OverheadAnim2'))
  823. Animations['SlashAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'SlashAnim2'))
  824. Animations['ThrustAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'ThrustAnim2'))
  825. Animations['UnequipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'UnequipAnim2'))
  826. end
  827. mouse.KeyDown:connect(function(key)
  828. function Taunt()
  829. --gather all of the humanoids in a 30stud radius
  830. local torsos = {}
  831. for _, p in pairs(game.Players:GetChildren()) do
  832. if p ~= game.Players:GetPlayerFromCharacter(Tool.Parent) then
  833. if p.Character and p.Character:FindFirstChild('Torso') then
  834. torsos[#torsos+1] = p.Character.Torso
  835. end
  836. end
  837. end
  838.  
  839. --now pull them in towards us
  840. local mpos = Tool.Parent.Torso.Position
  841. for _, torso in pairs(torsos) do
  842. if (mpos-torso.Position).magnitude < 40 then
  843. local dir = (mpos-torso.Position).unit
  844. ------------ stolen from dagger of time to make a character "fly" in some direction
  845. local force = Instance.new("BodyVelocity")
  846. force.velocity = Vector3.new(0,1,0)
  847. force.Parent = torso
  848. torso.Velocity = dir*250
  849. game.Debris:AddItem(force, 0.5)
  850. ------------
  851. end
  852. end
  853. end
  854.  
  855. function rTaunt()
  856. --gather all of the humanoids in a 30stud radius
  857. local torsos = {}
  858. for _, p in pairs(game.Players:GetChildren()) do
  859. if p ~= game.Players:GetPlayerFromCharacter(Tool.Parent) then
  860. if p.Character and p.Character:FindFirstChild('Torso') then
  861. torsos[#torsos+1] = p.Character.Torso
  862. end
  863. end
  864. end
  865.  
  866. --now pull them in towards us
  867. local mpos = Tool.Parent.Torso.Position
  868. for _, torso in pairs(torsos) do
  869. if (mpos-torso.Position).magnitude < 40 then
  870. local dir = (mpos-torso.Position).unit
  871. ------------ stolen from dagger of time to make a character "fly" in some direction
  872. local force = Instance.new("BodyVelocity")
  873. force.velocity = Vector3.new(0,1,0)
  874. force.Parent = torso
  875. torso.Velocity = -dir*250
  876. game.Debris:AddItem(force, 0.5)
  877. ------------
  878. end
  879. end
  880. end
  881.  
  882. if key == 'q' then
  883. if debounce==nil then
  884. debounce=true
  885. Animations['EquipAnim']:Play(.1,.8,2)
  886. Taunt()
  887. wait(5)
  888. debounce=nil
  889. end
  890. elseif key == 'e' then
  891. if debounce2==nil then
  892. debounce2=true
  893. Animations['EquipAnim']:Play(.1,.8,2)
  894. rTaunt()
  895. wait(5)
  896. debounce2=nil
  897. end
  898. end
  899. end)
  900.  
  901.  
  902. Animations['EquipAnim']:Play(.1,.8,1)
  903. PlayAnimation('IdleAnim')
  904. end
  905.  
  906. function OnUnequipped()
  907. Tool.Handle.deactivate:Play()
  908. for animName, _ in pairs(Animations) do
  909. StopAnimation(animName)
  910. end
  911. end
  912.  
  913. Tool.Equipped:connect(OnEquipped)
  914. Tool.Unequipped:connect(OnUnequipped)
  915.  
  916. WaitForChild(Tool, 'PlaySlash').Changed:connect(
  917. function (value)
  918. --if value then
  919. PlayAnimation('SlashAnim')
  920. --else
  921. -- StopAnimation('SlashAnim')
  922. --end
  923. end)
  924.  
  925. WaitForChild(Tool, 'PlayThrust').Changed:connect(
  926. function (value)
  927. --if value then
  928. PlayAnimation('ThrustAnim')
  929. --else
  930. -- StopAnimation('ThrustAnim')
  931. --end
  932. end)
  933.  
  934. WaitForChild(Tool, 'PlayOverhead').Changed:connect(
  935. function (value)
  936. --if value then
  937. Animations['OverheadAnim']:Play()
  938. --else
  939. -- StopAnimation('OverheadAnim')
  940. --end
  941. end)
  942.  
  943. end))
  944. LocalScript26.Name = "Local Gui"
  945. LocalScript26.Parent = Tool0
  946. table.insert(cors,sandbox(LocalScript26,function()
  947. local Tool = script.Parent;
  948. enabled = true
  949. function onButton1Down(mouse)
  950. if not enabled then
  951. return
  952. end
  953.  
  954. enabled = false
  955. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  956. while not Tool.Enabled do
  957. wait(0.05)
  958. end
  959.  
  960. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  961. enabled = true
  962.  
  963. end
  964.  
  965. function onEquippedLocal(mouse)
  966. Tool.Blade1.Mesh.Scale=Vector3.new(.5,0,.5)
  967. Tool.Blade1.Mesh.Offset=Vector3.new(0,-2.5,0)
  968. Tool.Blade2.Mesh.Scale=Vector3.new(0.5,0,0.5)
  969. Tool.Blade2.Mesh.Offset=Vector3.new(0,0.5,0)
  970. Tool.Blade3.Mesh.Scale=Vector3.new(0.5,0,0.5)
  971. Tool.Blade3.Mesh.Offset=Vector3.new(0,0.5,0)
  972.  
  973. for _, part in pairs(script.Parent.Parent:GetChildren()) do
  974. if part.Name == "Saber" then
  975. part:remove()
  976. end
  977. end
  978. wait(1)
  979. spawn(function()
  980. emitters={}
  981. local rnswdch=Tool:GetChildren()
  982. for i, v in pairs(rnswdch) do
  983. if v.Name=='BladeGlow1' or v.Name=='Blade1' then
  984. local bldch2=v:GetChildren()
  985. for i, v in pairs(bldch2) do
  986. if v.Name=='Emitter' or v.Name=='Lightning' then
  987. table.insert(emitters,v)
  988. end
  989. end
  990. end
  991. end
  992.  
  993. for i, v in pairs(emitters) do
  994. v.Enabled=true
  995. end
  996. end)
  997. for i=1, 10 do
  998. Tool.Blade1.Mesh.Scale=Tool.Blade1.Mesh.Scale+Vector3.new(0,0.1,0)
  999. Tool.Blade1.Mesh.Offset=Tool.Blade1.Mesh.Offset+Vector3.new(0,0.25,0)
  1000. wait(0.02)
  1001. end
  1002. spawn(function()
  1003. emitters2={}
  1004. local rnswdch=Tool:GetChildren()
  1005. for i, v in pairs(rnswdch) do
  1006. if v.Name=='BladeGlow2' or v.Name=='BladeGlow3' then
  1007. local bldch2=v:GetChildren()
  1008. for i, v in pairs(bldch2) do
  1009. if v.Name=='Emitter' or v.Name=='Lightning' then
  1010. table.insert(emitters2,v)
  1011. end
  1012. end
  1013. end
  1014. end
  1015.  
  1016. for i, v in pairs(emitters2) do
  1017. v.Enabled=true
  1018. end
  1019. end)
  1020. for i=1, 10 do
  1021. Tool.Blade2.Mesh.Scale=Tool.Blade2.Mesh.Scale+Vector3.new(0,0.1,0)
  1022. Tool.Blade2.Mesh.Offset=Tool.Blade2.Mesh.Offset+Vector3.new(0,-0.05,0)
  1023. Tool.Blade3.Mesh.Scale=Tool.Blade2.Mesh.Scale+Vector3.new(0,0.1,0)
  1024. Tool.Blade3.Mesh.Offset=Tool.Blade2.Mesh.Offset+Vector3.new(0,-0.05,0)
  1025. wait(0.02)
  1026. end
  1027. if mouse == nil then
  1028. print("Mouse not found")
  1029. return
  1030. end
  1031.  
  1032. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1033. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1034. end
  1035. Tool.Unequipped:connect(function()
  1036. spawn(function()
  1037. for i, v in pairs(emitters) do
  1038. v.Enabled=false
  1039. end
  1040. end)
  1041. spawn(function()
  1042. for i, v in pairs(emitters2) do
  1043. v.Enabled=false
  1044. end
  1045. end)
  1046. wait(0.002)
  1047. Tool.Blade1.Mesh.Scale=Vector3.new(.5,0,.5)
  1048. Tool.Blade1.Mesh.Offset=Vector3.new(0,-2.5,0)
  1049. Tool.Blade2.Mesh.Scale=Vector3.new(0.5,0,0.5)
  1050. Tool.Blade2.Mesh.Offset=Vector3.new(0,0.5,0)
  1051. Tool.Blade3.Mesh.Scale=Vector3.new(0.5,0,0.5)
  1052. Tool.Blade3.Mesh.Offset=Vector3.new(0,0.5,0)
  1053. if script.Parent.Parent ~= game.Workspace then
  1054. ready = true
  1055. m = Instance.new("Model")
  1056. m.Name = "Saber"
  1057. m.Parent = script.Parent.Parent.Parent.Character
  1058. for _, part in pairs(script.Parent:GetChildren()) do
  1059. if part.ClassName == "Part" or part.ClassName == 'UnionOperation' then
  1060. if part.Name~='Blade1' and part.Name~='Blade2' and part.Name~='Blade3' and part.Name~='BladeGlow1' and part.Name~='BladeGlow2' and part.Name~='BladeGlow3' then
  1061. p = part:clone()
  1062. p.Anchored = false
  1063. p.CanCollide = false
  1064. p.Parent = m
  1065. print(p)
  1066. end
  1067. end
  1068. end
  1069. s = script.AutoWeld:clone()
  1070. s.Parent = m
  1071. s.Disabled = false
  1072. for _, parts in pairs(m:GetChildren()) do
  1073. if parts.ClassName == "Part" or parts.ClassName == 'UnionOperation' then
  1074. p.Anchored = false
  1075. print(p)
  1076. end
  1077. end
  1078. w = Instance.new("Weld")
  1079. w.Parent = m.FakeHandle
  1080. w.Part0 = script.Parent.Parent.Parent.Character["Left Leg"]
  1081. w.Part1 = m.FakeHandle
  1082. w.C0 = CFrame.new(-.6, .8, .1)*CFrame.Angles(math.pi*1.6, 0, 0)
  1083. end
  1084. end)
  1085.  
  1086. Tool.Equipped:connect(onEquippedLocal)
  1087.  
  1088. end))
  1089. Script27.Name = "AutoWeld"
  1090. Script27.Parent = LocalScript26
  1091. Script27.Disabled = true
  1092. table.insert(cors,sandbox(Script27,function()
  1093. --This script automatically welds your tool (if it's a tool)
  1094. --Else place it inside a model full of bricks to weld them together!
  1095. --Script from free models, Modified to be universal by Redyz!
  1096.  
  1097. --Sure you can edit both the script and the comment but the latter would be mean, no?
  1098.  
  1099. PartFound = nil
  1100.  
  1101. function Weld(x,y)
  1102. local W = Instance.new("Weld")
  1103. W.Part0 = x
  1104. W.Part1 = y
  1105. local CJ = CFrame.new(x.Position)
  1106. local C0 = x.CFrame:inverse()*CJ
  1107. local C1 = y.CFrame:inverse()*CJ
  1108. W.C0 = C0
  1109. W.C1 = C1
  1110. W.Parent = x
  1111. end
  1112.  
  1113. function Get(A) --Get all parts
  1114. if A.className == "Part" then
  1115. if script.Parent:FindFirstChild("Handle") ~= nil then
  1116. Weld(script.Parent.Handle, A) --You're a tool
  1117. else
  1118. Weld(PartFound, A) --Not a tool
  1119. end
  1120. A.Anchored = false
  1121. else
  1122. local C = A:GetChildren()
  1123. for i=1, #C do
  1124. Get(C[i])
  1125. end
  1126. end
  1127. end
  1128.  
  1129. function Finale()
  1130. if(script.Parent:FindFirstChild("Handle")) ~= nil then -- A tool
  1131. Get(script.Parent)
  1132. else -- Something else~!
  1133. List = script.Parent:GetChildren()
  1134. for i = 1, #List do
  1135. if List[i].ClassName == "Part" then --Find First Part
  1136. PartFound = List[i]
  1137. break
  1138. end
  1139. end
  1140. Get(PartFound.Parent)
  1141. end
  1142. end
  1143.  
  1144. if script.Parent.ClassName == "Tool" then
  1145. Finale() --In case the tool is sitting in the workspace
  1146. script.Parent.Equipped:connect(Finale) --When you equip it
  1147. script.Parent.Unequipped:connect(Finale) --And when you unequip it
  1148. else
  1149. Finale() --But I'm not a tool!
  1150. end
  1151. end))
  1152. Part28.Name = "Handle"
  1153. Part28.Parent = Tool0
  1154. Part28.Transparency = 1
  1155. Part28.Rotation = Vector3.new(180, 90, 0)
  1156. Part28.Locked = true
  1157. Part28.FormFactor = Enum.FormFactor.Custom
  1158. Part28.Size = Vector3.new(2.55149984, 6.80400038, 0.283499986)
  1159. Part28.CFrame = CFrame.new(32.319519, 3.40203595, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  1160. Part28.Position = Vector3.new(32.319519, 3.40203595, 12.6063404)
  1161. Part28.Orientation = Vector3.new(0, 90, 180)
  1162. Sound29.Name = "HitSound"
  1163. Sound29.Parent = Part28
  1164. Sound29.SoundId = "http://www.roblox.com/asset/?id=247718165"
  1165. Sound30.Name = "LungeSound"
  1166. Sound30.Parent = Part28
  1167. Sound30.Pitch = 0.80000001192093
  1168. Sound30.SoundId = "http://www.roblox.com/asset/?id=247718230"
  1169. Sound30.Volume = 0.25
  1170. Sound31.Name = "OverheadSound"
  1171. Sound31.Parent = Part28
  1172. Sound31.Pitch = 1.1699999570847
  1173. Sound31.SoundId = "http://www.roblox.com/asset/?id=247718248"
  1174. Sound32.Name = "SlashSound"
  1175. Sound32.Parent = Part28
  1176. Sound32.SoundId = "http://www.roblox.com/asset/?id=247718224"
  1177. Sound32.Volume = 0.34999999403954
  1178. Sound33.Name = "UnsheathSound"
  1179. Sound33.Parent = Part28
  1180. Sound33.Pitch = 1.2999999523163
  1181. Sound33.SoundId = "rbxassetid://342646525"
  1182. Sound33.Volume = 1
  1183. Sound34.Name = "deactivate"
  1184. Sound34.Parent = Part28
  1185. Sound34.Pitch = 1.0499999523163
  1186. Sound34.SoundId = "http://www.roblox.com/asset/?id=143855757"
  1187. Sound34.Volume = 0.40000000596046
  1188. Part35.Name = "FakeHandle"
  1189. Part35.Parent = Tool0
  1190. Part35.Material = Enum.Material.Metal
  1191. Part35.BrickColor = BrickColor.new("Black")
  1192. Part35.Rotation = Vector3.new(180, 90, 0)
  1193. Part35.FormFactor = Enum.FormFactor.Custom
  1194. Part35.Size = Vector3.new(0.283499986, 1.49849987, 0.283499986)
  1195. Part35.CFrame = CFrame.new(32.319519, 5.77221394, 12.6082935, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1196. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1197. Part35.Position = Vector3.new(32.319519, 5.77221394, 12.6082935)
  1198. Part35.Orientation = Vector3.new(0, 90, 180)
  1199. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1200. CylinderMesh36.Parent = Part35
  1201. CylinderMesh36.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1202. CylinderMesh36.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1203. ManualWeld37.Name = "Weld"
  1204. ManualWeld37.Parent = Part35
  1205. ManualWeld37.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1206. ManualWeld37.C1 = CFrame.new(0.00201416016, -2.36914063, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1207. ManualWeld37.Part0 = Part35
  1208. LocalScript38.Name = "Force Powers"
  1209. LocalScript38.Parent = Tool0
  1210. table.insert(cors,sandbox(LocalScript38,function()
  1211. script.Parent.Equipped:connect(function(m)
  1212. plr=game.Players:GetPlayerFromCharacter(script.Parent.Parent)
  1213. char=script.Parent.Parent
  1214. MyHumanoid=char.Humanoid
  1215. LastSpace=0
  1216. LastTeleport=0
  1217. t=char.Torso
  1218. childList={}
  1219.  
  1220. local Animations = {}
  1221.  
  1222. local function WaitForChild(parent, childName)
  1223. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  1224. return parent[childName]
  1225. end
  1226.  
  1227. Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'EquipAnim5'))
  1228. Animations['Roar'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'Roar'))
  1229.  
  1230.  
  1231. function f (p)
  1232. p.RocketPropulsion:Fire()
  1233. end
  1234. m.KeyDown:connect(function(key)
  1235. if key == 'g' then
  1236. t=m.Target
  1237. if t.Parent.ClassName=='Tool' and (plr.Character['Right Arm'].Position - t.Position).magnitude<=50 then
  1238. Animations['EquipAnim']:Play(.1,.8,2)
  1239. rp=Instance.new('RocketPropulsion')
  1240. rp.Target=plr.Character['Right Arm']
  1241. print(plr.Character.Name)
  1242. rp.Parent=m.Target
  1243. f(rp.Parent)
  1244. t.Parent.Equipped:connect(function()
  1245. rp:remove()
  1246. end)
  1247. else return
  1248. end
  1249. t=plr.Character.Torso
  1250. --print (nkey)
  1251. elseif key == string.char(32) then
  1252. if tick()-LastSpace < 1 and tick()-LastTeleport >3 then
  1253. fury()
  1254. LastTeleport = tick()
  1255. Animations['Roar']:Play(.1,1,3)
  1256. t.Velocity = t.Velocity + Vector3.new(0,120,0)
  1257. wait(3)
  1258. elseif tick()-LastTeleport >3 then
  1259. LastSpace = tick()
  1260. end
  1261.  
  1262. elseif key=='f' and d==nil then
  1263. d=true
  1264. fury()
  1265. Animations['Roar']:Play()
  1266. freeze()
  1267. wait(10)
  1268. d=nil
  1269. elseif key == 'q' then
  1270. if d2==nil then
  1271. d2=true
  1272. Animations['EquipAnim']:Play(.1,.8,2)
  1273. Taunt()
  1274. wait(5)
  1275. d2=nil
  1276. end
  1277. elseif key == 'e' then
  1278. if debounce2==nil then
  1279. debounce2=true
  1280. Animations['EquipAnim']:Play(.1,.8,2)
  1281. rTaunt()
  1282. wait(5)
  1283. debounce2=nil
  1284. end
  1285. end
  1286. end)
  1287. function Taunt()
  1288. --gather all of the humanoids in a 30stud radius
  1289. local torsos = {}
  1290. for _, p in pairs(game.Players:GetChildren()) do
  1291. if p ~= plr then
  1292. if p.Character and p.Character:FindFirstChild('Torso') then
  1293. torsos[#torsos+1] = p.Character.Torso
  1294. end
  1295. end
  1296. end
  1297.  
  1298. --now pull them in towards us
  1299. local mpos = char.Torso.Position
  1300. for _, torso in pairs(torsos) do
  1301. if (mpos-torso.Position).magnitude < 40 then
  1302. local dir = (mpos-torso.Position).unit
  1303. ------------ stolen from dagger of time to make a character "fly" in some direction
  1304. local force = Instance.new("BodyVelocity")
  1305. force.velocity = Vector3.new(0,1,0)
  1306. force.Parent = torso
  1307. torso.Velocity = dir*250
  1308. game.Debris:AddItem(force, 0.5)
  1309. ------------
  1310. end
  1311. end
  1312. end
  1313.  
  1314. function rTaunt()
  1315. --gather all of the humanoids in a 30stud radius
  1316. local torsos = {}
  1317. for _, p in pairs(game.Players:GetChildren()) do
  1318. if p ~= game.Players:GetPlayerFromCharacter(char) then
  1319. if p.Character and p.Character:FindFirstChild('Torso') then
  1320. torsos[#torsos+1] = p.Character.Torso
  1321. end
  1322. end
  1323. end
  1324.  
  1325. --now pull them in towards us
  1326. local mpos = char.Torso.Position
  1327. for _, torso in pairs(torsos) do
  1328. if (mpos-torso.Position).magnitude < 40 then
  1329. local dir = (mpos-torso.Position).unit
  1330. ------------ stolen from dagger of time to make a character "fly" in some direction
  1331. local force = Instance.new("BodyVelocity")
  1332. force.velocity = Vector3.new(0,1,0)
  1333. force.Parent = torso
  1334. torso.Velocity = -dir*250
  1335. game.Debris:AddItem(force, 0.5)
  1336. ------------
  1337. end
  1338. end
  1339. end
  1340.  
  1341. function freeze()
  1342. checkObject(workspace)
  1343. for i, v in pairs(childList) do
  1344. if (v.Position-char.Torso.Position).magnitude<=50 then
  1345. v.Anchored=true
  1346. wait(7)
  1347. v.Anchored=false
  1348. else return
  1349. end
  1350. end
  1351. end
  1352.  
  1353. function checkObject(obj) -- This is basically a function that finds all unanchored parts and adds them to childList.
  1354. if (obj.className == "Part") and not (obj:IsDescendantOf(char)) then
  1355. if (obj.Anchored == false) then
  1356. table.insert(childList, 1, obj)
  1357. end
  1358. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  1359. local child = obj:GetChildren()
  1360. for x = 1, #child do
  1361. checkObject(child[x])
  1362. end
  1363. obj.ChildAdded:connect(checkObject)
  1364. end
  1365. end
  1366.  
  1367. function fury()
  1368. ch=char:GetChildren()
  1369. for i, v in pairs(ch) do
  1370. if v.ClassName=='Part' then
  1371. fp=script:WaitForChild('EffectFire'):Clone()
  1372. fp.Enabled=true
  1373. fp.Parent=v
  1374. fp.Script.Disabled=false
  1375. end
  1376. end
  1377. end
  1378. end)
  1379. end))
  1380. Animation39.Name = "EquipAnim5"
  1381. Animation39.Parent = LocalScript38
  1382. Animation39.AnimationId = "http://www.roblox.com/Asset?ID=86504773"
  1383. Animation40.Name = "Roar"
  1384. Animation40.Parent = LocalScript38
  1385. Animation40.AnimationId = "http://www.roblox.com/Asset?ID=75354915"
  1386. ParticleEmitter41.Name = "EffectFire"
  1387. ParticleEmitter41.Parent = LocalScript38
  1388. ParticleEmitter41.Transparency = NumberSequence.new(0.89999997615814,0.89999997615814)
  1389. ParticleEmitter41.Size = NumberSequence.new(0,0.5,0.5,0.5)
  1390. ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
  1391. ParticleEmitter41.LightEmission = 0.25
  1392. ParticleEmitter41.Texture = "http://www.roblox.com/asset/?id=262362794"
  1393. ParticleEmitter41.ZOffset = 1
  1394. ParticleEmitter41.Acceleration = Vector3.new(0, 1.5, 0)
  1395. ParticleEmitter41.Lifetime = NumberRange.new(1, 1)
  1396. ParticleEmitter41.Rate = 50
  1397. ParticleEmitter41.Speed = NumberRange.new(0.5, 0.5)
  1398. ParticleEmitter41.VelocitySpread = 100
  1399. ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
  1400. Script42.Parent = ParticleEmitter41
  1401. Script42.Disabled = true
  1402. table.insert(cors,sandbox(Script42,function()
  1403. wait(3)
  1404. script.Parent:remove()
  1405. end))
  1406. Part43.Name = "BladeGlow1"
  1407. Part43.Parent = Tool0
  1408. Part43.Material = Enum.Material.Neon
  1409. Part43.BrickColor = BrickColor.new("Salmon")
  1410. Part43.Transparency = 1
  1411. Part43.Rotation = Vector3.new(180, 90, 0)
  1412. Part43.CanCollide = false
  1413. Part43.FormFactor = Enum.FormFactor.Custom
  1414. Part43.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
  1415. Part43.CFrame = CFrame.new(32.319519, 5.12155151, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1416. Part43.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1417. Part43.Position = Vector3.new(32.319519, 5.12155151, 12.6063404)
  1418. Part43.Orientation = Vector3.new(0, 90, 180)
  1419. Part43.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1420. ParticleEmitter44.Name = "Lightning"
  1421. ParticleEmitter44.Parent = Part43
  1422. ParticleEmitter44.Rotation = NumberRange.new(0, 180)
  1423. ParticleEmitter44.Size = NumberSequence.new(0.5,0.5)
  1424. ParticleEmitter44.LightEmission = 1
  1425. ParticleEmitter44.Texture = "http://www.roblox.com/asset/?id=243098098"
  1426. ParticleEmitter44.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  1427. ParticleEmitter44.Rate = 25
  1428. ParticleEmitter44.Speed = NumberRange.new(8, 8)
  1429. ParticleEmitter45.Name = "Emitter"
  1430. ParticleEmitter45.Parent = Part43
  1431. ParticleEmitter45.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1432. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1433. ParticleEmitter45.LightEmission = 1
  1434. ParticleEmitter45.Texture = "rbxasset://textures/spark.png"
  1435. ParticleEmitter45.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1436. ParticleEmitter45.Rate = 2000
  1437. ParticleEmitter45.RotSpeed = NumberRange.new(1000, 1000)
  1438. ParticleEmitter45.Speed = NumberRange.new(15, 15)
  1439. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1440. ManualWeld46.Name = "Weld"
  1441. ManualWeld46.Parent = Part43
  1442. ManualWeld46.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  1443. ManualWeld46.C1 = CFrame.new(0, -1.7195158, 0, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  1444. ManualWeld46.Part0 = Part43
  1445. ManualWeld46.Part1 = Part28
  1446. ParticleEmitter47.Name = "Emitter"
  1447. ParticleEmitter47.Parent = Part43
  1448. ParticleEmitter47.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1449. ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1450. ParticleEmitter47.LightEmission = 0.5
  1451. ParticleEmitter47.Texture = "rbxasset://textures/spark.png"
  1452. ParticleEmitter47.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1453. ParticleEmitter47.Rate = 2000
  1454. ParticleEmitter47.RotSpeed = NumberRange.new(1000, 1000)
  1455. ParticleEmitter47.Speed = NumberRange.new(15, 15)
  1456. ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1457. ParticleEmitter48.Name = "Emitter"
  1458. ParticleEmitter48.Parent = Part43
  1459. ParticleEmitter48.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1460. ParticleEmitter48.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1461. ParticleEmitter48.LightEmission = 1
  1462. ParticleEmitter48.Texture = "rbxasset://textures/spark.png"
  1463. ParticleEmitter48.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1464. ParticleEmitter48.Rate = 2000
  1465. ParticleEmitter48.RotSpeed = NumberRange.new(1000, 1000)
  1466. ParticleEmitter48.Speed = NumberRange.new(15, 15)
  1467. ParticleEmitter48.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1468. ParticleEmitter49.Name = "Emitter"
  1469. ParticleEmitter49.Parent = Part43
  1470. ParticleEmitter49.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1471. ParticleEmitter49.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1472. ParticleEmitter49.LightEmission = 1
  1473. ParticleEmitter49.Texture = "rbxasset://textures/spark.png"
  1474. ParticleEmitter49.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1475. ParticleEmitter49.Rate = 2000
  1476. ParticleEmitter49.RotSpeed = NumberRange.new(1000, 1000)
  1477. ParticleEmitter49.Speed = NumberRange.new(15, 15)
  1478. ParticleEmitter49.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1479. ParticleEmitter50.Name = "Emitter"
  1480. ParticleEmitter50.Parent = Part43
  1481. ParticleEmitter50.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1482. ParticleEmitter50.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1483. ParticleEmitter50.LightEmission = 0.5
  1484. ParticleEmitter50.Texture = "rbxasset://textures/spark.png"
  1485. ParticleEmitter50.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1486. ParticleEmitter50.Rate = 2000
  1487. ParticleEmitter50.RotSpeed = NumberRange.new(1000, 1000)
  1488. ParticleEmitter50.Speed = NumberRange.new(15, 15)
  1489. ParticleEmitter50.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1490. ParticleEmitter51.Name = "Emitter"
  1491. ParticleEmitter51.Parent = Part43
  1492. ParticleEmitter51.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1493. ParticleEmitter51.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1494. ParticleEmitter51.LightEmission = 1
  1495. ParticleEmitter51.Texture = "rbxasset://textures/spark.png"
  1496. ParticleEmitter51.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1497. ParticleEmitter51.Rate = 2000
  1498. ParticleEmitter51.RotSpeed = NumberRange.new(1000, 1000)
  1499. ParticleEmitter51.Speed = NumberRange.new(15, 15)
  1500. ParticleEmitter51.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1501. ParticleEmitter52.Name = "Emitter"
  1502. ParticleEmitter52.Parent = Part43
  1503. ParticleEmitter52.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1504. ParticleEmitter52.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1505. ParticleEmitter52.LightEmission = 0.5
  1506. ParticleEmitter52.Texture = "rbxasset://textures/spark.png"
  1507. ParticleEmitter52.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1508. ParticleEmitter52.Rate = 2000
  1509. ParticleEmitter52.RotSpeed = NumberRange.new(1000, 1000)
  1510. ParticleEmitter52.Speed = NumberRange.new(15, 15)
  1511. ParticleEmitter52.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1512. ParticleEmitter53.Name = "Emitter"
  1513. ParticleEmitter53.Parent = Part43
  1514. ParticleEmitter53.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1515. ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1516. ParticleEmitter53.LightEmission = 0.5
  1517. ParticleEmitter53.Texture = "rbxasset://textures/spark.png"
  1518. ParticleEmitter53.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1519. ParticleEmitter53.Rate = 2000
  1520. ParticleEmitter53.RotSpeed = NumberRange.new(1000, 1000)
  1521. ParticleEmitter53.Speed = NumberRange.new(15, 15)
  1522. ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1523. ParticleEmitter54.Name = "Emitter"
  1524. ParticleEmitter54.Parent = Part43
  1525. ParticleEmitter54.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1526. ParticleEmitter54.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1527. ParticleEmitter54.LightEmission = 0.5
  1528. ParticleEmitter54.Texture = "rbxasset://textures/spark.png"
  1529. ParticleEmitter54.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1530. ParticleEmitter54.Rate = 2000
  1531. ParticleEmitter54.RotSpeed = NumberRange.new(1000, 1000)
  1532. ParticleEmitter54.Speed = NumberRange.new(15, 15)
  1533. ParticleEmitter54.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1534. ParticleEmitter55.Name = "Emitter"
  1535. ParticleEmitter55.Parent = Part43
  1536. ParticleEmitter55.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1537. ParticleEmitter55.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1538. ParticleEmitter55.LightEmission = 1
  1539. ParticleEmitter55.Texture = "rbxasset://textures/spark.png"
  1540. ParticleEmitter55.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1541. ParticleEmitter55.Rate = 2000
  1542. ParticleEmitter55.RotSpeed = NumberRange.new(1000, 1000)
  1543. ParticleEmitter55.Speed = NumberRange.new(15, 15)
  1544. ParticleEmitter55.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1545. ParticleEmitter56.Name = "Emitter"
  1546. ParticleEmitter56.Parent = Part43
  1547. ParticleEmitter56.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1548. ParticleEmitter56.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1549. ParticleEmitter56.LightEmission = 1
  1550. ParticleEmitter56.Texture = "rbxasset://textures/spark.png"
  1551. ParticleEmitter56.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1552. ParticleEmitter56.Rate = 2000
  1553. ParticleEmitter56.RotSpeed = NumberRange.new(1000, 1000)
  1554. ParticleEmitter56.Speed = NumberRange.new(15, 15)
  1555. ParticleEmitter56.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1556. ParticleEmitter57.Name = "Emitter"
  1557. ParticleEmitter57.Parent = Part43
  1558. ParticleEmitter57.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1559. ParticleEmitter57.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1560. ParticleEmitter57.LightEmission = 0.5
  1561. ParticleEmitter57.Texture = "rbxasset://textures/spark.png"
  1562. ParticleEmitter57.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
  1563. ParticleEmitter57.Rate = 2000
  1564. ParticleEmitter57.RotSpeed = NumberRange.new(1000, 1000)
  1565. ParticleEmitter57.Speed = NumberRange.new(15, 15)
  1566. ParticleEmitter57.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1567. Part58.Name = "BladeGlow2"
  1568. Part58.Parent = Tool0
  1569. Part58.Material = Enum.Material.Neon
  1570. Part58.BrickColor = BrickColor.new("Salmon")
  1571. Part58.Rotation = Vector3.new(90, 90, 0)
  1572. Part58.CanCollide = false
  1573. Part58.FormFactor = Enum.FormFactor.Custom
  1574. Part58.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
  1575. Part58.CFrame = CFrame.new(32.319519, 5.05828571, 12.2772808, 0, 0, 1, 0.999999881, 0, 0, 0, 0.999999881, 0)
  1576. Part58.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1577. Part58.Position = Vector3.new(32.319519, 5.05828571, 12.2772808)
  1578. Part58.Orientation = Vector3.new(0, 90, 90)
  1579. Part58.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1580. CylinderMesh59.Parent = Part58
  1581. CylinderMesh59.Offset = Vector3.new(0, 0.5, 0)
  1582. CylinderMesh59.Scale = Vector3.new(0.5, 0, 0.5)
  1583. CylinderMesh59.Scale = Vector3.new(0.5, 0, 0.5)
  1584. ParticleEmitter60.Name = "Emitter"
  1585. ParticleEmitter60.Parent = Part58
  1586. ParticleEmitter60.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1587. ParticleEmitter60.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1588. ParticleEmitter60.LightEmission = 0.5
  1589. ParticleEmitter60.Texture = "rbxasset://textures/spark.png"
  1590. ParticleEmitter60.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1591. ParticleEmitter60.Rate = 2000
  1592. ParticleEmitter60.RotSpeed = NumberRange.new(1000, 1000)
  1593. ParticleEmitter60.Speed = NumberRange.new(-5, -5)
  1594. ParticleEmitter60.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1595. ParticleEmitter61.Name = "Emitter"
  1596. ParticleEmitter61.Parent = Part58
  1597. ParticleEmitter61.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1598. ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1599. ParticleEmitter61.LightEmission = 1
  1600. ParticleEmitter61.Texture = "rbxasset://textures/spark.png"
  1601. ParticleEmitter61.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1602. ParticleEmitter61.Rate = 2000
  1603. ParticleEmitter61.RotSpeed = NumberRange.new(1000, 1000)
  1604. ParticleEmitter61.Speed = NumberRange.new(-5, -5)
  1605. ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1606. ParticleEmitter62.Name = "Lightning"
  1607. ParticleEmitter62.Parent = Part58
  1608. ParticleEmitter62.Rotation = NumberRange.new(0, 180)
  1609. ParticleEmitter62.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  1610. ParticleEmitter62.LightEmission = 1
  1611. ParticleEmitter62.Texture = "http://www.roblox.com/asset/?id=243098098"
  1612. ParticleEmitter62.Lifetime = NumberRange.new(0.10000000149012, 0.30000001192093)
  1613. ParticleEmitter62.Rate = 25
  1614. ParticleEmitter62.Speed = NumberRange.new(-2, -2)
  1615. ParticleEmitter63.Name = "Emitter"
  1616. ParticleEmitter63.Parent = Part58
  1617. ParticleEmitter63.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1618. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1619. ParticleEmitter63.LightEmission = 1
  1620. ParticleEmitter63.Texture = "rbxasset://textures/spark.png"
  1621. ParticleEmitter63.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1622. ParticleEmitter63.Rate = 2000
  1623. ParticleEmitter63.RotSpeed = NumberRange.new(1000, 1000)
  1624. ParticleEmitter63.Speed = NumberRange.new(-5, -5)
  1625. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1626. ParticleEmitter64.Name = "Emitter"
  1627. ParticleEmitter64.Parent = Part58
  1628. ParticleEmitter64.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1629. ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1630. ParticleEmitter64.LightEmission = 0.5
  1631. ParticleEmitter64.Texture = "rbxasset://textures/spark.png"
  1632. ParticleEmitter64.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1633. ParticleEmitter64.Rate = 2000
  1634. ParticleEmitter64.RotSpeed = NumberRange.new(1000, 1000)
  1635. ParticleEmitter64.Speed = NumberRange.new(-5, -5)
  1636. ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1637. ParticleEmitter65.Name = "Emitter"
  1638. ParticleEmitter65.Parent = Part58
  1639. ParticleEmitter65.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1640. ParticleEmitter65.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1641. ParticleEmitter65.LightEmission = 1
  1642. ParticleEmitter65.Texture = "rbxasset://textures/spark.png"
  1643. ParticleEmitter65.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1644. ParticleEmitter65.Rate = 2000
  1645. ParticleEmitter65.RotSpeed = NumberRange.new(1000, 1000)
  1646. ParticleEmitter65.Speed = NumberRange.new(-5, -5)
  1647. ParticleEmitter65.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1648. ParticleEmitter66.Name = "Emitter"
  1649. ParticleEmitter66.Parent = Part58
  1650. ParticleEmitter66.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1651. ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1652. ParticleEmitter66.LightEmission = 0.5
  1653. ParticleEmitter66.Texture = "rbxasset://textures/spark.png"
  1654. ParticleEmitter66.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
  1655. ParticleEmitter66.Rate = 2000
  1656. ParticleEmitter66.RotSpeed = NumberRange.new(1000, 1000)
  1657. ParticleEmitter66.Speed = NumberRange.new(-5, -5)
  1658. ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1659. ManualWeld67.Name = "Weld"
  1660. ManualWeld67.Parent = Part58
  1661. ManualWeld67.C0 = CFrame.new(0, 0, 0, 0, 0, -0.999999881, 0, -0.999999881, 0, -1, 0, 0)
  1662. ManualWeld67.C1 = CFrame.new(-0.329059124, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  1663. ManualWeld67.Part0 = Part58
  1664. ManualWeld67.Part1 = Part28
  1665. Part68.Name = "BladeGlow3"
  1666. Part68.Parent = Tool0
  1667. Part68.Material = Enum.Material.Neon
  1668. Part68.BrickColor = BrickColor.new("Salmon")
  1669. Part68.Transparency = 1
  1670. Part68.Rotation = Vector3.new(-90, 90, 0)
  1671. Part68.CanCollide = false
  1672. Part68.FormFactor = Enum.FormFactor.Custom
  1673. Part68.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
  1674. Part68.CFrame = CFrame.new(32.319519, 5.05828571, 12.930974, 0, 0, 1, -0.99999994, 0, 0, 0, -0.99999994, 0)
  1675. Part68.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1676. Part68.Position = Vector3.new(32.319519, 5.05828571, 12.930974)
  1677. Part68.Orientation = Vector3.new(0, 90, -90)
  1678. Part68.Color = Color3.new(0.952941, 0.537255, 0.537255)
  1679. ParticleEmitter69.Name = "Lightning"
  1680. ParticleEmitter69.Parent = Part68
  1681. ParticleEmitter69.Rotation = NumberRange.new(0, 180)
  1682. ParticleEmitter69.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  1683. ParticleEmitter69.LightEmission = 1
  1684. ParticleEmitter69.Texture = "http://www.roblox.com/asset/?id=243098098"
  1685. ParticleEmitter69.Lifetime = NumberRange.new(0.10000000149012, 0.30000001192093)
  1686. ParticleEmitter69.Rate = 25
  1687. ParticleEmitter69.Speed = NumberRange.new(-2, -2)
  1688. ParticleEmitter70.Name = "Emitter"
  1689. ParticleEmitter70.Parent = Part68
  1690. ParticleEmitter70.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1691. ParticleEmitter70.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1692. ParticleEmitter70.LightEmission = 0.5
  1693. ParticleEmitter70.Texture = "rbxasset://textures/spark.png"
  1694. ParticleEmitter70.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1695. ParticleEmitter70.Rate = 2000
  1696. ParticleEmitter70.RotSpeed = NumberRange.new(1000, 1000)
  1697. ParticleEmitter70.Speed = NumberRange.new(-5, -5)
  1698. ParticleEmitter70.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1699. ParticleEmitter71.Name = "Emitter"
  1700. ParticleEmitter71.Parent = Part68
  1701. ParticleEmitter71.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1702. ParticleEmitter71.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1703. ParticleEmitter71.LightEmission = 1
  1704. ParticleEmitter71.Texture = "rbxasset://textures/spark.png"
  1705. ParticleEmitter71.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1706. ParticleEmitter71.Rate = 2000
  1707. ParticleEmitter71.RotSpeed = NumberRange.new(1000, 1000)
  1708. ParticleEmitter71.Speed = NumberRange.new(-5, -5)
  1709. ParticleEmitter71.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1710. ParticleEmitter72.Name = "Emitter"
  1711. ParticleEmitter72.Parent = Part68
  1712. ParticleEmitter72.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1713. ParticleEmitter72.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1714. ParticleEmitter72.LightEmission = 0.5
  1715. ParticleEmitter72.Texture = "rbxasset://textures/spark.png"
  1716. ParticleEmitter72.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1717. ParticleEmitter72.Rate = 2000
  1718. ParticleEmitter72.RotSpeed = NumberRange.new(1000, 1000)
  1719. ParticleEmitter72.Speed = NumberRange.new(-5, -5)
  1720. ParticleEmitter72.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1721. ParticleEmitter73.Name = "Emitter"
  1722. ParticleEmitter73.Parent = Part68
  1723. ParticleEmitter73.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1724. ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1725. ParticleEmitter73.LightEmission = 1
  1726. ParticleEmitter73.Texture = "rbxasset://textures/spark.png"
  1727. ParticleEmitter73.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1728. ParticleEmitter73.Rate = 2000
  1729. ParticleEmitter73.RotSpeed = NumberRange.new(1000, 1000)
  1730. ParticleEmitter73.Speed = NumberRange.new(-5, -5)
  1731. ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1732. ParticleEmitter74.Name = "Emitter"
  1733. ParticleEmitter74.Parent = Part68
  1734. ParticleEmitter74.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
  1735. ParticleEmitter74.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1736. ParticleEmitter74.LightEmission = 0.5
  1737. ParticleEmitter74.Texture = "rbxasset://textures/spark.png"
  1738. ParticleEmitter74.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1739. ParticleEmitter74.Rate = 2000
  1740. ParticleEmitter74.RotSpeed = NumberRange.new(1000, 1000)
  1741. ParticleEmitter74.Speed = NumberRange.new(-5, -5)
  1742. ParticleEmitter74.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  1743. ParticleEmitter75.Name = "Emitter"
  1744. ParticleEmitter75.Parent = Part68
  1745. ParticleEmitter75.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  1746. ParticleEmitter75.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1747. ParticleEmitter75.LightEmission = 1
  1748. ParticleEmitter75.Texture = "rbxasset://textures/spark.png"
  1749. ParticleEmitter75.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
  1750. ParticleEmitter75.Rate = 2000
  1751. ParticleEmitter75.RotSpeed = NumberRange.new(1000, 1000)
  1752. ParticleEmitter75.Speed = NumberRange.new(-5, -5)
  1753. ParticleEmitter75.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  1754. ManualWeld76.Name = "Weld"
  1755. ManualWeld76.Parent = Part68
  1756. ManualWeld76.C0 = CFrame.new(0, 0, 0, 0, 0, 0.99999994, 0, 0.99999994, 0, -1, 0, 0)
  1757. ManualWeld76.C1 = CFrame.new(0.324633956, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  1758. ManualWeld76.Part0 = Part68
  1759. ManualWeld76.Part1 = Part28
  1760. Part77.Name = "LineSegment"
  1761. Part77.Parent = Tool0
  1762. Part77.BrickColor = BrickColor.new("Crimson")
  1763. Part77.Rotation = Vector3.new(105.68, 0.979999959, 179.830002)
  1764. Part77.Anchored = true
  1765. Part77.FormFactor = Enum.FormFactor.Custom
  1766. Part77.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1767. Part77.CFrame = CFrame.new(32.4458313, 5.42287683, 12.6626234, -0.999848545, -0.00290690456, 0.0171712227, -0.0173179898, 0.270167023, -0.962657928, -0.00184074172, -0.962809205, -0.270176291)
  1768. Part77.BottomSurface = Enum.SurfaceType.Smooth
  1769. Part77.TopSurface = Enum.SurfaceType.Smooth
  1770. Part77.Color = Color3.new(0.592157, 0, 0)
  1771. Part77.Position = Vector3.new(32.4458313, 5.42287683, 12.6626234)
  1772. Part77.Orientation = Vector3.new(74.2900009, 176.360001, -3.66999984)
  1773. Part77.Color = Color3.new(0.592157, 0, 0)
  1774. BlockMesh78.Parent = Part77
  1775. BlockMesh78.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1776. BlockMesh78.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1777. Part79.Name = "LineSegment"
  1778. Part79.Parent = Tool0
  1779. Part79.BrickColor = BrickColor.new("Crimson")
  1780. Part79.Rotation = Vector3.new(93.1500015, 1.25, -179.940002)
  1781. Part79.Anchored = true
  1782. Part79.FormFactor = Enum.FormFactor.Custom
  1783. Part79.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1784. Part79.CFrame = CFrame.new(32.4360657, 5.74733973, 12.7165174, -0.999760866, 0.00111518474, 0.0218526591, -0.0217585452, 0.0548899174, -0.99825567, -0.00231273076, -0.998492122, -0.0548524261)
  1785. Part79.BottomSurface = Enum.SurfaceType.Smooth
  1786. Part79.TopSurface = Enum.SurfaceType.Smooth
  1787. Part79.Color = Color3.new(0.592157, 0, 0)
  1788. Part79.Position = Vector3.new(32.4360657, 5.74733973, 12.7165174)
  1789. Part79.Orientation = Vector3.new(86.6199951, 158.279999, -21.6199989)
  1790. Part79.Color = Color3.new(0.592157, 0, 0)
  1791. BlockMesh80.Parent = Part79
  1792. BlockMesh80.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1793. BlockMesh80.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1794. Part81.Name = "LineSegment"
  1795. Part81.Parent = Tool0
  1796. Part81.BrickColor = BrickColor.new("Crimson")
  1797. Part81.Rotation = Vector3.new(101.559998, 1.00999999, 179.899994)
  1798. Part81.Anchored = true
  1799. Part81.FormFactor = Enum.FormFactor.Custom
  1800. Part81.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1801. Part81.CFrame = CFrame.new(32.4458313, 5.53127527, 12.6886854, -0.999844909, -0.00168787641, 0.017545186, -0.0175274648, 0.200418085, -0.979553998, -0.00186300697, -0.979709625, -0.20041658)
  1802. Part81.BottomSurface = Enum.SurfaceType.Smooth
  1803. Part81.TopSurface = Enum.SurfaceType.Smooth
  1804. Part81.Color = Color3.new(0.592157, 0, 0)
  1805. Part81.Position = Vector3.new(32.4458313, 5.53127527, 12.6886854)
  1806. Part81.Orientation = Vector3.new(78.3899994, 175, -5)
  1807. Part81.Color = Color3.new(0.592157, 0, 0)
  1808. BlockMesh82.Parent = Part81
  1809. BlockMesh82.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1810. BlockMesh82.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1811. Part83.Parent = Tool0
  1812. Part83.Material = Enum.Material.Metal
  1813. Part83.BrickColor = BrickColor.new("Really black")
  1814. Part83.Rotation = Vector3.new(180, 90, 0)
  1815. Part83.FormFactor = Enum.FormFactor.Custom
  1816. Part83.Size = Vector3.new(0.354374975, 0.283499986, 0.354374975)
  1817. Part83.CFrame = CFrame.new(32.3195457, 6.40185261, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1818. Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1819. Part83.Position = Vector3.new(32.3195457, 6.40185261, 12.6063404)
  1820. Part83.Orientation = Vector3.new(0, 90, 180)
  1821. Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1822. CylinderMesh84.Parent = Part83
  1823. CylinderMesh84.Scale = Vector3.new(0.800000012, 0.699999988, 0.800000012)
  1824. CylinderMesh84.Scale = Vector3.new(0.800000012, 0.699999988, 0.800000012)
  1825. ManualWeld85.Name = "Weld"
  1826. ManualWeld85.Parent = Part83
  1827. ManualWeld85.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1828. ManualWeld85.C1 = CFrame.new(0, -1.55761719, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1829. ManualWeld85.Part0 = Part83
  1830. Part86.Parent = Tool0
  1831. Part86.Material = Enum.Material.Metal
  1832. Part86.BrickColor = BrickColor.new("Really black")
  1833. Part86.Rotation = Vector3.new(-90, 90, 0)
  1834. Part86.FormFactor = Enum.FormFactor.Custom
  1835. Part86.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
  1836. Part86.CFrame = CFrame.new(32.3195457, 5.0610323, 12.6063404, 0, 0, 1, -0.999999821, 2.98023224e-08, 0, -2.98023224e-08, -0.999999821, 0)
  1837. Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1838. Part86.Position = Vector3.new(32.3195457, 5.0610323, 12.6063404)
  1839. Part86.Orientation = Vector3.new(0, 90, -90)
  1840. Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1841. CylinderMesh87.Parent = Part86
  1842. CylinderMesh87.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  1843. CylinderMesh87.Scale = Vector3.new(0.699999988, 1, 0.699999988)
  1844. ManualWeld88.Name = "Weld"
  1845. ManualWeld88.Parent = Part86
  1846. ManualWeld88.C0 = CFrame.new(0, 0, 0, -0.999999821, 2.98023224e-08, 0, 2.98023224e-08, 0.999999821, 0, 0, 0, -1)
  1847. ManualWeld88.C1 = CFrame.new(0, -1.65771484, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1848. ManualWeld88.Part0 = Part86
  1849. Part89.Parent = Tool0
  1850. Part89.Material = Enum.Material.Metal
  1851. Part89.BrickColor = BrickColor.new("Really black")
  1852. Part89.Rotation = Vector3.new(180, 90, 0)
  1853. Part89.FormFactor = Enum.FormFactor.Custom
  1854. Part89.Size = Vector3.new(0.283499986, 0.49849987, 0.283499986)
  1855. Part89.CFrame = CFrame.new(32.3195457, 5.27245808, 12.6082935, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1856. Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1857. Part89.Position = Vector3.new(32.3195457, 5.27245808, 12.6082935)
  1858. Part89.Orientation = Vector3.new(0, 90, 180)
  1859. Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1860. CylinderMesh90.Parent = Part89
  1861. ManualWeld91.Name = "Weld"
  1862. ManualWeld91.Parent = Part89
  1863. ManualWeld91.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1864. ManualWeld91.C1 = CFrame.new(0.00201416016, -1.86914063, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1865. ManualWeld91.Part0 = Part89
  1866. Part92.Parent = Tool0
  1867. Part92.Material = Enum.Material.Metal
  1868. Part92.BrickColor = BrickColor.new("Really black")
  1869. Part92.Rotation = Vector3.new(180, 90, 0)
  1870. Part92.FormFactor = Enum.FormFactor.Custom
  1871. Part92.Size = Vector3.new(0.354374975, 0.283499986, 0.354374975)
  1872. Part92.CFrame = CFrame.new(32.3195457, 4.96093464, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1873. Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1874. Part92.Position = Vector3.new(32.3195457, 4.96093464, 12.6063404)
  1875. Part92.Orientation = Vector3.new(0, 90, 180)
  1876. Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1877. CylinderMesh93.Parent = Part92
  1878. CylinderMesh93.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
  1879. CylinderMesh93.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
  1880. ManualWeld94.Name = "Weld"
  1881. ManualWeld94.Parent = Part92
  1882. ManualWeld94.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1883. ManualWeld94.C1 = CFrame.new(0, -1.55761719, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
  1884. ManualWeld94.Part0 = Part92
  1885. Part95.Name = "LineSegment"
  1886. Part95.Parent = Tool0
  1887. Part95.BrickColor = BrickColor.new("Crimson")
  1888. Part95.Rotation = Vector3.new(80.909996, 1.22000003, -179.669998)
  1889. Part95.Anchored = true
  1890. Part95.FormFactor = Enum.FormFactor.Custom
  1891. Part95.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1892. Part95.CFrame = CFrame.new(32.4336243, 6.07790613, 12.6987257, -0.999756217, 0.00577225257, 0.0213140715, -0.0219581705, -0.157853991, -0.987218201, -0.00233394885, -0.987445593, 0.157942221)
  1893. Part95.BottomSurface = Enum.SurfaceType.Smooth
  1894. Part95.TopSurface = Enum.SurfaceType.Smooth
  1895. Part95.Color = Color3.new(0.592157, 0, 0)
  1896. Part95.Position = Vector3.new(32.4336243, 6.07790613, 12.6987257)
  1897. Part95.Orientation = Vector3.new(80.8300018, 7.69000006, -172.080002)
  1898. Part95.Color = Color3.new(0.592157, 0, 0)
  1899. BlockMesh96.Parent = Part95
  1900. BlockMesh96.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1901. BlockMesh96.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1902. Part97.Name = "LineSegment"
  1903. Part97.Parent = Tool0
  1904. Part97.BrickColor = BrickColor.new("Crimson")
  1905. Part97.Rotation = Vector3.new(77.0299988, 1.18999994, -179.589996)
  1906. Part97.Anchored = true
  1907. Part97.FormFactor = Enum.FormFactor.Custom
  1908. Part97.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1909. Part97.CFrame = CFrame.new(32.4302063, 6.1894784, 12.6771193, -0.999760747, 0.00713411812, 0.0206854045, -0.0217585452, -0.224217221, -0.974296391, -0.0023127289, -0.974513531, 0.224318862)
  1910. Part97.BottomSurface = Enum.SurfaceType.Smooth
  1911. Part97.TopSurface = Enum.SurfaceType.Smooth
  1912. Part97.Color = Color3.new(0.592157, 0, 0)
  1913. Part97.Position = Vector3.new(32.4302063, 6.1894784, 12.6771193)
  1914. Part97.Orientation = Vector3.new(76.9799957, 5.26999998, -174.459991)
  1915. Part97.Color = Color3.new(0.592157, 0, 0)
  1916. BlockMesh98.Parent = Part97
  1917. BlockMesh98.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1918. BlockMesh98.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1919. Part99.Name = "LineSegment"
  1920. Part99.Parent = Tool0
  1921. Part99.BrickColor = BrickColor.new("Crimson")
  1922. Part99.Rotation = Vector3.new(109.699997, 1.23000002, 179.699997)
  1923. Part99.Anchored = true
  1924. Part99.FormFactor = Enum.FormFactor.Custom
  1925. Part99.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1926. Part99.CFrame = CFrame.new(32.4468079, 5.31789589, 12.6287489, -0.999756217, -0.00520526292, 0.0214596111, -0.0219581705, 0.33706516, -0.941225529, -0.00233394885, -0.941467226, -0.337097406)
  1927. Part99.BottomSurface = Enum.SurfaceType.Smooth
  1928. Part99.TopSurface = Enum.SurfaceType.Smooth
  1929. Part99.Color = Color3.new(0.592157, 0, 0)
  1930. Part99.Position = Vector3.new(32.4468079, 5.31789589, 12.6287489)
  1931. Part99.Orientation = Vector3.new(70.2600021, 176.360001, -3.73000002)
  1932. Part99.Color = Color3.new(0.592157, 0, 0)
  1933. BlockMesh100.Parent = Part99
  1934. BlockMesh100.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1935. BlockMesh100.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1936. Part101.Name = "LineSegment"
  1937. Part101.Parent = Tool0
  1938. Part101.BrickColor = BrickColor.new("Crimson")
  1939. Part101.Rotation = Vector3.new(97.3499985, 1.25999999, 179.970001)
  1940. Part101.Anchored = true
  1941. Part101.FormFactor = Enum.FormFactor.Custom
  1942. Part101.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1943. Part101.CFrame = CFrame.new(32.4404602, 5.63942957, 12.7066298, -0.999756217, -0.000494105276, 0.0220763199, -0.0219581705, 0.127914265, -0.991542041, -0.00233394885, -0.991785169, -0.127893955)
  1944. Part101.BottomSurface = Enum.SurfaceType.Smooth
  1945. Part101.TopSurface = Enum.SurfaceType.Smooth
  1946. Part101.Color = Color3.new(0.592157, 0, 0)
  1947. Part101.Position = Vector3.new(32.4404602, 5.63942957, 12.7066298)
  1948. Part101.Orientation = Vector3.new(82.5400009, 170.209991, -9.73999977)
  1949. Part101.Color = Color3.new(0.592157, 0, 0)
  1950. BlockMesh102.Parent = Part101
  1951. BlockMesh102.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1952. BlockMesh102.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1953. Part103.Name = "LineSegment"
  1954. Part103.Parent = Tool0
  1955. Part103.BrickColor = BrickColor.new("Crimson")
  1956. Part103.Rotation = Vector3.new(88.9899979, 1, -179.87999)
  1957. Part103.Anchored = true
  1958. Part103.FormFactor = Enum.FormFactor.Custom
  1959. Part103.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1960. Part103.CFrame = CFrame.new(32.4350891, 5.85549402, 12.7186232, -0.999844968, 0.00217191922, 0.017491864, -0.0175274666, -0.0176218152, -0.999691308, -0.0018630065, -0.999842525, 0.0176572055)
  1961. Part103.BottomSurface = Enum.SurfaceType.Smooth
  1962. Part103.TopSurface = Enum.SurfaceType.Smooth
  1963. Part103.Color = Color3.new(0.592157, 0, 0)
  1964. Part103.Position = Vector3.new(32.4350891, 5.85549402, 12.7186232)
  1965. Part103.Orientation = Vector3.new(88.5800018, 44.7299995, -135.149994)
  1966. Part103.Color = Color3.new(0.592157, 0, 0)
  1967. BlockMesh104.Parent = Part103
  1968. BlockMesh104.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1969. BlockMesh104.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1970. Part105.Name = "LineSegment"
  1971. Part105.Parent = Tool0
  1972. Part105.BrickColor = BrickColor.new("Crimson")
  1973. Part105.Rotation = Vector3.new(73.4000015, 0.930000007, -179.610001)
  1974. Part105.Anchored = true
  1975. Part105.FormFactor = Enum.FormFactor.Custom
  1976. Part105.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1977. Part105.CFrame = CFrame.new(32.4302063, 6.30349207, 12.6470594, -0.999844968, 0.00679121679, 0.0162653606, -0.0175274648, -0.285538554, -0.958207309, -0.00186301023, -0.958343625, 0.285613179)
  1978. Part105.BottomSurface = Enum.SurfaceType.Smooth
  1979. Part105.TopSurface = Enum.SurfaceType.Smooth
  1980. Part105.Color = Color3.new(0.592157, 0, 0)
  1981. Part105.Position = Vector3.new(32.4302063, 6.30349207, 12.6470594)
  1982. Part105.Orientation = Vector3.new(73.3799973, 3.25999999, -176.48999)
  1983. Part105.Color = Color3.new(0.592157, 0, 0)
  1984. BlockMesh106.Parent = Part105
  1985. BlockMesh106.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1986. BlockMesh106.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  1987. Part107.Name = "LineSegment"
  1988. Part107.Parent = Tool0
  1989. Part107.BrickColor = BrickColor.new("Crimson")
  1990. Part107.Rotation = Vector3.new(84.9000015, 0.98999995, -179.800003)
  1991. Part107.Anchored = true
  1992. Part107.FormFactor = Enum.FormFactor.Custom
  1993. Part107.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1994. Part107.CFrame = CFrame.new(32.4350891, 5.96657801, 12.7125502, -0.999844909, 0.00341415429, 0.0172923915, -0.0175274741, -0.0888893604, -0.995887756, -0.00186300708, -0.996035874, 0.0889354199)
  1995. Part107.BottomSurface = Enum.SurfaceType.Smooth
  1996. Part107.TopSurface = Enum.SurfaceType.Smooth
  1997. Part107.Color = Color3.new(0.592157, 0, 0)
  1998. Part107.Position = Vector3.new(32.4350891, 5.96657801, 12.7125502)
  1999. Part107.Orientation = Vector3.new(84.7999954, 11, -168.849991)
  2000. Part107.Color = Color3.new(0.592157, 0, 0)
  2001. BlockMesh108.Parent = Part107
  2002. BlockMesh108.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  2003. BlockMesh108.Scale = Vector3.new(0.200000003, 0.200000003, 1)
  2004. Script109.Name = "qPerfectionWeld"
  2005. Script109.Parent = Tool0
  2006. table.insert(cors,sandbox(Script109,function()
  2007. -- Created by Quenty (@Quenty, follow me on twitter).
  2008. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2009. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2010.  
  2011. --[[ INSTRUCTIONS
  2012. - Place in the model
  2013. - Make sure model is anchored
  2014. - That's it. It will weld the model and all children.
  2015.  
  2016. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2017. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2018. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2019. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2020. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2021. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2022. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2023. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2024.  
  2025. 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.
  2026. ]]
  2027.  
  2028. --[[ DOCUMENTATION
  2029. - 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.
  2030. - Will work in PBS servers
  2031. - Will work as long as it starts out with the part anchored
  2032. - Stores the relative CFrame as a CFrame value
  2033. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2034. - Utilizes a recursive algorith to find all parts in the model
  2035. - Will reweld on script reparent if the script is initially parented to a tool.
  2036. - Welds as fast as possible
  2037. ]]
  2038.  
  2039. -- qPerfectionWeld.lua
  2040. -- Created 10/6/2014
  2041. -- Author: Quenty
  2042. -- Version 1.0.3
  2043.  
  2044. -- Updated 10/14/2014 - Updated to 1.0.1
  2045. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2046.  
  2047. -- Updated 10/14/2014 - Updated to 1.0.2
  2048. --- Fixed bug fix.
  2049.  
  2050. -- Updated 10/14/2014 - Updated to 1.0.3
  2051. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2052.  
  2053. 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).
  2054.  
  2055.  
  2056. local function CallOnChildren(Instance, FunctionToCall)
  2057. -- Calls a function on each of the children of a certain object, using recursion.
  2058.  
  2059. FunctionToCall(Instance)
  2060.  
  2061. for _, Child in next, Instance:GetChildren() do
  2062. CallOnChildren(Child, FunctionToCall)
  2063. end
  2064. end
  2065.  
  2066. local function GetNearestParent(Instance, ClassName)
  2067. -- Returns the nearest parent of a certain class, or returns nil
  2068.  
  2069. local Ancestor = Instance
  2070. repeat
  2071. Ancestor = Ancestor.Parent
  2072. if Ancestor == nil then
  2073. return nil
  2074. end
  2075. until Ancestor:IsA(ClassName)
  2076.  
  2077. return Ancestor
  2078. end
  2079.  
  2080. local function GetBricks(StartInstance)
  2081. local List = {}
  2082.  
  2083. -- if StartInstance:IsA("BasePart") then
  2084. -- List[#List+1] = StartInstance
  2085. -- end
  2086.  
  2087. CallOnChildren(StartInstance, function(Item)
  2088. if Item:IsA("BasePart") then
  2089. List[#List+1] = Item;
  2090. end
  2091. end)
  2092.  
  2093. return List
  2094. end
  2095.  
  2096. local function Modify(Instance, Values)
  2097. -- Modifies an Instance by using a table.
  2098.  
  2099. assert(type(Values) == "table", "Values is not a table");
  2100.  
  2101. for Index, Value in next, Values do
  2102. if type(Index) == "number" then
  2103. Value.Parent = Instance
  2104. else
  2105. Instance[Index] = Value
  2106. end
  2107. end
  2108. return Instance
  2109. end
  2110.  
  2111. local function Make(ClassType, Properties)
  2112. -- Using a syntax hack to create a nice way to Make new items.
  2113.  
  2114. return Modify(Instance.new(ClassType), Properties)
  2115. end
  2116.  
  2117. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  2118. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  2119.  
  2120. local function HasWheelJoint(Part)
  2121. for _, SurfaceName in pairs(Surfaces) do
  2122. for _, HingSurfaceName in pairs(HingSurfaces) do
  2123. if Part[SurfaceName].Name == HingSurfaceName then
  2124. return true
  2125. end
  2126. end
  2127. end
  2128.  
  2129. return false
  2130. end
  2131.  
  2132. local function ShouldBreakJoints(Part)
  2133. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  2134. -- definitely some edge cases.
  2135.  
  2136. if NEVER_BREAK_JOINTS then
  2137. return false
  2138. end
  2139.  
  2140. if HasWheelJoint(Part) then
  2141. return false
  2142. end
  2143.  
  2144. local Connected = Part:GetConnectedParts()
  2145.  
  2146. if #Connected == 1 then
  2147. return false
  2148. end
  2149.  
  2150. for _, Item in pairs(Connected) do
  2151. if HasWheelJoint(Item) then
  2152. return false
  2153. elseif not Item:IsDescendantOf(script.Parent) then
  2154. return false
  2155. end
  2156. end
  2157.  
  2158. return true
  2159. end
  2160.  
  2161. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2162. --- Weld's 2 parts together
  2163. -- @param Part0 The first part
  2164. -- @param Part1 The second part (Dependent part most of the time).
  2165. -- @param [JointType] The type of joint. Defaults to weld.
  2166. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2167. -- @return The weld created.
  2168.  
  2169. JointType = JointType or "Weld"
  2170. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2171.  
  2172. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2173. Modify(NewWeld, {
  2174. Name = "qCFrameWeldThingy";
  2175. Part0 = Part0;
  2176. Part1 = Part1;
  2177. C0 = CFrame.new();--Part0.CFrame:inverse();
  2178. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2179. Parent = Part1;
  2180. })
  2181.  
  2182. if not RelativeValue then
  2183. RelativeValue = Make("CFrameValue", {
  2184. Parent = Part1;
  2185. Name = "qRelativeCFrameWeldValue";
  2186. Archivable = true;
  2187. Value = NewWeld.C1;
  2188. })
  2189. end
  2190.  
  2191. return NewWeld
  2192. end
  2193.  
  2194. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2195. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2196. -- @param MainPart The part to weld the model to (can be in the model).
  2197. -- @param [JointType] The type of joint. Defaults to weld.
  2198. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2199.  
  2200. for _, Part in pairs(Parts) do
  2201. if ShouldBreakJoints(Part) then
  2202. Part:BreakJoints()
  2203. end
  2204. end
  2205.  
  2206. for _, Part in pairs(Parts) do
  2207. if Part ~= MainPart then
  2208. WeldTogether(MainPart, Part, JointType, MainPart)
  2209. end
  2210. end
  2211.  
  2212. if not DoNotUnanchor then
  2213. for _, Part in pairs(Parts) do
  2214. Part.Anchored = false
  2215. end
  2216. MainPart.Anchored = false
  2217. end
  2218. end
  2219.  
  2220. local function PerfectionWeld()
  2221. local Tool = GetNearestParent(script, "Tool")
  2222.  
  2223. local Parts = GetBricks(script.Parent)
  2224. 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]
  2225.  
  2226. if PrimaryPart then
  2227. WeldParts(Parts, PrimaryPart, "Weld", false)
  2228. else
  2229. warn("qWeld - Unable to weld part")
  2230. end
  2231.  
  2232. return Tool
  2233. end
  2234.  
  2235. local Tool = PerfectionWeld()
  2236.  
  2237.  
  2238. if Tool and script.ClassName == "Script" then
  2239. --- Don't bother with local scripts
  2240.  
  2241. script.Parent.AncestryChanged:connect(function()
  2242. PerfectionWeld()
  2243. end)
  2244. end
  2245.  
  2246. -- Created by Quenty (@Quenty, follow me on twitter).
  2247.  
  2248. end))
  2249. for i,v in pairs(mas:GetChildren()) do
  2250. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2251. pcall(function() v:MakeJoints() end)
  2252. end
  2253. mas:Destroy()
  2254. for i,v in pairs(cors) do
  2255. spawn(function()
  2256. pcall(v)
  2257. end)
  2258. end
Advertisement
Add Comment
Please, Sign In to add comment