Advertisement
okban

test

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