Advertisement
Animescapetower

Scythe

Mar 16th, 2018
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.59 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. BoolValue1 = Instance.new("BoolValue")
  21. BoolValue2 = Instance.new("BoolValue")
  22. BoolValue3 = Instance.new("BoolValue")
  23. Animation4 = Instance.new("Animation")
  24. Animation5 = Instance.new("Animation")
  25. Animation6 = Instance.new("Animation")
  26. Animation7 = Instance.new("Animation")
  27. Animation8 = Instance.new("Animation")
  28. Animation9 = Instance.new("Animation")
  29. Animation10 = Instance.new("Animation")
  30. LocalScript11 = Instance.new("LocalScript")
  31. LocalScript12 = Instance.new("LocalScript")
  32. Script13 = Instance.new("Script")
  33. LocalScript14 = Instance.new("LocalScript")
  34. Animation15 = Instance.new("Animation")
  35. Animation16 = Instance.new("Animation")
  36. ParticleEmitter17 = Instance.new("ParticleEmitter")
  37. Script18 = Instance.new("Script")
  38. Animation19 = Instance.new("Animation")
  39. Animation20 = Instance.new("Animation")
  40. CFrameValue21 = Instance.new("CFrameValue")
  41. ScreenGui22 = Instance.new("ScreenGui")
  42. Frame23 = Instance.new("Frame")
  43. TextButton24 = Instance.new("TextButton")
  44. Script25 = Instance.new("Script")
  45. Frame26 = Instance.new("Frame")
  46. ScrollingFrame27 = Instance.new("ScrollingFrame")
  47. ImageButton28 = Instance.new("ImageButton")
  48. ImageLabel29 = Instance.new("ImageLabel")
  49. Color3Value30 = Instance.new("Color3Value")
  50. Color3Value31 = Instance.new("Color3Value")
  51. Script32 = Instance.new("Script")
  52. BrickColorValue33 = Instance.new("BrickColorValue")
  53. ImageButton34 = Instance.new("ImageButton")
  54. ImageLabel35 = Instance.new("ImageLabel")
  55. Color3Value36 = Instance.new("Color3Value")
  56. Color3Value37 = Instance.new("Color3Value")
  57. Script38 = Instance.new("Script")
  58. BrickColorValue39 = Instance.new("BrickColorValue")
  59. ImageButton40 = Instance.new("ImageButton")
  60. ImageLabel41 = Instance.new("ImageLabel")
  61. Color3Value42 = Instance.new("Color3Value")
  62. Color3Value43 = Instance.new("Color3Value")
  63. Script44 = Instance.new("Script")
  64. BrickColorValue45 = Instance.new("BrickColorValue")
  65. ImageButton46 = Instance.new("ImageButton")
  66. ImageLabel47 = Instance.new("ImageLabel")
  67. Color3Value48 = Instance.new("Color3Value")
  68. Color3Value49 = Instance.new("Color3Value")
  69. Script50 = Instance.new("Script")
  70. BrickColorValue51 = Instance.new("BrickColorValue")
  71. ImageButton52 = Instance.new("ImageButton")
  72. ImageLabel53 = Instance.new("ImageLabel")
  73. Color3Value54 = Instance.new("Color3Value")
  74. Color3Value55 = Instance.new("Color3Value")
  75. Script56 = Instance.new("Script")
  76. BrickColorValue57 = Instance.new("BrickColorValue")
  77. ImageButton58 = Instance.new("ImageButton")
  78. ImageLabel59 = Instance.new("ImageLabel")
  79. Color3Value60 = Instance.new("Color3Value")
  80. Color3Value61 = Instance.new("Color3Value")
  81. Script62 = Instance.new("Script")
  82. BrickColorValue63 = Instance.new("BrickColorValue")
  83. ImageButton64 = Instance.new("ImageButton")
  84. ImageLabel65 = Instance.new("ImageLabel")
  85. Color3Value66 = Instance.new("Color3Value")
  86. Color3Value67 = Instance.new("Color3Value")
  87. Script68 = Instance.new("Script")
  88. BrickColorValue69 = Instance.new("BrickColorValue")
  89. Script70 = Instance.new("Script")
  90. Part71 = Instance.new("Part")
  91. ManualWeld72 = Instance.new("ManualWeld")
  92. CylinderMesh73 = Instance.new("CylinderMesh")
  93. StringValue74 = Instance.new("StringValue")
  94. CylinderMesh75 = Instance.new("CylinderMesh")
  95. CylinderMesh76 = Instance.new("CylinderMesh")
  96. Script77 = Instance.new("Script")
  97. BindableEvent78 = Instance.new("BindableEvent")
  98. Part79 = Instance.new("Part")
  99. Sound80 = Instance.new("Sound")
  100. Sound81 = Instance.new("Sound")
  101. Sound82 = Instance.new("Sound")
  102. Sound83 = Instance.new("Sound")
  103. Sound84 = Instance.new("Sound")
  104. Sound85 = Instance.new("Sound")
  105. Sound86 = Instance.new("Sound")
  106. Sound87 = Instance.new("Sound")
  107. Sound88 = Instance.new("Sound")
  108. Sound89 = Instance.new("Sound")
  109. Sound90 = Instance.new("Sound")
  110. Folder91 = Instance.new("Folder")
  111. ParticleEmitter92 = Instance.new("ParticleEmitter")
  112. Sound93 = Instance.new("Sound")
  113. Fire94 = Instance.new("Fire")
  114. SpecialMesh95 = Instance.new("SpecialMesh")
  115. Sound96 = Instance.new("Sound")
  116. Sound97 = Instance.new("Sound")
  117. Sound98 = Instance.new("Sound")
  118. Sound99 = Instance.new("Sound")
  119. Sound100 = Instance.new("Sound")
  120. Animation101 = Instance.new("Animation")
  121. Script102 = Instance.new("Script")
  122. LocalScript103 = Instance.new("LocalScript")
  123. Folder104 = Instance.new("Folder")
  124. NumberValue105 = Instance.new("NumberValue")
  125. Script106 = Instance.new("Script")
  126. Model107 = Instance.new("Model")
  127. Part108 = Instance.new("Part")
  128. SpecialMesh109 = Instance.new("SpecialMesh")
  129. Sound110 = Instance.new("Sound")
  130. Part111 = Instance.new("Part")
  131. SpecialMesh112 = Instance.new("SpecialMesh")
  132. Sound113 = Instance.new("Sound")
  133. Part114 = Instance.new("Part")
  134. SpecialMesh115 = Instance.new("SpecialMesh")
  135. Sound116 = Instance.new("Sound")
  136. Part117 = Instance.new("Part")
  137. SpecialMesh118 = Instance.new("SpecialMesh")
  138. Sound119 = Instance.new("Sound")
  139. Part120 = Instance.new("Part")
  140. SpecialMesh121 = Instance.new("SpecialMesh")
  141. Sound122 = Instance.new("Sound")
  142. Part123 = Instance.new("Part")
  143. SpecialMesh124 = Instance.new("SpecialMesh")
  144. Sound125 = Instance.new("Sound")
  145. Part126 = Instance.new("Part")
  146. SpecialMesh127 = Instance.new("SpecialMesh")
  147. Sound128 = Instance.new("Sound")
  148. Part129 = Instance.new("Part")
  149. SpecialMesh130 = Instance.new("SpecialMesh")
  150. Sound131 = Instance.new("Sound")
  151. Part132 = Instance.new("Part")
  152. SpecialMesh133 = Instance.new("SpecialMesh")
  153. Sound134 = Instance.new("Sound")
  154. Part135 = Instance.new("Part")
  155. SpecialMesh136 = Instance.new("SpecialMesh")
  156. Sound137 = Instance.new("Sound")
  157. Part138 = Instance.new("Part")
  158. SpecialMesh139 = Instance.new("SpecialMesh")
  159. Sound140 = Instance.new("Sound")
  160. Part141 = Instance.new("Part")
  161. SpecialMesh142 = Instance.new("SpecialMesh")
  162. Sound143 = Instance.new("Sound")
  163. Part144 = Instance.new("Part")
  164. SpecialMesh145 = Instance.new("SpecialMesh")
  165. Sound146 = Instance.new("Sound")
  166. BoolValue147 = Instance.new("BoolValue")
  167. LocalScript148 = Instance.new("LocalScript")
  168. Script149 = Instance.new("Script")
  169. Animation150 = Instance.new("Animation")
  170. LocalScript151 = Instance.new("LocalScript")
  171. RemoteEvent152 = Instance.new("RemoteEvent")
  172. RemoteEvent153 = Instance.new("RemoteEvent")
  173. RemoteEvent154 = Instance.new("RemoteEvent")
  174. Animation155 = Instance.new("Animation")
  175. Animation156 = Instance.new("Animation")
  176. Script157 = Instance.new("Script")
  177. Script158 = Instance.new("Script")
  178. Tool0.Name = "Ultimate Hammer scythe"
  179. Tool0.Parent = mas
  180. Tool0.GripForward = Vector3.new(1, -0, -0)
  181. Tool0.GripPos = Vector3.new(0, 0.0776660442, 0.10033416)
  182. Tool0.GripRight = Vector3.new(0, 0, 1)
  183. Tool0.ToolTip = "Press e"
  184. Tool0.CanBeDropped = false
  185. BoolValue1.Name = "PlayOverhead"
  186. BoolValue1.Parent = Tool0
  187. BoolValue2.Name = "PlaySlash"
  188. BoolValue2.Parent = Tool0
  189. BoolValue3.Name = "PlayThrust"
  190. BoolValue3.Parent = Tool0
  191. Animation4.Name = "IdleAnim3"
  192. Animation4.Parent = Tool0
  193. Animation4.AnimationId = "rbxassetid://846744780"
  194. Animation5.Name = "OverheadAnim2"
  195. Animation5.Parent = Tool0
  196. Animation5.AnimationId = "rbxassetid://846744780"
  197. Animation6.Name = "SlashAnim2"
  198. Animation6.Parent = Tool0
  199. Animation6.AnimationId = "rbxassetid://846754447"
  200. Animation7.Name = "ThrustAnim2"
  201. Animation7.Parent = Tool0
  202. Animation7.AnimationId = "rbxassetid://846744780"
  203. Animation8.Name = "UnequipAnim2"
  204. Animation8.Parent = Tool0
  205. Animation8.AnimationId = "rbxassetid://846744780"
  206. Animation9.Name = "EquipAnim5"
  207. Animation9.Parent = Tool0
  208. Animation9.AnimationId = "rbxassetid://846744780"
  209. Animation10.Name = "Swing1"
  210. Animation10.Parent = Tool0
  211. Animation10.AnimationId = "rbxassetid://218504594"
  212. LocalScript11.Name = "AnimationScript"
  213. LocalScript11.Parent = Tool0
  214. table.insert(cors,sandbox(LocalScript11,function()
  215. -- Waits for the child of the specified parent
  216. local function WaitForChild(parent, childName)
  217. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  218. return parent[childName]
  219. end
  220.  
  221. local Tool = script.Parent
  222.  
  223. local Animations = {}
  224. local MyHumanoid
  225. local MyCharacter
  226.  
  227.  
  228. local function PlayAnimation(animationName)
  229. if Animations[animationName] then
  230. Animations[animationName]:Play()
  231. end
  232. end
  233.  
  234. local function StopAnimation(animationName)
  235. if Animations[animationName] then
  236. Animations[animationName]:Stop()
  237. end
  238. end
  239.  
  240.  
  241. function OnEquipped(mouse)
  242. MyCharacter = Tool.Parent
  243. MyHumanoid = WaitForChild(MyCharacter, 'Humanoid')
  244. if MyHumanoid then
  245. Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'EquipAnim5'))
  246. Animations['IdleAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'IdleAnim3'))
  247. Animations['OverheadAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'OverheadAnim2'))
  248. Animations['SlashAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'SlashAnim2'))
  249. Animations['ThrustAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'ThrustAnim2'))
  250. Animations['UnequipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'UnequipAnim2'))
  251. end
  252.  
  253. Animations['EquipAnim']:Play(.1,.8,1)
  254. PlayAnimation('IdleAnim')
  255. end
  256.  
  257. function OnUnequipped()
  258. Tool.Handle.deactivate:Play()
  259. for animName, _ in pairs(Animations) do
  260. StopAnimation(animName)
  261. end
  262. end
  263.  
  264. Tool.Equipped:connect(OnEquipped)
  265. Tool.Unequipped:connect(OnUnequipped)
  266.  
  267. WaitForChild(Tool, 'PlaySlash').Changed:connect(
  268. function (value)
  269. --if value then
  270. PlayAnimation('SlashAnim')
  271. --else
  272. -- StopAnimation('SlashAnim')
  273. --end
  274. end)
  275.  
  276. WaitForChild(Tool, 'PlayThrust').Changed:connect(
  277. function (value)
  278. --if value then
  279. PlayAnimation('ThrustAnim')
  280. --else
  281. -- StopAnimation('ThrustAnim')
  282. --end
  283. end)
  284.  
  285. WaitForChild(Tool, 'PlayOverhead').Changed:connect(
  286. function (value)
  287. --if value then
  288. Animations['OverheadAnim']:Play()
  289. --else
  290. -- StopAnimation('OverheadAnim')
  291. --end
  292. end)
  293.  
  294. end))
  295. LocalScript12.Name = "Local Gui"
  296. LocalScript12.Parent = Tool0
  297. table.insert(cors,sandbox(LocalScript12,function()
  298. local Tool = script.Parent;
  299. enabled = true
  300. function onButton1Down(mouse)
  301. if not enabled then
  302. return
  303. end
  304.  
  305. enabled = false
  306. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  307. while not Tool.Enabled do
  308. wait(0.05)
  309. end
  310.  
  311. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  312. enabled = true
  313.  
  314. end
  315.  
  316. function onEquippedLocal(mouse)
  317. for _, part in pairs(script.Parent.Parent:GetChildren()) do
  318. if part.Name == "Saber" then
  319. part:remove()
  320. end
  321. end
  322. wait(1)
  323. spawn(function()
  324. emitters={}
  325. local rnswdch=Tool:GetChildren()
  326. for i, v in pairs(rnswdch) do
  327. if v.Name=='BladeGlow1' then
  328. v.Transparency=0
  329. local bldch2=v:GetChildren()
  330. for i, v in pairs(bldch2) do
  331. if v.ClassName=='ParticleEmitter' or v.ClassName == 'Trail' then
  332. table.insert(emitters,v)
  333. end
  334. end
  335. end
  336. end
  337.  
  338. for i, v in pairs(emitters) do
  339. v.Enabled=true
  340. end
  341. end)
  342. wait(0.2)
  343. spawn(function()
  344. emitters2={}
  345. local rnswdch=Tool:GetChildren()
  346. for i, v in pairs(rnswdch) do
  347. if v.Name=='BladeGlow2' or v.Name=='BladeGlow3' then
  348. v.Transparency=0
  349. local bldch2=v:GetChildren()
  350. for i, v in pairs(bldch2) do
  351. if v.ClassName=='ParticleEmitter' or v.ClassName == 'Trail' then
  352. table.insert(emitters2,v)
  353. end
  354. end
  355. end
  356. end
  357.  
  358. for i, v in pairs(emitters2) do
  359. v.Enabled=true
  360. end
  361. end)
  362. if mouse == nil then
  363. print("Mouse not found")
  364. return
  365. end
  366.  
  367. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  368. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  369. end
  370. Tool.Unequipped:connect(function()
  371. spawn(function()
  372. local rnswdch=Tool:GetChildren()
  373. for i, v in pairs(rnswdch) do
  374. if v.Name=='BladeGlow2' or v.Name=='BladeGlow3' then
  375. v.Transparency=1
  376. end
  377. end
  378. for i, v in pairs(emitters) do
  379. v.Enabled=false
  380. end
  381. end)
  382. spawn(function()
  383. local rnswdch=Tool:GetChildren()
  384. for i, v in pairs(rnswdch) do
  385. if v.Name=='BladeGlow1' then
  386. v.Transparency=1
  387. end
  388. end
  389. for i, v in pairs(emitters2) do
  390. v.Enabled=false
  391. end
  392. end)
  393. wait(0.002)
  394. if script.Parent.Parent ~= game.Workspace then
  395. ready = true
  396. m = Instance.new("Model")
  397. m.Name = "Saber"
  398. m.Parent = script.Parent.Parent.Parent.Character
  399. for _, part in pairs(script.Parent:GetChildren()) do
  400. if part.ClassName == "Part" or part.ClassName == 'UnionOperation' then
  401. if part.Name~='BladeGlow1' and part.Name~='BladeGlow2' and part.Name~='BladeGlow3' and part.Name~='Cord'then
  402. p = part:clone()
  403. p.Anchored = false
  404. p.CanCollide = false
  405. p.Parent = m
  406. print(p)
  407. end
  408. end
  409. end
  410. s = script.AutoWeld:clone()
  411. s.Parent = m
  412. s.Disabled = false
  413. for _, parts in pairs(m:GetChildren()) do
  414. if parts.ClassName == "Part" or parts.ClassName == 'UnionOperation' then
  415. p.Anchored = false
  416. print(p)
  417. end
  418. end
  419. w = Instance.new("Weld")
  420. w.Parent = m.Handle
  421. w.Part0 = script.Parent.Parent.Parent.Character["Left Leg"]
  422. w.Part1 = m.Handle
  423. w.C0 = CFrame.new(-.6, .8, .1)*CFrame.Angles(math.pi*1.6, 0, 0)
  424. end
  425. end)
  426.  
  427. Tool.Equipped:connect(onEquippedLocal)
  428.  
  429. end))
  430. Script13.Name = "AutoWeld"
  431. Script13.Parent = LocalScript12
  432. Script13.Disabled = true
  433. table.insert(cors,sandbox(Script13,function()
  434. --This script automatically welds your tool (if it's a tool)
  435. --Else place it inside a model full of bricks to weld them together!
  436. --Script from free models, Modified to be universal by Redyz!
  437.  
  438. --Sure you can edit both the script and the comment but the latter would be mean, no?
  439.  
  440. PartFound = nil
  441.  
  442. function Weld(x,y)
  443. local W = Instance.new("Weld")
  444. W.Part0 = x
  445. W.Part1 = y
  446. local CJ = CFrame.new(x.Position)
  447. local C0 = x.CFrame:inverse()*CJ
  448. local C1 = y.CFrame:inverse()*CJ
  449. W.C0 = C0
  450. W.C1 = C1
  451. W.Parent = x
  452. end
  453.  
  454. function Get(A) --Get all parts
  455. if A.className == "Part" then
  456. if script.Parent:FindFirstChild("Handle") ~= nil then
  457. Weld(script.Parent.Handle, A) --You're a tool
  458. else
  459. Weld(PartFound, A) --Not a tool
  460. end
  461. A.Anchored = false
  462. else
  463. local C = A:GetChildren()
  464. for i=1, #C do
  465. Get(C[i])
  466. end
  467. end
  468. end
  469.  
  470. function Finale()
  471. if(script.Parent:FindFirstChild("Handle")) ~= nil then -- A tool
  472. Get(script.Parent)
  473. else -- Something else~!
  474. List = script.Parent:GetChildren()
  475. for i = 1, #List do
  476. if List[i].ClassName == "Part" then --Find First Part
  477. PartFound = List[i]
  478. break
  479. end
  480. end
  481. Get(PartFound.Parent)
  482. end
  483. end
  484.  
  485. if script.Parent.ClassName == "Tool" then
  486. Finale() --In case the tool is sitting in the workspace
  487. script.Parent.Equipped:connect(Finale) --When you equip it
  488. script.Parent.Unequipped:connect(Finale) --And when you unequip it
  489. else
  490. Finale() --But I'm not a tool!
  491. end
  492. end))
  493. LocalScript14.Name = "Force Powers"
  494. LocalScript14.Parent = Tool0
  495. table.insert(cors,sandbox(LocalScript14,function()
  496. script.Parent.Equipped:connect(function(m)
  497. plr=game.Players:GetPlayerFromCharacter(script.Parent.Parent)
  498. char=script.Parent.Parent
  499. MyHumanoid=char.Humanoid
  500. LastSpace=0
  501. LastTeleport=0
  502. t=char.Torso
  503. childList={}
  504.  
  505. local Animations = {}
  506.  
  507. local function WaitForChild(parent, childName)
  508. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  509. return parent[childName]
  510. end
  511.  
  512. Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'EquipAnim5'))
  513. Animations['Roar'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'Roar'))
  514. Animations['Jump'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'Jump'))
  515. Animations['Force'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'Force'))
  516.  
  517.  
  518. function f (p)
  519. p.RocketPropulsion:Fire()
  520. end
  521. m.KeyDown:connect(function(key)
  522. if key == 'g' then
  523. t=m.Target
  524. if t.Parent.ClassName=='Tool' and (plr.Character['Right Arm'].Position - t.Position).magnitude<=50 then
  525. Animations['Force']:Play(.1,.8,2)
  526. rp=Instance.new('RocketPropulsion')
  527. rp.Target=plr.Character['Right Arm']
  528. print(plr.Character.Name)
  529. rp.Parent=m.Target
  530. f(rp.Parent)
  531. t.Parent.Equipped:connect(function()
  532. rp:remove()
  533. end)
  534. else return
  535. end
  536. t=plr.Character.Torso
  537. --print (nkey)
  538. elseif key == 'u' then
  539. if tick()-LastSpace < 1 and tick()-LastTeleport >3 then
  540. fury()
  541. LastTeleport = tick()
  542. Animations['Jump']:Play(.1,1,3)
  543. t.Velocity = t.Velocity + Vector3.new(0,120,0)
  544. wait(3)
  545. elseif tick()-LastTeleport >3 then
  546. LastSpace = tick()
  547. wait(12)
  548. Animations['Jump']:Stop()
  549. end
  550.  
  551. elseif key=='f' and d==nil then
  552. d=true
  553. fury()
  554. Animations['Roar']:Play()
  555. freeze()
  556. script.Parent.Handle.Fire:Play()
  557. wait(15)
  558. script.Parent.Handle.PowerUp:Play()
  559. wait(12)
  560. d=nil
  561. elseif key == 'q' then
  562. if d2==nil then
  563. d2=true
  564. Animations['Force']:Play(.1,.8,2)
  565. Taunt()
  566. wait(5)
  567. d2=nil
  568.  
  569. end
  570. elseif key == 'e' then
  571. if debounce2==nil then
  572. debounce2=true
  573. Animations['EquipAnim']:Play(.1,.8,2)
  574. rTaunt()
  575. wait(5)
  576. debounce2=nil
  577. end
  578. end
  579. end)
  580. function Taunt()
  581. --gather all of the humanoids in a 30stud radius
  582. local torsos = {}
  583. for _, p in pairs(game.Players:GetChildren()) do
  584. if p ~= plr then
  585. if p.Character and p.Character:FindFirstChild('Torso') then
  586. torsos[#torsos+1] = p.Character.Torso
  587. end
  588. end
  589. end
  590.  
  591. --now pull them in towards us
  592. local mpos = char.Torso.Position
  593. for _, torso in pairs(torsos) do
  594. if (mpos-torso.Position).magnitude < 40 then
  595. local dir = (mpos-torso.Position).unit
  596. ------------ stolen from dagger of time to make a character "fly" in some direction
  597. local force = Instance.new("BodyVelocity")
  598. force.velocity = Vector3.new(0,1,0)
  599. force.Parent = torso
  600. torso.Velocity = dir*250
  601. game.Debris:AddItem(force, 0.5)
  602. ------------
  603. end
  604. end
  605. end
  606.  
  607. function rTaunt()
  608. --gather all of the humanoids in a 30stud radius
  609. local torsos = {}
  610. for _, p in pairs(game.Players:GetChildren()) do
  611. if p ~= game.Players:GetPlayerFromCharacter(char) then
  612. if p.Character and p.Character:FindFirstChild('Torso') then
  613. torsos[#torsos+1] = p.Character.Torso
  614. end
  615. end
  616. end
  617.  
  618. --now pull them in towards us
  619. local mpos = char.Torso.Position
  620. for _, torso in pairs(torsos) do
  621. if (mpos-torso.Position).magnitude < 40 then
  622. local dir = (mpos-torso.Position).unit
  623. ------------ stolen from dagger of time to make a character "fly" in some direction
  624. local force = Instance.new("BodyVelocity")
  625. force.velocity = Vector3.new(0,1,0)
  626. force.Parent = torso
  627. torso.Velocity = -dir*250
  628. game.Debris:AddItem(force, 0.5)
  629. ------------
  630. end
  631. end
  632. end
  633.  
  634. function freeze()
  635. checkObject(workspace)
  636. for i, v in pairs(childList) do
  637. if (v.Position-char.Torso.Position).magnitude<=50 then
  638. v.Anchored=true
  639. wait(7)
  640. v.Anchored=false
  641. else return
  642. end
  643. end
  644. end
  645.  
  646. function checkObject(obj) -- This is basically a function that finds all unanchored parts and adds them to childList.
  647. if (obj.className == "Part") and not (obj:IsDescendantOf(char)) then
  648. if (obj.Anchored == false) then
  649. table.insert(childList, 1, obj)
  650. end
  651. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  652. local child = obj:GetChildren()
  653. for x = 1, #child do
  654. checkObject(child[x])
  655. end
  656. obj.ChildAdded:connect(checkObject)
  657. end
  658. end
  659.  
  660. function fury()
  661. ch=char:GetChildren()
  662. for i, v in pairs(ch) do
  663. if v.ClassName=='Part' then
  664. fp=script:WaitForChild('EffectFire'):Clone()
  665. fp.Enabled=true
  666. fp.Parent=v
  667. fp.Script.Disabled=false
  668. end
  669. end
  670. end
  671. end)
  672. end))
  673. Animation15.Name = "EquipAnim5"
  674. Animation15.Parent = LocalScript14
  675. Animation15.AnimationId = "rbxassetid://27751170"
  676. Animation16.Name = "Jump"
  677. Animation16.Parent = LocalScript14
  678. Animation16.AnimationId = "rbxassetid://235542946"
  679. ParticleEmitter17.Name = "EffectFire"
  680. ParticleEmitter17.Parent = LocalScript14
  681. ParticleEmitter17.Transparency = NumberSequence.new(0.89999997615814,0.89999997615814)
  682. ParticleEmitter17.Size = NumberSequence.new(10,10)
  683. ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 1, 0),Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 1),Color3.new(0, 0.333333, 1),Color3.new(0.333333, 0, 1),Color3.new(1, 0, 1),Color3.new(1, 0, 0),Color3.new(0, 1, 1),Color3.new(0, 1, 0),Color3.new(1, 1, 0))
  684. ParticleEmitter17.Enabled = false
  685. ParticleEmitter17.LightEmission = 0.25
  686. ParticleEmitter17.Texture = "rbxassetid://1242655587"
  687. ParticleEmitter17.ZOffset = 1
  688. ParticleEmitter17.Acceleration = Vector3.new(0, 1.5, 0)
  689. ParticleEmitter17.Lifetime = NumberRange.new(1, 1)
  690. ParticleEmitter17.Rate = 50
  691. ParticleEmitter17.Speed = NumberRange.new(45, 45)
  692. ParticleEmitter17.VelocitySpread = 700
  693. ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 1, 0),Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 1),Color3.new(0, 0.333333, 1),Color3.new(0.333333, 0, 1),Color3.new(1, 0, 1),Color3.new(1, 0, 0),Color3.new(0, 1, 1),Color3.new(0, 1, 0),Color3.new(1, 1, 0))
  694. Script18.Parent = ParticleEmitter17
  695. Script18.Disabled = true
  696. table.insert(cors,sandbox(Script18,function()
  697. wait(3)
  698. script.Parent:remove()
  699. end))
  700. Animation19.Name = "Roar"
  701. Animation19.Parent = LocalScript14
  702. Animation19.AnimationId = "rbxassetid://105371766"
  703. Animation20.Name = "Force"
  704. Animation20.Parent = LocalScript14
  705. Animation20.AnimationId = "rbxassetid://32326240"
  706. CFrameValue21.Name = "og"
  707. CFrameValue21.Parent = Tool0
  708. CFrameValue21.Value = CFrame.new(0, -2.21224976, -0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  709. ScreenGui22.Name = "SaberColorGui"
  710. ScreenGui22.Parent = Tool0
  711. Frame23.Parent = ScreenGui22
  712. Frame23.Transparency = 1
  713. Frame23.Size = UDim2.new(0.100000001, 0, 0.300000012, 0)
  714. Frame23.Position = UDim2.new(-0.100000001, 0, 0.5, 0)
  715. Frame23.BackgroundColor3 = Color3.new(1, 1, 1)
  716. Frame23.BackgroundTransparency = 1
  717. TextButton24.Name = "Open/Close"
  718. TextButton24.Parent = Frame23
  719. TextButton24.Rotation = 90
  720. TextButton24.Size = UDim2.new(1.10000002, 0, 0.300000012, 0)
  721. TextButton24.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  722. TextButton24.Text = "Saber Color"
  723. TextButton24.Position = UDim2.new(0.649999976, 0, 0.340000004, 0)
  724. TextButton24.BackgroundColor3 = Color3.new(1, 1, 1)
  725. TextButton24.FontSize = Enum.FontSize.Size14
  726. TextButton24.TextWrapped = true
  727. Script25.Parent = TextButton24
  728. table.insert(cors,sandbox(Script25,function()
  729. out=false
  730. script.Parent.MouseButton1Click:connect(function()
  731. if out==false then
  732. out=true
  733. for i=1, 20 do
  734. script.Parent.Parent.Position=script.Parent.Parent.Position+UDim2.new((0.1/20),0,0,0)
  735. wait(0.02)
  736. end
  737. elseif out==true then
  738. out=false
  739. for i=1, 20 do
  740. script.Parent.Parent.Position=script.Parent.Parent.Position+UDim2.new((-0.1/20),0,0,0)
  741. wait(0.02)
  742. end
  743. end
  744. end)
  745. end))
  746. Frame26.Parent = Frame23
  747. Frame26.Transparency = 1
  748. Frame26.Size = UDim2.new(1, 0, 1, 0)
  749. Frame26.BackgroundColor3 = Color3.new(1, 1, 1)
  750. Frame26.BackgroundTransparency = 1
  751. ScrollingFrame27.Parent = Frame26
  752. ScrollingFrame27.Transparency = 0.20000000298023
  753. ScrollingFrame27.Size = UDim2.new(1, 0, 1, 0)
  754. ScrollingFrame27.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  755. ScrollingFrame27.BackgroundTransparency = 0.20000000298023
  756. ScrollingFrame27.ZIndex = 2
  757. ImageButton28.Name = "Color Option"
  758. ImageButton28.Parent = ScrollingFrame27
  759. ImageButton28.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  760. ImageButton28.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  761. ImageButton28.ZIndex = 3
  762. ImageLabel29.Name = "CoreDisplay"
  763. ImageLabel29.Parent = ImageButton28
  764. ImageLabel29.Size = UDim2.new(1, 0, 0.699999988, 0)
  765. ImageLabel29.Position = UDim2.new(0, 0, 0.100000001, 0)
  766. ImageLabel29.BackgroundColor3 = Color3.new(1, 1, 1)
  767. ImageLabel29.BorderSizePixel = 0
  768. ImageLabel29.ZIndex = 4
  769. Color3Value30.Name = "Core"
  770. Color3Value30.Parent = ImageButton28
  771. Color3Value30.Value = Color3.new(1, 1, 1)
  772. Color3Value31.Name = "Glow"
  773. Color3Value31.Parent = ImageButton28
  774. Color3Value31.Value = Color3.new(0, 1, 0)
  775. Script32.Parent = ImageButton28
  776. table.insert(cors,sandbox(Script32,function()
  777. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  778. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  779. end))
  780. BrickColorValue33.Name = "Neon"
  781. BrickColorValue33.Parent = ImageButton28
  782. BrickColorValue33.Value = BrickColor.new("Institutional white")
  783. ImageButton34.Name = "Color Option"
  784. ImageButton34.Parent = ScrollingFrame27
  785. ImageButton34.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  786. ImageButton34.Position = UDim2.new(0, 0, 0.109999999, 0)
  787. ImageButton34.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  788. ImageButton34.ZIndex = 3
  789. ImageLabel35.Name = "CoreDisplay"
  790. ImageLabel35.Parent = ImageButton34
  791. ImageLabel35.Size = UDim2.new(1, 0, 0.699999988, 0)
  792. ImageLabel35.Position = UDim2.new(0, 0, 0.100000001, 0)
  793. ImageLabel35.BackgroundColor3 = Color3.new(1, 1, 1)
  794. ImageLabel35.BorderSizePixel = 0
  795. ImageLabel35.ZIndex = 4
  796. Color3Value36.Name = "Core"
  797. Color3Value36.Parent = ImageButton34
  798. Color3Value36.Value = Color3.new(1, 1, 1)
  799. Color3Value37.Name = "Glow"
  800. Color3Value37.Parent = ImageButton34
  801. Color3Value37.Value = Color3.new(1, 0, 0)
  802. Script38.Parent = ImageButton34
  803. table.insert(cors,sandbox(Script38,function()
  804. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  805. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  806. end))
  807. BrickColorValue39.Name = "Neon"
  808. BrickColorValue39.Parent = ImageButton34
  809. BrickColorValue39.Value = BrickColor.new("Light orange")
  810. ImageButton40.Name = "Color Option"
  811. ImageButton40.Parent = ScrollingFrame27
  812. ImageButton40.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  813. ImageButton40.Position = UDim2.new(0, 0, 0.219999999, 0)
  814. ImageButton40.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  815. ImageButton40.ZIndex = 3
  816. ImageLabel41.Name = "CoreDisplay"
  817. ImageLabel41.Parent = ImageButton40
  818. ImageLabel41.Size = UDim2.new(1, 0, 0.699999988, 0)
  819. ImageLabel41.Position = UDim2.new(0, 0, 0.100000001, 0)
  820. ImageLabel41.BackgroundColor3 = Color3.new(1, 1, 1)
  821. ImageLabel41.BorderSizePixel = 0
  822. ImageLabel41.ZIndex = 4
  823. Color3Value42.Name = "Core"
  824. Color3Value42.Parent = ImageButton40
  825. Color3Value43.Name = "Glow"
  826. Color3Value43.Parent = ImageButton40
  827. Color3Value43.Value = Color3.new(1, 1, 1)
  828. Script44.Parent = ImageButton40
  829. table.insert(cors,sandbox(Script44,function()
  830. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  831. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  832. end))
  833. BrickColorValue45.Name = "Neon"
  834. BrickColorValue45.Parent = ImageButton40
  835. BrickColorValue45.Value = BrickColor.new("Really black")
  836. ImageButton46.Name = "Color Option"
  837. ImageButton46.Parent = ScrollingFrame27
  838. ImageButton46.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  839. ImageButton46.Position = UDim2.new(0, 0, 0.330000013, 0)
  840. ImageButton46.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  841. ImageButton46.ZIndex = 3
  842. ImageLabel47.Name = "CoreDisplay"
  843. ImageLabel47.Parent = ImageButton46
  844. ImageLabel47.Size = UDim2.new(1, 0, 0.699999988, 0)
  845. ImageLabel47.Position = UDim2.new(0, 0, 0.100000001, 0)
  846. ImageLabel47.BackgroundColor3 = Color3.new(1, 1, 1)
  847. ImageLabel47.BorderSizePixel = 0
  848. ImageLabel47.ZIndex = 4
  849. Color3Value48.Name = "Core"
  850. Color3Value48.Parent = ImageButton46
  851. Color3Value48.Value = Color3.new(1, 1, 1)
  852. Color3Value49.Name = "Glow"
  853. Color3Value49.Parent = ImageButton46
  854. Color3Value49.Value = Color3.new(0, 0.333333, 1)
  855. Script50.Parent = ImageButton46
  856. table.insert(cors,sandbox(Script50,function()
  857. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  858. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  859. end))
  860. BrickColorValue51.Name = "Neon"
  861. BrickColorValue51.Parent = ImageButton46
  862. BrickColorValue51.Value = BrickColor.new("Institutional white")
  863. ImageButton52.Name = "Color Option"
  864. ImageButton52.Parent = ScrollingFrame27
  865. ImageButton52.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  866. ImageButton52.Position = UDim2.new(0, 0, 0.439999998, 0)
  867. ImageButton52.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  868. ImageButton52.ZIndex = 3
  869. ImageLabel53.Name = "CoreDisplay"
  870. ImageLabel53.Parent = ImageButton52
  871. ImageLabel53.Size = UDim2.new(1, 0, 0.699999988, 0)
  872. ImageLabel53.Position = UDim2.new(0, 0, 0.100000001, 0)
  873. ImageLabel53.BackgroundColor3 = Color3.new(1, 1, 1)
  874. ImageLabel53.BorderSizePixel = 0
  875. ImageLabel53.ZIndex = 4
  876. Color3Value54.Name = "Core"
  877. Color3Value54.Parent = ImageButton52
  878. Color3Value54.Value = Color3.new(1, 1, 1)
  879. Color3Value55.Name = "Glow"
  880. Color3Value55.Parent = ImageButton52
  881. Color3Value55.Value = Color3.new(1, 1, 1)
  882. Script56.Parent = ImageButton52
  883. table.insert(cors,sandbox(Script56,function()
  884. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  885. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  886. end))
  887. BrickColorValue57.Name = "Neon"
  888. BrickColorValue57.Parent = ImageButton52
  889. BrickColorValue57.Value = BrickColor.new("Institutional white")
  890. ImageButton58.Name = "Color Option"
  891. ImageButton58.Parent = ScrollingFrame27
  892. ImageButton58.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  893. ImageButton58.Position = UDim2.new(0, 0, 0.550000012, 0)
  894. ImageButton58.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  895. ImageButton58.ZIndex = 3
  896. ImageLabel59.Name = "CoreDisplay"
  897. ImageLabel59.Parent = ImageButton58
  898. ImageLabel59.Size = UDim2.new(1, 0, 0.699999988, 0)
  899. ImageLabel59.Position = UDim2.new(0, 0, 0.100000001, 0)
  900. ImageLabel59.BackgroundColor3 = Color3.new(1, 1, 1)
  901. ImageLabel59.BorderSizePixel = 0
  902. ImageLabel59.ZIndex = 4
  903. Color3Value60.Name = "Core"
  904. Color3Value60.Parent = ImageButton58
  905. Color3Value60.Value = Color3.new(1, 1, 1)
  906. Color3Value61.Name = "Glow"
  907. Color3Value61.Parent = ImageButton58
  908. Color3Value61.Value = Color3.new(0.666667, 0, 0.498039)
  909. Script62.Parent = ImageButton58
  910. table.insert(cors,sandbox(Script62,function()
  911. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  912. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  913. end))
  914. BrickColorValue63.Name = "Neon"
  915. BrickColorValue63.Parent = ImageButton58
  916. BrickColorValue63.Value = BrickColor.new("Institutional white")
  917. ImageButton64.Name = "Color Option"
  918. ImageButton64.Parent = ScrollingFrame27
  919. ImageButton64.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  920. ImageButton64.Position = UDim2.new(0, 0, 0.660000026, 0)
  921. ImageButton64.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  922. ImageButton64.ZIndex = 3
  923. ImageLabel65.Name = "CoreDisplay"
  924. ImageLabel65.Parent = ImageButton64
  925. ImageLabel65.Size = UDim2.new(1, 0, 0.699999988, 0)
  926. ImageLabel65.Position = UDim2.new(0, 0, 0.100000001, 0)
  927. ImageLabel65.BackgroundColor3 = Color3.new(1, 1, 1)
  928. ImageLabel65.BorderSizePixel = 0
  929. ImageLabel65.ZIndex = 4
  930. Color3Value66.Name = "Core"
  931. Color3Value66.Parent = ImageButton64
  932. Color3Value66.Value = Color3.new(1, 1, 1)
  933. Color3Value67.Name = "Glow"
  934. Color3Value67.Parent = ImageButton64
  935. Color3Value67.Value = Color3.new(1, 1, 0.498039)
  936. Script68.Parent = ImageButton64
  937. table.insert(cors,sandbox(Script68,function()
  938. script.Parent.BackgroundColor3=script.Parent.Glow.Value
  939. script.Parent.CoreDisplay.BackgroundColor3=script.Parent.Core.Value
  940. end))
  941. BrickColorValue69.Name = "Neon"
  942. BrickColorValue69.Parent = ImageButton64
  943. BrickColorValue69.Value = BrickColor.new("Institutional white")
  944. Script70.Name = "qPerfectionWeld"
  945. Script70.Parent = Tool0
  946. table.insert(cors,sandbox(Script70,function()
  947. -- Created by Quenty (@Quenty, follow me on twitter).
  948. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  949. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  950.  
  951. --[[ INSTRUCTIONS
  952. - Place in the model
  953. - Make sure model is anchored
  954. - That's it. It will weld the model and all children.
  955.  
  956. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  957. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  958. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  959. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  960. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  961. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  962. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  963. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  964.  
  965. 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.
  966. ]]
  967.  
  968. --[[ DOCUMENTATION
  969. - 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.
  970. - Will work in PBS servers
  971. - Will work as long as it starts out with the part anchored
  972. - Stores the relative CFrame as a CFrame value
  973. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  974. - Utilizes a recursive algorith to find all parts in the model
  975. - Will reweld on script reparent if the script is initially parented to a tool.
  976. - Welds as fast as possible
  977. ]]
  978.  
  979. -- qPerfectionWeld.lua
  980. -- Created 10/6/2014
  981. -- Author: Quenty
  982. -- Version 1.0.3
  983.  
  984. -- Updated 10/14/2014 - Updated to 1.0.1
  985. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  986.  
  987. -- Updated 10/14/2014 - Updated to 1.0.2
  988. --- Fixed bug fix.
  989.  
  990. -- Updated 10/14/2014 - Updated to 1.0.3
  991. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  992.  
  993. 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).
  994.  
  995.  
  996. local function CallOnChildren(Instance, FunctionToCall)
  997. -- Calls a function on each of the children of a certain object, using recursion.
  998.  
  999. FunctionToCall(Instance)
  1000.  
  1001. for _, Child in next, Instance:GetChildren() do
  1002. CallOnChildren(Child, FunctionToCall)
  1003. end
  1004. end
  1005.  
  1006. local function GetNearestParent(Instance, ClassName)
  1007. -- Returns the nearest parent of a certain class, or returns nil
  1008.  
  1009. local Ancestor = Instance
  1010. repeat
  1011. Ancestor = Ancestor.Parent
  1012. if Ancestor == nil then
  1013. return nil
  1014. end
  1015. until Ancestor:IsA(ClassName)
  1016.  
  1017. return Ancestor
  1018. end
  1019.  
  1020. local function GetBricks(StartInstance)
  1021. local List = {}
  1022.  
  1023. -- if StartInstance:IsA("BasePart") then
  1024. -- List[#List+1] = StartInstance
  1025. -- end
  1026.  
  1027. CallOnChildren(StartInstance, function(Item)
  1028. if Item:IsA("BasePart") then
  1029. List[#List+1] = Item;
  1030. end
  1031. end)
  1032.  
  1033. return List
  1034. end
  1035.  
  1036. local function Modify(Instance, Values)
  1037. -- Modifies an Instance by using a table.
  1038.  
  1039. assert(type(Values) == "table", "Values is not a table");
  1040.  
  1041. for Index, Value in next, Values do
  1042. if type(Index) == "number" then
  1043. Value.Parent = Instance
  1044. else
  1045. Instance[Index] = Value
  1046. end
  1047. end
  1048. return Instance
  1049. end
  1050.  
  1051. local function Make(ClassType, Properties)
  1052. -- Using a syntax hack to create a nice way to Make new items.
  1053.  
  1054. return Modify(Instance.new(ClassType), Properties)
  1055. end
  1056.  
  1057. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1058. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1059.  
  1060. local function HasWheelJoint(Part)
  1061. for _, SurfaceName in pairs(Surfaces) do
  1062. for _, HingSurfaceName in pairs(HingSurfaces) do
  1063. if Part[SurfaceName].Name == HingSurfaceName then
  1064. return true
  1065. end
  1066. end
  1067. end
  1068.  
  1069. return false
  1070. end
  1071.  
  1072. local function ShouldBreakJoints(Part)
  1073. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1074. -- definitely some edge cases.
  1075.  
  1076. if NEVER_BREAK_JOINTS then
  1077. return false
  1078. end
  1079.  
  1080. if HasWheelJoint(Part) then
  1081. return false
  1082. end
  1083.  
  1084. local Connected = Part:GetConnectedParts()
  1085.  
  1086. if #Connected == 1 then
  1087. return false
  1088. end
  1089.  
  1090. for _, Item in pairs(Connected) do
  1091. if HasWheelJoint(Item) then
  1092. return false
  1093. elseif not Item:IsDescendantOf(script.Parent) then
  1094. return false
  1095. end
  1096. end
  1097.  
  1098. return true
  1099. end
  1100.  
  1101. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  1102. --- Weld's 2 parts together
  1103. -- @param Part0 The first part
  1104. -- @param Part1 The second part (Dependent part most of the time).
  1105. -- @param [JointType] The type of joint. Defaults to weld.
  1106. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  1107. -- @return The weld created.
  1108.  
  1109. JointType = JointType or "Weld"
  1110. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  1111.  
  1112. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  1113. Modify(NewWeld, {
  1114. Name = "qCFrameWeldThingy";
  1115. Part0 = Part0;
  1116. Part1 = Part1;
  1117. C0 = CFrame.new();--Part0.CFrame:inverse();
  1118. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  1119. Parent = Part1;
  1120. })
  1121.  
  1122. if not RelativeValue then
  1123. RelativeValue = Make("CFrameValue", {
  1124. Parent = Part1;
  1125. Name = "qRelativeCFrameWeldValue";
  1126. Archivable = true;
  1127. Value = NewWeld.C1;
  1128. })
  1129. end
  1130.  
  1131. return NewWeld
  1132. end
  1133.  
  1134. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  1135. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  1136. -- @param MainPart The part to weld the model to (can be in the model).
  1137. -- @param [JointType] The type of joint. Defaults to weld.
  1138. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  1139.  
  1140. for _, Part in pairs(Parts) do
  1141. if ShouldBreakJoints(Part) then
  1142. Part:BreakJoints()
  1143. end
  1144. end
  1145.  
  1146. for _, Part in pairs(Parts) do
  1147. if Part ~= MainPart then
  1148. WeldTogether(MainPart, Part, JointType, MainPart)
  1149. end
  1150. end
  1151.  
  1152. if not DoNotUnanchor then
  1153. for _, Part in pairs(Parts) do
  1154. Part.Anchored = false
  1155. end
  1156. MainPart.Anchored = false
  1157. end
  1158. end
  1159.  
  1160. local function PerfectionWeld()
  1161. local Tool = GetNearestParent(script, "Tool")
  1162.  
  1163. local Parts = GetBricks(script.Parent)
  1164. 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]
  1165.  
  1166. if PrimaryPart then
  1167. WeldParts(Parts, PrimaryPart, "Weld", false)
  1168. else
  1169. warn("qWeld - Unable to weld part")
  1170. end
  1171.  
  1172. return Tool
  1173. end
  1174.  
  1175. local Tool = PerfectionWeld()
  1176.  
  1177.  
  1178. if Tool and script.ClassName == "Script" then
  1179. --- Don't bother with local scripts
  1180.  
  1181. script.Parent.AncestryChanged:connect(function()
  1182. PerfectionWeld()
  1183. end)
  1184. end
  1185.  
  1186. -- Created by Quenty (@Quenty, follow me on twitter).
  1187.  
  1188. end))
  1189. Part71.Name = "HitBox"
  1190. Part71.Parent = Tool0
  1191. Part71.Transparency = 1
  1192. Part71.Rotation = Vector3.new(0, 0, -50)
  1193. Part71.CanCollide = false
  1194. Part71.FormFactor = Enum.FormFactor.Custom
  1195. Part71.Size = Vector3.new(2.55149984, 6.80400038, 0.283499986)
  1196. Part71.CFrame = CFrame.new(-18.7105408, 0.498775721, -17.0065994, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1)
  1197. Part71.Position = Vector3.new(-18.7105408, 0.498775721, -17.0065994)
  1198. Part71.Orientation = Vector3.new(0, 0, -50)
  1199. ManualWeld72.Name = "Weld"
  1200. ManualWeld72.Parent = mas
  1201. ManualWeld72.C0 = CFrame.new(0, 0, 0, 0, 0, -1, 1, -5.96046377e-08, 0, -5.96046377e-08, -1, -0)
  1202. ManualWeld72.C1 = CFrame.new(-0.588226318, 0.638020515, -0.0725708008, 0.990511596, 0, -0.137429506, 0, 1, 0, 0.137429506, 0, 0.990511596)
  1203. ManualWeld72.Part0 = nil
  1204. CylinderMesh73.Parent = mas
  1205. CylinderMesh73.Scale = Vector3.new(4, 1.20000005, 4)
  1206. CylinderMesh73.Scale = Vector3.new(4, 1.20000005, 4)
  1207. StringValue74.Name = "Credits To TheDoctorTD"
  1208. StringValue74.Parent = Tool0
  1209. StringValue74.Value = "For the hilt"
  1210. CylinderMesh75.Parent = mas
  1211. CylinderMesh75.Scale = Vector3.new(4, 1.20000005, 4)
  1212. CylinderMesh75.Scale = Vector3.new(4, 1.20000005, 4)
  1213. CylinderMesh76.Parent = mas
  1214. CylinderMesh76.Scale = Vector3.new(4, 1, 4)
  1215. CylinderMesh76.Scale = Vector3.new(4, 1, 4)
  1216. Script77.Parent = Tool0
  1217. table.insert(cors,sandbox(Script77,function()
  1218. while true do
  1219. wait(0.2)
  1220. script.Parent.BladeGlow1.Transparency = 1
  1221. script.Parent.BladeGlow2.Transparency = 1
  1222. script.Parent.BladeGlow3.Transparency = 1
  1223.  
  1224. end
  1225. end))
  1226. BindableEvent78.Name = "MouseDown"
  1227. BindableEvent78.Parent = Tool0
  1228. Part79.Name = "Handle"
  1229. Part79.Parent = Tool0
  1230. Part79.Material = Enum.Material.Metal
  1231. Part79.BrickColor = BrickColor.new("Really blue")
  1232. Part79.Transparency = 1
  1233. Part79.Rotation = Vector3.new(90, -88, 6)
  1234. Part79.Anchored = true
  1235. Part79.CanCollide = false
  1236. Part79.Size = Vector3.new(0.13984479, 2.09378719, 0.149556234)
  1237. Part79.CFrame = CFrame.new(-18.4848976, 1.18167353, -16.7329369, 0.0347090028, -0.00364701357, -0.9993909, -0.993916094, 0.104464389, -0.0349000804, 0.104528017, 0.994522035, 1.02913452e-06)
  1238. Part79.BottomSurface = Enum.SurfaceType.Smooth
  1239. Part79.TopSurface = Enum.SurfaceType.Smooth
  1240. Part79.Color = Color3.new(0, 0, 1)
  1241. Part79.Position = Vector3.new(-18.4848976, 1.18167353, -16.7329369)
  1242. Part79.Orientation = Vector3.new(2, -90, -84)
  1243. Part79.Color = Color3.new(0, 0, 1)
  1244. Sound80.Name = "HitSound"
  1245. Sound80.Parent = Part79
  1246. Sound80.SoundId = "http://www.roblox.com/asset/?id=247718165"
  1247. Sound80.Volume = 1
  1248. Sound81.Name = "LungeSound"
  1249. Sound81.Parent = Part79
  1250. Sound81.Pitch = 0.80000001192093
  1251. Sound81.SoundId = "rbxassetid://935843979"
  1252. Sound81.Volume = 1
  1253. Sound82.Name = "OverheadSound"
  1254. Sound82.Parent = Part79
  1255. Sound82.Pitch = 1.1699999570847
  1256. Sound82.SoundId = "rbxassetid://210946558"
  1257. Sound82.Volume = 3
  1258. Sound83.Name = "SlashSound"
  1259. Sound83.Parent = Part79
  1260. Sound83.SoundId = "rbxassetid://260430015"
  1261. Sound83.Volume = 1
  1262. Sound84.Name = "UnsheathSound"
  1263. Sound84.Parent = Part79
  1264. Sound84.SoundId = "rbxassetid://260411317"
  1265. Sound84.Volume = 3
  1266. Sound85.Name = "deactivate"
  1267. Sound85.Parent = Part79
  1268. Sound85.Pitch = 0.5
  1269. Sound85.SoundId = "rbxassetid://260411317"
  1270. Sound85.Volume = 5
  1271. Sound86.Name = "Fire"
  1272. Sound86.Parent = Part79
  1273. Sound86.Pitch = 2
  1274. Sound86.SoundId = "rbxassetid://366825104"
  1275. Sound86.Volume = 3
  1276. Sound87.Name = "BigSlash"
  1277. Sound87.Parent = Part79
  1278. Sound87.Pitch = 0.69999998807907
  1279. Sound87.SoundId = "rbxassetid://186936370"
  1280. Sound87.Volume = 1
  1281. Sound88.Name = "Blood"
  1282. Sound88.Parent = Part79
  1283. Sound88.Pitch = 0.5
  1284. Sound88.SoundId = "rbxassetid://96667969"
  1285. Sound88.TimePosition = 0.05
  1286. Sound88.Volume = 1
  1287. Sound89.Name = "Hit"
  1288. Sound89.Parent = Part79
  1289. Sound89.Pitch = 0.5
  1290. Sound89.SoundId = "rbxassetid://96667969"
  1291. Sound89.TimePosition = 0.05
  1292. Sound89.Volume = 2
  1293. Sound90.Parent = Part79
  1294. Sound90.SoundId = "rbxasset://sounds/SwordSlash.wav"
  1295. Sound90.Volume = 1
  1296. Folder91.Name = "Storage"
  1297. Folder91.Parent = Part79
  1298. ParticleEmitter92.Name = "Footparticles"
  1299. ParticleEmitter92.Parent = Folder91
  1300. ParticleEmitter92.Transparency = NumberSequence.new(0,0,1)
  1301. ParticleEmitter92.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  1302. ParticleEmitter92.Color = ColorSequence.new(Color3.new(0, 1, 1),Color3.new(0, 1, 1))
  1303. ParticleEmitter92.Enabled = false
  1304. ParticleEmitter92.LightEmission = 1
  1305. ParticleEmitter92.Acceleration = Vector3.new(0, 0.100000001, 0)
  1306. ParticleEmitter92.Lifetime = NumberRange.new(2, 2)
  1307. ParticleEmitter92.Rate = 100
  1308. ParticleEmitter92.Speed = NumberRange.new(3, 3)
  1309. ParticleEmitter92.VelocitySpread = 20
  1310. ParticleEmitter92.Color = ColorSequence.new(Color3.new(0, 1, 1),Color3.new(0, 1, 1))
  1311. Sound93.Name = "SwingSpecial"
  1312. Sound93.Parent = Part79
  1313. Sound93.Pitch = 1.2000000476837
  1314. Sound93.SoundId = "rbxassetid://169310429"
  1315. Sound93.Volume = 1
  1316. Fire94.Parent = Part79
  1317. Fire94.Color = Color3.new(0.92549, 0.545098, 0.27451)
  1318. Fire94.Enabled = false
  1319. Fire94.Color = Color3.new(0.92549, 0.545098, 0.27451)
  1320. SpecialMesh95.Parent = Part79
  1321. SpecialMesh95.MeshId = "rbxassetid://32"
  1322. SpecialMesh95.Scale = Vector3.new(2, 2, 2)
  1323. SpecialMesh95.TextureId = "rbxassetid://845822608"
  1324. SpecialMesh95.VertexColor = Vector3.new(0.649999976, 0, 1)
  1325. SpecialMesh95.MeshType = Enum.MeshType.FileMesh
  1326. SpecialMesh95.Scale = Vector3.new(2, 2, 2)
  1327. Sound96.Name = "Swing"
  1328. Sound96.Parent = Part79
  1329. Sound96.SoundId = "rbxassetid://168615093"
  1330. Sound96.Volume = 1
  1331. Sound97.Name = "PowerUp"
  1332. Sound97.Parent = Part79
  1333. Sound97.SoundId = "rbxassetid://520231478"
  1334. Sound98.Name = "Engine"
  1335. Sound98.Parent = Part79
  1336. Sound98.SoundId = "rbxassetid://143350696"
  1337. Sound98.Looped = true
  1338. Sound99.Name = "Mus"
  1339. Sound99.Parent = Part79
  1340. Sound99.Volume = 0
  1341. Sound99.Looped = true
  1342. Sound100.Name = "Shot"
  1343. Sound100.Parent = Part79
  1344. Sound100.SoundId = "rbxassetid://268931220"
  1345. Sound100.Volume = 4
  1346. Animation101.Name = "SwingAnim2"
  1347. Animation101.Parent = Tool0
  1348. Animation101.AnimationId = "rbxassetid://846744780"
  1349. Script102.Name = "All animations"
  1350. Script102.Parent = Animation101
  1351. table.insert(cors,sandbox(Script102,function()
  1352. while true do
  1353. script.Parent.AnimationId="http://www.roblox.com/Asset?ID=86313418"
  1354. wait(0.001)--Default swing1
  1355. script.Parent.AnimationId="http://www.roblox.com/Asset?ID=86313260"
  1356. wait(0.001)--Default swing2
  1357. end
  1358. end))
  1359. LocalScript103.Name = "Special"
  1360. LocalScript103.Parent = Tool0
  1361. LocalScript103.Disabled = true
  1362. table.insert(cors,sandbox(LocalScript103,function()
  1363. local Tool = script.Parent
  1364. local Staff = Tool.Handle
  1365.  
  1366. local vCharacter
  1367. local myHumanoid
  1368.  
  1369.  
  1370. local animate
  1371.  
  1372. local slamAnim
  1373. local swingAnim2
  1374. function onEquipped(mouse)
  1375. vCharacter = Tool.Parent
  1376. myHumanoid = vCharacter:FindFirstChild("Humanoid")
  1377.  
  1378. if mouse then
  1379. mouse.KeyDown:connect(function(key)
  1380. if key:lower() == "f" and myHumanoid then
  1381. animate = Tool:FindFirstChild("Animate")
  1382. swingAnim2 = myHumanoid:LoadAnimation(Tool.SwingAnim2)
  1383. if swingAnim2 then swingAnim2:Play() end
  1384. Staff.SwingSpecial:Play()
  1385. script.Settings.CoolDown.Value = script.Settings.CoolDown.Value -1
  1386.  
  1387. script.Timer.Disabled = false
  1388. script.Disabled = true
  1389. script.Parent.Handle.SpecialDamage.Disabled = false
  1390.  
  1391.  
  1392.  
  1393. lol = script.Parent.Parent.Torso
  1394. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 200 -- Foward Dash
  1395. wait(0.1)
  1396. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 180 -- Foward Dash
  1397. wait(0.1)
  1398. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 300 -- Foward Dash
  1399. wait(0.1)
  1400. script.Parent.Handle.SpecialDamage.Disabled = true
  1401. wait(15)
  1402. wait(12)
  1403.  
  1404. end
  1405. end)
  1406. end
  1407. end
  1408.  
  1409. function onUnequipped()
  1410. if slamAnim then slamAnim:Stop() end
  1411. if swingAnim2 then swingAnim2:Stop() end
  1412. end
  1413.  
  1414. Tool.Equipped:connect(onEquipped)
  1415. Tool.Unequipped:connect(onUnequipped)
  1416.  
  1417. animate = Tool:FindFirstChild("Animate")
  1418. while animate == nil do
  1419. animate = Tool:FindFirstChild("Animate")
  1420. wait()
  1421. end
  1422.  
  1423. animate.Changed:connect(function()
  1424. animate = Tool:FindFirstChild("Animate")
  1425. if animate and animate.Value == 1 and myHumanoid then
  1426. slamAnim = myHumanoid:LoadAnimation(Tool.SlamAnim)
  1427. if slamAnim then slamAnim:Play() end
  1428. myHumanoid.Jump = true
  1429. wait(2.2)
  1430. animate.Value = 0
  1431. end
  1432. end)
  1433.  
  1434. --Tool.GripUp = Vector3.new(0, 0.2, -0.8)
  1435. --wait(0.0001)
  1436. --Tool.GripUp = Vector3.new(0, 0.4, -0.6)
  1437. --wait(0.0001)
  1438. --Tool.GripUp = Vector3.new(0, 0.6, -0.4)
  1439. --wait(0.0001)
  1440. --Tool.GripUp = Vector3.new(0, 0.8, -0.2)
  1441. --wait(0.0001)
  1442. --Tool.GripUp = Vector3.new(0, 1, -0.0)
  1443. --wait(0.0001)
  1444. --Tool.GripUp = Vector3.new(0, 0.8, 0.2)
  1445. --wait(0.0001)
  1446. --Tool.GripUp = Vector3.new(0, 0.6, 0.4)
  1447. --wait(0.0001)
  1448. --Tool.GripUp = Vector3.new(0, 0.4, 0.6)
  1449. -- wait(0.0001)
  1450. -- Tool.GripUp = Vector3.new(0, 0.2, 0.8)
  1451. -- wait(0.0001)
  1452. -- Tool.GripUp = Vector3.new(0, 0.0, 1)
  1453. -- wait(0.0001)
  1454. -- Tool.GripUp = Vector3.new(0.0, -0.2, 0.8)
  1455. -- wait(0.0001)
  1456. -- Tool.GripUp = Vector3.new(0, -0.4, 0.6)
  1457. -- wait(0.0001)
  1458. -- Tool.GripUp = Vector3.new(0.0, -0.6, 0.4)
  1459. -- wait(0.0001)
  1460. -- Tool.GripUp = Vector3.new(0, -0.8, 0.2)
  1461. -- wait(0.0001)
  1462. -- Tool.GripUp = Vector3.new(0.0, -1, 0.0)
  1463. -- wait(0.0001)
  1464. -- Tool.GripUp = Vector3.new(0, -0.8, -0.2)
  1465. -- wait(0.0001)
  1466. -- Tool.GripUp = Vector3.new(0, -0.6, -0.4)
  1467. -- wait(0.0001)
  1468. -- Tool.GripUp = Vector3.new(0, -0.4, -0.6)
  1469. -- wait(0.0001)
  1470. -- Tool.GripUp = Vector3.new(0, -0.2, -0.8)
  1471. -- wait(0.0001)
  1472. -- Tool.GripUp = Vector3.new(0, 0, -1)
  1473. -- wait(0.0001)
  1474.  
  1475. --Full loop around
  1476.  
  1477. end))
  1478. Folder104.Name = "Settings"
  1479. Folder104.Parent = LocalScript103
  1480. NumberValue105.Name = "CoolDown"
  1481. NumberValue105.Parent = Folder104
  1482. Script106.Name = "Timer"
  1483. Script106.Parent = LocalScript103
  1484. table.insert(cors,sandbox(Script106,function()
  1485. while true do
  1486. wait(1)
  1487. script.Parent.Parent.Special.Disabled = false
  1488. script.Parent.Settings.CoolDown.Value = script.Parent.Settings.CoolDown.Value +1
  1489.  
  1490. wait(6)
  1491. end
  1492.  
  1493.  
  1494. end))
  1495. Model107.Parent = Tool0
  1496. Part108.Name = "Handle"
  1497. Part108.Parent = Model107
  1498. Part108.BrickColor = BrickColor.new("New Yeller")
  1499. Part108.Reflectance = 0.40000000596046
  1500. Part108.Rotation = Vector3.new(-56.2799988, 1.40999997, -82.5199966)
  1501. Part108.CanCollide = false
  1502. Part108.FormFactor = Enum.FormFactor.Plate
  1503. Part108.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1504. Part108.CFrame = CFrame.new(-18.5912266, 1.65180254, -10.1998758, 0.13016203, 0.991185844, 0.024667399, -0.553137124, 0.0519451238, 0.831469178, 0.822859168, -0.121870175, 0.555022955)
  1505. Part108.BottomSurface = Enum.SurfaceType.Smooth
  1506. Part108.TopSurface = Enum.SurfaceType.Smooth
  1507. Part108.Color = Color3.new(1, 1, 0)
  1508. Part108.Position = Vector3.new(-18.5912266, 1.65180254, -10.1998758)
  1509. Part108.Orientation = Vector3.new(-56.25, 2.53999996, -84.6399994)
  1510. Part108.Color = Color3.new(1, 1, 0)
  1511. SpecialMesh109.Parent = Part108
  1512. SpecialMesh109.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1513. SpecialMesh109.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1514. SpecialMesh109.MeshType = Enum.MeshType.FileMesh
  1515. SpecialMesh109.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1516. Sound110.Parent = Part108
  1517. Sound110.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1518. Sound110.Volume = 0.69999998807907
  1519. Part111.Name = "Handle"
  1520. Part111.Parent = Model107
  1521. Part111.BrickColor = BrickColor.new("New Yeller")
  1522. Part111.Reflectance = 0.40000000596046
  1523. Part111.Rotation = Vector3.new(-84.0400009, -2.25, -82.7299957)
  1524. Part111.CanCollide = false
  1525. Part111.FormFactor = Enum.FormFactor.Plate
  1526. Part111.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1527. Part111.CFrame = CFrame.new(-18.6008415, 3.86899567, -9.33297443, 0.126504987, 0.991185963, -0.0393308848, -0.0980439857, 0.0519489609, 0.993825316, 0.987108886, -0.121867701, 0.103751622)
  1528. Part111.BottomSurface = Enum.SurfaceType.Smooth
  1529. Part111.TopSurface = Enum.SurfaceType.Smooth
  1530. Part111.Color = Color3.new(1, 1, 0)
  1531. Part111.Position = Vector3.new(-18.6008415, 3.86899567, -9.33297443)
  1532. Part111.Orientation = Vector3.new(-83.6299973, -20.7600002, -62.079998)
  1533. Part111.Color = Color3.new(1, 1, 0)
  1534. SpecialMesh112.Parent = Part111
  1535. SpecialMesh112.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1536. SpecialMesh112.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1537. SpecialMesh112.MeshType = Enum.MeshType.FileMesh
  1538. SpecialMesh112.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1539. Sound113.Parent = Part111
  1540. Sound113.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1541. Sound113.Volume = 0.69999998807907
  1542. Part114.Name = "Handle"
  1543. Part114.Parent = Model107
  1544. Part114.BrickColor = BrickColor.new("New Yeller")
  1545. Part114.Reflectance = 0.40000000596046
  1546. Part114.Rotation = Vector3.new(0.75, -13.9799995, -86.909996)
  1547. Part114.CanCollide = false
  1548. Part114.FormFactor = Enum.FormFactor.Plate
  1549. Part114.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1550. Part114.CFrame = CFrame.new(-18.4432125, 1.30007052, -14.7416515, 0.0523380265, 0.968965828, -0.24159041, -0.998629451, 0.0507833622, -0.0126617188, 0, 0.241921946, 0.970295787)
  1551. Part114.BottomSurface = Enum.SurfaceType.Smooth
  1552. Part114.TopSurface = Enum.SurfaceType.Smooth
  1553. Part114.Color = Color3.new(1, 1, 0)
  1554. Part114.Position = Vector3.new(-18.4432125, 1.30007052, -14.7416515)
  1555. Part114.Orientation = Vector3.new(0.729999959, -13.9799995, -87.0899963)
  1556. Part114.Color = Color3.new(1, 1, 0)
  1557. SpecialMesh115.Parent = Part114
  1558. SpecialMesh115.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1559. SpecialMesh115.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1560. SpecialMesh115.MeshType = Enum.MeshType.FileMesh
  1561. SpecialMesh115.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1562. Sound116.Parent = Part114
  1563. Sound116.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1564. Sound116.Volume = 0.69999998807907
  1565. Part117.Name = "Handle"
  1566. Part117.Parent = Model107
  1567. Part117.BrickColor = BrickColor.new("New Yeller")
  1568. Part117.Reflectance = 0.40000000596046
  1569. Part117.Rotation = Vector3.new(-0.370000005, 6.98999977, -86.9799957)
  1570. Part117.CanCollide = false
  1571. Part117.FormFactor = Enum.FormFactor.Plate
  1572. Part117.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1573. Part117.CFrame = CFrame.new(-18.6890755, 1.28717947, -13.7541761, 0.0523380265, 0.991185904, 0.121701941, -0.998629451, 0.0519479103, 0.00637838105, 0, -0.121868983, 0.99254626)
  1574. Part117.BottomSurface = Enum.SurfaceType.Smooth
  1575. Part117.TopSurface = Enum.SurfaceType.Smooth
  1576. Part117.Color = Color3.new(1, 1, 0)
  1577. Part117.Position = Vector3.new(-18.6890755, 1.28717947, -13.7541761)
  1578. Part117.Orientation = Vector3.new(-0.370000005, 6.98999977, -87.0199966)
  1579. Part117.Color = Color3.new(1, 1, 0)
  1580. SpecialMesh118.Parent = Part117
  1581. SpecialMesh118.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1582. SpecialMesh118.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1583. SpecialMesh118.MeshType = Enum.MeshType.FileMesh
  1584. SpecialMesh118.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1585. Sound119.Parent = Part117
  1586. Sound119.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1587. Sound119.Volume = 0.69999998807907
  1588. Part120.Name = "Handle"
  1589. Part120.Parent = Model107
  1590. Part120.BrickColor = BrickColor.new("New Yeller")
  1591. Part120.Reflectance = 0.40000000596046
  1592. Part120.Rotation = Vector3.new(-1.14999998, 20.9699993, -86.7900009)
  1593. Part120.CanCollide = false
  1594. Part120.FormFactor = Enum.FormFactor.Plate
  1595. Part120.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1596. Part120.CFrame = CFrame.new(-18.5545349, 1.29423642, -15.7388296, 0.0523380265, 0.932300866, 0.357876807, -0.998629451, 0.0488617569, 0.0187562741, 0, -0.35836798, 0.933580458)
  1597. Part120.BottomSurface = Enum.SurfaceType.Smooth
  1598. Part120.TopSurface = Enum.SurfaceType.Smooth
  1599. Part120.Color = Color3.new(1, 1, 0)
  1600. Part120.Position = Vector3.new(-18.5545349, 1.29423642, -15.7388296)
  1601. Part120.Orientation = Vector3.new(-1.06999993, 20.9699993, -87.1999969)
  1602. Part120.Color = Color3.new(1, 1, 0)
  1603. SpecialMesh121.Parent = Part120
  1604. SpecialMesh121.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1605. SpecialMesh121.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1606. SpecialMesh121.MeshType = Enum.MeshType.FileMesh
  1607. SpecialMesh121.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1608. Sound122.Parent = Part120
  1609. Sound122.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1610. Sound122.Volume = 0.69999998807907
  1611. Part123.Name = "Handle"
  1612. Part123.Parent = Model107
  1613. Part123.BrickColor = BrickColor.new("New Yeller")
  1614. Part123.Reflectance = 0.40000000596046
  1615. Part123.Rotation = Vector3.new(0, 0, -87)
  1616. Part123.CanCollide = false
  1617. Part123.FormFactor = Enum.FormFactor.Plate
  1618. Part123.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1619. Part123.CFrame = CFrame.new(-18.5545349, 1.29423642, -16.7565365, 0.0523380265, 0.998629451, 0, -0.998629451, 0.0523380265, 0, 0, 0, 1)
  1620. Part123.BottomSurface = Enum.SurfaceType.Smooth
  1621. Part123.TopSurface = Enum.SurfaceType.Smooth
  1622. Part123.Color = Color3.new(1, 1, 0)
  1623. Part123.Position = Vector3.new(-18.5545349, 1.29423642, -16.7565365)
  1624. Part123.Orientation = Vector3.new(0, 0, -87)
  1625. Part123.Color = Color3.new(1, 1, 0)
  1626. SpecialMesh124.Parent = Part123
  1627. SpecialMesh124.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1628. SpecialMesh124.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1629. SpecialMesh124.MeshType = Enum.MeshType.FileMesh
  1630. SpecialMesh124.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1631. Sound125.Parent = Part123
  1632. Sound125.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1633. Sound125.Volume = 0.69999998807907
  1634. Part126.Name = "Handle"
  1635. Part126.Parent = Model107
  1636. Part126.BrickColor = BrickColor.new("New Yeller")
  1637. Part126.Reflectance = 0.40000000596046
  1638. Part126.Rotation = Vector3.new(0.75, -13.9799995, -86.909996)
  1639. Part126.CanCollide = false
  1640. Part126.FormFactor = Enum.FormFactor.Plate
  1641. Part126.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1642. Part126.CFrame = CFrame.new(-18.4432125, 1.30007052, -12.1385517, 0.0523380265, 0.968965828, -0.24159041, -0.998629451, 0.0507833622, -0.0126617188, 0, 0.241921946, 0.970295787)
  1643. Part126.BottomSurface = Enum.SurfaceType.Smooth
  1644. Part126.TopSurface = Enum.SurfaceType.Smooth
  1645. Part126.Color = Color3.new(1, 1, 0)
  1646. Part126.Position = Vector3.new(-18.4432125, 1.30007052, -12.1385517)
  1647. Part126.Orientation = Vector3.new(0.729999959, -13.9799995, -87.0899963)
  1648. Part126.Color = Color3.new(1, 1, 0)
  1649. SpecialMesh127.Parent = Part126
  1650. SpecialMesh127.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1651. SpecialMesh127.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1652. SpecialMesh127.MeshType = Enum.MeshType.FileMesh
  1653. SpecialMesh127.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1654. Sound128.Parent = Part126
  1655. Sound128.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1656. Sound128.Volume = 0.69999998807907
  1657. Part129.Name = "Handle"
  1658. Part129.Parent = Model107
  1659. Part129.BrickColor = BrickColor.new("New Yeller")
  1660. Part129.Reflectance = 0.40000000596046
  1661. Part129.Rotation = Vector3.new(-0.370000005, 6.98999977, -86.9799957)
  1662. Part129.CanCollide = false
  1663. Part129.FormFactor = Enum.FormFactor.Plate
  1664. Part129.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1665. Part129.CFrame = CFrame.new(-18.6890755, 1.28717947, -11.1510763, 0.0523380265, 0.991185904, 0.121701941, -0.998629451, 0.0519479103, 0.00637838105, 0, -0.121868983, 0.99254626)
  1666. Part129.BottomSurface = Enum.SurfaceType.Smooth
  1667. Part129.TopSurface = Enum.SurfaceType.Smooth
  1668. Part129.Color = Color3.new(1, 1, 0)
  1669. Part129.Position = Vector3.new(-18.6890755, 1.28717947, -11.1510763)
  1670. Part129.Orientation = Vector3.new(-0.370000005, 6.98999977, -87.0199966)
  1671. Part129.Color = Color3.new(1, 1, 0)
  1672. SpecialMesh130.Parent = Part129
  1673. SpecialMesh130.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1674. SpecialMesh130.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1675. SpecialMesh130.MeshType = Enum.MeshType.FileMesh
  1676. SpecialMesh130.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1677. Sound131.Parent = Part129
  1678. Sound131.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1679. Sound131.Volume = 0.69999998807907
  1680. Part132.Name = "Handle"
  1681. Part132.Parent = Model107
  1682. Part132.BrickColor = BrickColor.new("New Yeller")
  1683. Part132.Reflectance = 0.40000000596046
  1684. Part132.Rotation = Vector3.new(-1.14999998, 20.9699993, -86.7900009)
  1685. Part132.CanCollide = false
  1686. Part132.FormFactor = Enum.FormFactor.Plate
  1687. Part132.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1688. Part132.CFrame = CFrame.new(-18.5545349, 1.29423642, -13.1357298, 0.0523380265, 0.932300866, 0.357876807, -0.998629451, 0.0488617569, 0.0187562741, 0, -0.35836798, 0.933580458)
  1689. Part132.BottomSurface = Enum.SurfaceType.Smooth
  1690. Part132.TopSurface = Enum.SurfaceType.Smooth
  1691. Part132.Color = Color3.new(1, 1, 0)
  1692. Part132.Position = Vector3.new(-18.5545349, 1.29423642, -13.1357298)
  1693. Part132.Orientation = Vector3.new(-1.06999993, 20.9699993, -87.1999969)
  1694. Part132.Color = Color3.new(1, 1, 0)
  1695. SpecialMesh133.Parent = Part132
  1696. SpecialMesh133.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1697. SpecialMesh133.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1698. SpecialMesh133.MeshType = Enum.MeshType.FileMesh
  1699. SpecialMesh133.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1700. Sound134.Parent = Part132
  1701. Sound134.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1702. Sound134.Volume = 0.69999998807907
  1703. Part135.Name = "Handle"
  1704. Part135.Parent = Model107
  1705. Part135.BrickColor = BrickColor.new("New Yeller")
  1706. Part135.Reflectance = 0.40000000596046
  1707. Part135.Rotation = Vector3.new(-70.1500015, -0.429999977, -82.4000015)
  1708. Part135.CanCollide = false
  1709. Part135.FormFactor = Enum.FormFactor.Plate
  1710. Part135.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1711. Part135.CFrame = CFrame.new(-18.5763283, 2.6864624, -9.63768768, 0.132262021, 0.991186023, -0.00755779631, -0.33555603, 0.0519479513, 0.940586865, 0.93268913, -0.121867858, 0.339469165)
  1712. Part135.BottomSurface = Enum.SurfaceType.Smooth
  1713. Part135.TopSurface = Enum.SurfaceType.Smooth
  1714. Part135.Color = Color3.new(1, 1, 0)
  1715. Part135.Position = Vector3.new(-18.5763283, 2.6864624, -9.63768768)
  1716. Part135.Orientation = Vector3.new(-70.1500015, -1.27999997, -81.1999969)
  1717. Part135.Color = Color3.new(1, 1, 0)
  1718. SpecialMesh136.Parent = Part135
  1719. SpecialMesh136.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1720. SpecialMesh136.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1721. SpecialMesh136.MeshType = Enum.MeshType.FileMesh
  1722. SpecialMesh136.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1723. Sound137.Parent = Part135
  1724. Sound137.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1725. Sound137.Volume = 0.69999998807907
  1726. Part138.Name = "Handle"
  1727. Part138.Parent = Model107
  1728. Part138.BrickColor = BrickColor.new("New Yeller")
  1729. Part138.Reflectance = 0.40000000596046
  1730. Part138.Rotation = Vector3.new(-105.049995, -2.16999984, -83.8199997)
  1731. Part138.CanCollide = false
  1732. Part138.FormFactor = Enum.FormFactor.Plate
  1733. Part138.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1734. Part138.CFrame = CFrame.new(-18.7206936, 6.15583944, -9.33232594, 0.107626013, 0.993471861, -0.0378205441, 0.262156039, 0.0083360346, 0.964989543, 0.959005117, -0.113772862, -0.259547472)
  1735. Part138.BottomSurface = Enum.SurfaceType.Smooth
  1736. Part138.TopSurface = Enum.SurfaceType.Smooth
  1737. Part138.Color = Color3.new(1, 1, 0)
  1738. Part138.Position = Vector3.new(-18.7206936, 6.15583944, -9.33232594)
  1739. Part138.Orientation = Vector3.new(-74.7900009, -171.709991, 88.1800003)
  1740. Part138.Color = Color3.new(1, 1, 0)
  1741. SpecialMesh139.Parent = Part138
  1742. SpecialMesh139.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1743. SpecialMesh139.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1744. SpecialMesh139.MeshType = Enum.MeshType.FileMesh
  1745. SpecialMesh139.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1746. Sound140.Parent = Part138
  1747. Sound140.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1748. Sound140.Volume = 0.69999998807907
  1749. Part141.Name = "Handle"
  1750. Part141.Parent = Model107
  1751. Part141.BrickColor = BrickColor.new("New Yeller")
  1752. Part141.Reflectance = 0.40000000596046
  1753. Part141.Rotation = Vector3.new(-91.1399994, -0.610000014, -83.4799957)
  1754. Part141.CanCollide = false
  1755. Part141.FormFactor = Enum.FormFactor.Plate
  1756. Part141.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1757. Part141.CFrame = CFrame.new(-18.6945724, 4.94266462, -9.19313622, 0.113576002, 0.993472219, -0.0106554423, 0.0209209993, 0.00833099987, 0.999746501, 0.993309021, -0.113770127, -0.0198382288)
  1758. Part141.BottomSurface = Enum.SurfaceType.Smooth
  1759. Part141.TopSurface = Enum.SurfaceType.Smooth
  1760. Part141.Color = Color3.new(1, 1, 0)
  1761. Part141.Position = Vector3.new(-18.6945724, 4.94266462, -9.19313622)
  1762. Part141.Orientation = Vector3.new(-88.7099991, -151.759995, 68.2900009)
  1763. Part141.Color = Color3.new(1, 1, 0)
  1764. SpecialMesh142.Parent = Part141
  1765. SpecialMesh142.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1766. SpecialMesh142.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1767. SpecialMesh142.MeshType = Enum.MeshType.FileMesh
  1768. SpecialMesh142.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1769. Sound143.Parent = Part141
  1770. Sound143.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1771. Sound143.Volume = 0.69999998807907
  1772. Part144.Name = "Handle"
  1773. Part144.Parent = Model107
  1774. Part144.BrickColor = BrickColor.new("New Yeller")
  1775. Part144.Reflectance = 0.40000000596046
  1776. Part144.Rotation = Vector3.new(0, 0, -87)
  1777. Part144.CanCollide = false
  1778. Part144.FormFactor = Enum.FormFactor.Plate
  1779. Part144.Size = Vector3.new(0.574370921, 0.459496737, 1.72311282)
  1780. Part144.CFrame = CFrame.new(-18.5545349, 1.29423642, -14.1534357, 0.0523380265, 0.998629451, 0, -0.998629451, 0.0523380265, 0, 0, 0, 1)
  1781. Part144.BottomSurface = Enum.SurfaceType.Smooth
  1782. Part144.TopSurface = Enum.SurfaceType.Smooth
  1783. Part144.Color = Color3.new(1, 1, 0)
  1784. Part144.Position = Vector3.new(-18.5545349, 1.29423642, -14.1534357)
  1785. Part144.Orientation = Vector3.new(0, 0, -87)
  1786. Part144.Color = Color3.new(1, 1, 0)
  1787. SpecialMesh145.Parent = Part144
  1788. SpecialMesh145.MeshId = "http://www.roblox.com/asset/?id=16198309"
  1789. SpecialMesh145.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1790. SpecialMesh145.MeshType = Enum.MeshType.FileMesh
  1791. SpecialMesh145.Scale = Vector3.new(0.689245105, 0.689245105, 0.689245105)
  1792. Sound146.Parent = Part144
  1793. Sound146.SoundId = "http://www.roblox.com/Asset/?ID=12135982"
  1794. Sound146.Volume = 0.69999998807907
  1795. BoolValue147.Name = "Equip"
  1796. BoolValue147.Parent = Tool0
  1797. LocalScript148.Name = "BindKeys"
  1798. LocalScript148.Parent = Tool0
  1799. LocalScript148.Disabled = true
  1800. table.insert(cors,sandbox(LocalScript148,function()
  1801. local plr = game.Players.LocalPlayer
  1802. local chr = plr.Character
  1803. local event = script.Parent.KeyPressed
  1804. local event2 = script.Parent.MiscFuncs
  1805. local equip = script.Parent.Equip
  1806. local m = plr:GetMouse()
  1807. local mus = script.Parent.Handle.Mus
  1808. m.KeyDown:connect(function(k)
  1809. if equip.Value then
  1810. if k == 'e' then
  1811. event:FireServer(k,2)
  1812. elseif k == 'q' then
  1813. event:FireServer(k,10)
  1814. elseif k == 'tr' then
  1815. event:FireServer(k,5)
  1816. end
  1817. end
  1818. end)
  1819.  
  1820. plr.Chatted:connect(function(msg)
  1821. if equip.Value then
  1822. local mes = string.lower(msg)
  1823. if string.sub(mes,1,2) == 'm;' then
  1824. local input = string.sub(mes,3)
  1825. if input ~= "" then
  1826. event2:FireServer('musid',tonumber(input))
  1827. event2:FireServer('box','Now playing ' .. tostring(game:GetService('MarketplaceService'):GetProductInfo(input).Name))
  1828. else
  1829. event2:FireServer('togglemus')
  1830. end
  1831. elseif string.sub(mes,1,2) == 'v;' then
  1832. local input = string.sub(mes,3)
  1833. if input ~= "" then
  1834. event2:FireServer('vol',tonumber(input))
  1835. else
  1836. event2:FireServer('resetvol')
  1837. end
  1838. elseif string.sub(mes,1,3) == 'pi;' then
  1839. local input = string.sub(mes,4)
  1840. if input ~= "" then
  1841. event2:FireServer('pit',tonumber(input))
  1842. else
  1843. event2:FireServer('resetpit')
  1844. end
  1845. elseif string.sub(mes,1,3) == 'ps;' then
  1846. local input = string.sub(mes,4)
  1847. if input ~= "" then
  1848. event2:FireServer('psh',tonumber(input))
  1849. else
  1850. event2:FireServer('togglepsh')
  1851. end
  1852. elseif string.sub(mes,1,2) == 'd;' then
  1853. local input = string.sub(mes,3)
  1854. if input ~= "" then
  1855. event2:FireServer('dis',tonumber(input))
  1856. else
  1857. event2:FireServer('toggledis')
  1858. end
  1859. end
  1860. end
  1861. end)
  1862.  
  1863. end))
  1864. Script149.Name = "qPerfectionWeld"
  1865. Script149.Parent = Tool0
  1866. table.insert(cors,sandbox(Script149,function()
  1867. -- Created by Quenty (@Quenty, follow me on twitter).
  1868. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  1869. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  1870.  
  1871. --[[ INSTRUCTIONS
  1872. - Place in the model
  1873. - Make sure model is anchored
  1874. - That's it. It will weld the model and all children.
  1875.  
  1876. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1877. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1878. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1879. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1880. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1881. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1882. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1883. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1884.  
  1885. 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.
  1886. ]]
  1887.  
  1888. --[[ DOCUMENTATION
  1889. - 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.
  1890. - Will work in PBS servers
  1891. - Will work as long as it starts out with the part anchored
  1892. - Stores the relative CFrame as a CFrame value
  1893. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  1894. - Utilizes a recursive algorith to find all parts in the model
  1895. - Will reweld on script reparent if the script is initially parented to a tool.
  1896. - Welds as fast as possible
  1897. ]]
  1898.  
  1899. -- qPerfectionWeld.lua
  1900. -- Created 10/6/2014
  1901. -- Author: Quenty
  1902. -- Version 1.0.3
  1903.  
  1904. -- Updated 10/14/2014 - Updated to 1.0.1
  1905. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  1906.  
  1907. -- Updated 10/14/2014 - Updated to 1.0.2
  1908. --- Fixed bug fix.
  1909.  
  1910. -- Updated 10/14/2014 - Updated to 1.0.3
  1911. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  1912.  
  1913. 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).
  1914.  
  1915.  
  1916. local function CallOnChildren(Instance, FunctionToCall)
  1917. -- Calls a function on each of the children of a certain object, using recursion.
  1918.  
  1919. FunctionToCall(Instance)
  1920.  
  1921. for _, Child in next, Instance:GetChildren() do
  1922. CallOnChildren(Child, FunctionToCall)
  1923. end
  1924. end
  1925.  
  1926. local function GetNearestParent(Instance, ClassName)
  1927. -- Returns the nearest parent of a certain class, or returns nil
  1928.  
  1929. local Ancestor = Instance
  1930. repeat
  1931. Ancestor = Ancestor.Parent
  1932. if Ancestor == nil then
  1933. return nil
  1934. end
  1935. until Ancestor:IsA(ClassName)
  1936.  
  1937. return Ancestor
  1938. end
  1939.  
  1940. local function GetBricks(StartInstance)
  1941. local List = {}
  1942.  
  1943. -- if StartInstance:IsA("BasePart") then
  1944. -- List[#List+1] = StartInstance
  1945. -- end
  1946.  
  1947. CallOnChildren(StartInstance, function(Item)
  1948. if Item:IsA("BasePart") then
  1949. List[#List+1] = Item;
  1950. end
  1951. end)
  1952.  
  1953. return List
  1954. end
  1955.  
  1956. local function Modify(Instance, Values)
  1957. -- Modifies an Instance by using a table.
  1958.  
  1959. assert(type(Values) == "table", "Values is not a table");
  1960.  
  1961. for Index, Value in next, Values do
  1962. if type(Index) == "number" then
  1963. Value.Parent = Instance
  1964. else
  1965. Instance[Index] = Value
  1966. end
  1967. end
  1968. return Instance
  1969. end
  1970.  
  1971. local function Make(ClassType, Properties)
  1972. -- Using a syntax hack to create a nice way to Make new items.
  1973.  
  1974. return Modify(Instance.new(ClassType), Properties)
  1975. end
  1976.  
  1977. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1978. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1979.  
  1980. local function HasWheelJoint(Part)
  1981. for _, SurfaceName in pairs(Surfaces) do
  1982. for _, HingSurfaceName in pairs(HingSurfaces) do
  1983. if Part[SurfaceName].Name == HingSurfaceName then
  1984. return true
  1985. end
  1986. end
  1987. end
  1988.  
  1989. return false
  1990. end
  1991.  
  1992. local function ShouldBreakJoints(Part)
  1993. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1994. -- definitely some edge cases.
  1995.  
  1996. if NEVER_BREAK_JOINTS then
  1997. return false
  1998. end
  1999.  
  2000. if HasWheelJoint(Part) then
  2001. return false
  2002. end
  2003.  
  2004. local Connected = Part:GetConnectedParts()
  2005.  
  2006. if #Connected == 1 then
  2007. return false
  2008. end
  2009.  
  2010. for _, Item in pairs(Connected) do
  2011. if HasWheelJoint(Item) then
  2012. return false
  2013. elseif not Item:IsDescendantOf(script.Parent) then
  2014. return false
  2015. end
  2016. end
  2017.  
  2018. return true
  2019. end
  2020.  
  2021. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2022. --- Weld's 2 parts together
  2023. -- @param Part0 The first part
  2024. -- @param Part1 The second part (Dependent part most of the time).
  2025. -- @param [JointType] The type of joint. Defaults to weld.
  2026. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2027. -- @return The weld created.
  2028.  
  2029. JointType = JointType or "Weld"
  2030. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2031.  
  2032. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2033. Modify(NewWeld, {
  2034. Name = "qCFrameWeldThingy";
  2035. Part0 = Part0;
  2036. Part1 = Part1;
  2037. C0 = CFrame.new();--Part0.CFrame:inverse();
  2038. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2039. Parent = Part1;
  2040. })
  2041.  
  2042. if not RelativeValue then
  2043. RelativeValue = Make("CFrameValue", {
  2044. Parent = Part1;
  2045. Name = "qRelativeCFrameWeldValue";
  2046. Archivable = true;
  2047. Value = NewWeld.C1;
  2048. })
  2049. end
  2050.  
  2051. return NewWeld
  2052. end
  2053.  
  2054. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2055. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2056. -- @param MainPart The part to weld the model to (can be in the model).
  2057. -- @param [JointType] The type of joint. Defaults to weld.
  2058. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2059.  
  2060. for _, Part in pairs(Parts) do
  2061. if ShouldBreakJoints(Part) then
  2062. Part:BreakJoints()
  2063. end
  2064. end
  2065.  
  2066. for _, Part in pairs(Parts) do
  2067. if Part ~= MainPart then
  2068. WeldTogether(MainPart, Part, JointType, MainPart)
  2069. end
  2070. end
  2071.  
  2072. if not DoNotUnanchor then
  2073. for _, Part in pairs(Parts) do
  2074. Part.Anchored = false
  2075. end
  2076. MainPart.Anchored = false
  2077. end
  2078. end
  2079.  
  2080. local function PerfectionWeld()
  2081. local Tool = GetNearestParent(script, "Tool")
  2082.  
  2083. local Parts = GetBricks(script.Parent)
  2084. 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]
  2085.  
  2086. if PrimaryPart then
  2087. WeldParts(Parts, PrimaryPart, "Weld", false)
  2088. else
  2089. warn("qWeld - Unable to weld part")
  2090. end
  2091.  
  2092. return Tool
  2093. end
  2094.  
  2095. local Tool = PerfectionWeld()
  2096.  
  2097.  
  2098. if Tool and script.ClassName == "Script" then
  2099. --- Don't bother with local scripts
  2100.  
  2101. script.Parent.AncestryChanged:connect(function()
  2102. PerfectionWeld()
  2103. end)
  2104. end
  2105.  
  2106. -- Created by Quenty (@Quenty, follow me on twitter).
  2107.  
  2108. end))
  2109. Animation150.Name = "Swing2"
  2110. Animation150.Parent = Tool0
  2111. Animation150.AnimationId = "rbxassetid://218508052"
  2112. LocalScript151.Name = "Client"
  2113. LocalScript151.Parent = Tool0
  2114. table.insert(cors,sandbox(LocalScript151,function()
  2115. local Player = game:GetService("Players").LocalPlayer
  2116. local UIS = game:GetService("UserInputService")
  2117. local Mouse = Player:GetMouse()
  2118. local Tool = script.Parent
  2119. local Remote = Tool:WaitForChild("Remote")
  2120. local Tracks = {}
  2121. local InputType = Enum.UserInputType
  2122.  
  2123. local BeganConnection, EndedConnection
  2124.  
  2125. function playAnimation(animName, ...)
  2126. if Tracks[animName] then
  2127. Tracks[animName]:Play()
  2128. else
  2129. local anim = Tool:FindFirstChild(animName)
  2130. if anim and Tool.Parent and Tool.Parent:FindFirstChild("Humanoid") then
  2131. Tracks[animName] = Tool.Parent.Humanoid:LoadAnimation(anim)
  2132. playAnimation(animName, ...)
  2133. end
  2134. end
  2135. end
  2136.  
  2137. function stopAnimation(animName)
  2138. if Tracks[animName] then
  2139. Tracks[animName]:Stop()
  2140. end
  2141. end
  2142.  
  2143. function inputBegan(input)
  2144. if input.UserInputType == InputType.MouseButton1 then
  2145. Remote:FireServer("LeftDown")
  2146. end
  2147. end
  2148.  
  2149. function inputEnded(input)
  2150. if input.UserInputType == InputType.MouseButton1 then
  2151. Remote:FireServer("LeftUp")
  2152. end
  2153. end
  2154.  
  2155. function onRemote(func, ...)
  2156. if func == "PlayAnimation" then
  2157. playAnimation(...)
  2158. elseif func == "StopAnimation" then
  2159. stopAnimation(...)
  2160. end
  2161. end
  2162.  
  2163. function onEquip()
  2164. BeganConnection = UIS.InputBegan:connect(inputBegan)
  2165. EndedConnection = UIS.InputEnded:connect(inputEnded)
  2166. end
  2167.  
  2168. function onUnequip()
  2169. if BeganConnection then
  2170. BeganConnection:disconnect()
  2171. BeganConnection = nil
  2172. end
  2173.  
  2174. if EndedConnection then
  2175. EndedConnection:disconnect()
  2176. EndedConnection = nil
  2177. end
  2178. end
  2179.  
  2180. Tool.Equipped:connect(onEquip)
  2181. Tool.Unequipped:connect(onUnequip)
  2182. Remote.OnClientEvent:connect(onRemote)
  2183. end))
  2184. RemoteEvent152.Name = "KeyPressed"
  2185. RemoteEvent152.Parent = Tool0
  2186. RemoteEvent153.Name = "MiscFuncs"
  2187. RemoteEvent153.Parent = Tool0
  2188. RemoteEvent154.Name = "Remote"
  2189. RemoteEvent154.Parent = Tool0
  2190. Animation155.Name = "R15Swing1"
  2191. Animation155.Parent = Tool0
  2192. Animation155.AnimationId = "rbxassetid://846744780"
  2193. Animation156.Name = "R15Swing2"
  2194. Animation156.Parent = Tool0
  2195. Animation156.AnimationId = "rbxassetid://846754447"
  2196. Script157.Name = "SwordScript"
  2197. Script157.Parent = Tool0
  2198. table.insert(cors,sandbox(Script157,function()
  2199. r = game:service("RunService")
  2200.  
  2201. local damage =0
  2202.  
  2203. sword = script.Parent.Handle
  2204. Tool = script.Parent
  2205.  
  2206. originalgrip=script.Parent.og
  2207. sp=script.Parent
  2208.  
  2209. function spinsword(spintime)
  2210. delay(0,function()
  2211. local startspin=tick()
  2212. local endspin=startspin+spintime
  2213. while tick()<endspin do
  2214. sp.Grip=originalgrip.Value*CFrame.Angles(math.pi*2*((tick()-startspin)/spintime),0,0)
  2215. wait()
  2216. end
  2217. sp.Grip=originalgrip.Value
  2218. end)
  2219. end
  2220.  
  2221. local damages,values,sounds = {30,45,65},{Tool.PlaySlash,Tool.PlayThrust,Tool.PlayOverhead},{Tool.Handle.SlashSound,Tool.Handle.OverheadSound,Tool.Handle.LungeSound}
  2222. local enabledToDamage = true
  2223.  
  2224. function blow(hit)
  2225. if enabledToDamage == false then return end
  2226. enabledToDamage = false
  2227. if (hit.Parent == nil) then enabledToDamage = true return end -- happens when bullet hits sword
  2228. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2229. local vCharacter = Tool.Parent
  2230. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2231. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2232. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  2233. -- final check, make sure sword is in-hand
  2234. local right_arm = vCharacter:FindFirstChild("Right Arm")
  2235. if (right_arm ~= nil) then
  2236. local joint = right_arm:FindFirstChild("RightGrip")
  2237. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  2238. tagHumanoid(humanoid, vPlayer)
  2239. humanoid:TakeDamage(damage)
  2240. humanoid.Died:connect(function()
  2241. if debounce==nil then
  2242. debounce=true
  2243. M=Instance.new('Model')
  2244. M.Name=humanoid.Parent.Name.."'s Body"
  2245. h=Instance.new('Humanoid')
  2246. h.Health=0
  2247. h.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None
  2248. h.Parent=M
  2249. T1=humanoid.Parent.Torso:Clone()
  2250. T1.Velocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2251. T1.Size=Vector3.new(2,1,1)
  2252. T1.Material=Enum.Material.Neon
  2253. T1.BrickColor=BrickColor.new('Light orange')
  2254. T2=humanoid.Parent.Torso:Clone()
  2255. T2.Material=Enum.Material.Neon
  2256. T2.BrickColor=BrickColor.new('Light orange')
  2257. T2.Size=Vector3.new(2,1,1)
  2258. LA=humanoid.Parent['Left Arm']:Clone()
  2259. LL=humanoid.Parent['Left Leg']:Clone()
  2260. RA=humanoid.Parent['Right Arm']:Clone()
  2261. RL=humanoid.Parent['Right Leg']:Clone()
  2262. H=humanoid.Parent['Head']:Clone()
  2263. game.Debris:AddItem(humanoid.Parent, .02)
  2264. game.Debris:AddItem(M,10)
  2265. wait(.01)
  2266. debounce=nil
  2267. end
  2268. function Weld(x,y)
  2269. local W = Instance.new("Weld")
  2270. W.Part0 = x
  2271. W.Part1 = y
  2272. local CJ = CFrame.new(x.Position)
  2273. local C0 = x.CFrame:inverse()*CJ
  2274. local C1 = y.CFrame:inverse()*CJ
  2275. W.C0 = C0
  2276. W.C1 = C1
  2277. W.Parent = x
  2278. end
  2279. Weld(T1,LA)
  2280. Weld(T1,RA)
  2281. Weld(T1,H)
  2282. Weld(T2,LL)
  2283. Weld(T2,RL)
  2284. T1.Parent=M
  2285. T1.CFrame=T1.CFrame+Vector3.new(0,2,0)
  2286. T2.Parent=M
  2287. LL.Parent=M
  2288. LA.Parent=M
  2289. RL.Parent=M
  2290. RA.Parent=M
  2291. H.Parent=M
  2292. ch=humanoid.Parent:GetChildren()
  2293. for i, v in pairs(ch) do
  2294. if v.ClassName=='CharacterMesh' and v.BodyPart~=Enum.BodyPart.Torso then
  2295. cmc=v:Clone()
  2296. cmc.Parent=M
  2297. elseif v.ClassName=='Hat' then
  2298. htc=v.Handle:Clone()
  2299. Weld(htc, H)
  2300. htc.Parent=M
  2301. end
  2302. end
  2303. M.Parent=workspace
  2304. end)
  2305. untagHumanoid(humanoid)
  2306. else
  2307. enabledToDamage = true
  2308. end
  2309. else
  2310. enabledToDamage = true
  2311. end
  2312. else
  2313. enabledToDamage = true
  2314. end
  2315. end
  2316.  
  2317.  
  2318. function tagHumanoid(humanoid, player)
  2319. local creator_tag = Instance.new("ObjectValue")
  2320. creator_tag.Value = player
  2321. creator_tag.Name = "creator"
  2322. creator_tag.Parent = humanoid
  2323. end
  2324.  
  2325. function untagHumanoid(humanoid)
  2326. if humanoid ~= nil then
  2327. local tag = humanoid:findFirstChild("creator")
  2328. if tag ~= nil then
  2329. tag.Parent = nil
  2330. end
  2331. end
  2332. end
  2333.  
  2334.  
  2335. function attack()
  2336. damage = slash_damage
  2337. script.Parent.Handle.SlashSound:Play()
  2338. script.Parent.PlaySlash.Value = not script.Parent.PlaySlash.Value
  2339. end
  2340.  
  2341. function lunge()
  2342. damage = lunge_damage
  2343. script.Parent.Handle.LungeSound:Play()
  2344. script.Parent.PlayOverhead.Value = not script.Parent.PlayOverhead.Value
  2345. force = Instance.new("BodyVelocity")
  2346. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  2347. force.Parent = Tool.Parent.Torso
  2348. wait(.5)
  2349. force.Parent = nil
  2350. wait(.5)
  2351. damage = slash_damage
  2352. end
  2353.  
  2354.  
  2355. Tool.Enabled = true
  2356. local last_attack = 0
  2357. local status = 0
  2358.  
  2359. function onActivated()
  2360. if not Tool.Enabled then
  2361. return
  2362. end
  2363. Tool.Enabled = false
  2364. local character = Tool.Parent;
  2365. local humanoid = character.Humanoid
  2366. if humanoid == nil then
  2367. print("Humanoid not found")
  2368. return
  2369. end
  2370. t = r.Stepped:wait()
  2371. if (t - last_attack < 1.5) then
  2372. rndm=math.random(1,3)
  2373. if rndm==1 then
  2374. status=1
  2375. elseif rndm==2 then
  2376. status=2
  2377. elseif rndm==3 then
  2378. status=3
  2379. end
  2380. values[status].Value = not values[status].Value
  2381. damage = damages[status]
  2382. sounds[status]:Play()
  2383. enabledToDamage = true
  2384. wait(0.5)
  2385. enabledToDamage = false
  2386. end
  2387. last_attack = t
  2388. Tool.Enabled = true
  2389. end
  2390.  
  2391. function onEquipped()
  2392. wait(1)
  2393. Tool.Handle.UnsheathSound:Play()
  2394. end
  2395.  
  2396. Tool.Equipped:connect(onEquipped)
  2397. script.Parent.Activated:connect(onActivated)
  2398. connection = script.Parent.HitBox.Touched:connect(blow)
  2399. end))
  2400. Script158.Name = "Server"
  2401. Script158.Parent = Tool0
  2402. table.insert(cors,sandbox(Script158,function()
  2403. local Tool = script.Parent
  2404. local Remote = Tool:WaitForChild("Remote")
  2405. local Handle = Tool:WaitForChild("Handle")
  2406.  
  2407. local Heartbeat = game:GetService("RunService").Heartbeat
  2408.  
  2409. local FriendlyFire = false
  2410.  
  2411. local LeftDown = false
  2412.  
  2413. local AttackHoldTime = 0.5
  2414. local AttackAble = true
  2415. local AttackRestTime = 0.5
  2416. local AttackWindupTime = 0.2
  2417. local AttackDamaging = false
  2418. local AttackWindow = 0.6
  2419. local AttackVictims = {}
  2420. local AttackDamage = 32
  2421. local AttackProjectileSpeed = 128
  2422. local AttackProjectileDamage = 0.5
  2423. local AttackProjectileVictims = {}
  2424.  
  2425. local Character = nil
  2426. local Humanoid = nil
  2427.  
  2428. --returns the wielding player of this tool
  2429. function getPlayer()
  2430. local char = Tool.Parent
  2431. return game:GetService("Players"):GetPlayerFromCharacter(Character)
  2432. end
  2433.  
  2434. function AutoWeld(a, b, ModifiedCFrame)
  2435. local weld = Instance.new("ManualWeld", a)
  2436. weld.Part0 = a
  2437. weld.Part1 = b
  2438. weld.C0 = a.CFrame:inverse() * b.CFrame
  2439. a.Anchored = false
  2440. b.Anchored = false
  2441. if ModifiedCFrame then
  2442. weld.C0 = ModifiedCFrame
  2443. end
  2444. return weld
  2445. end
  2446.  
  2447. --helpfully checks a table for a specific value
  2448. function contains(t, v)
  2449. for _, val in pairs(t) do
  2450. if val == v then
  2451. return true
  2452. end
  2453. end
  2454. return false
  2455. end
  2456.  
  2457. --tags a human for the ROBLOX KO system
  2458. function tagHuman(human)
  2459. local tag = Instance.new("ObjectValue")
  2460. tag.Value = getPlayer()
  2461. tag.Name = "creator"
  2462. tag.Parent = human
  2463. game:GetService("Debris"):AddItem(tag)
  2464. end
  2465.  
  2466. --used by checkTeams
  2467. function sameTeam(otherHuman)
  2468. local player = getPlayer()
  2469. local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
  2470. if player and otherPlayer then
  2471. if player == otherPlayer then
  2472. return true
  2473. end
  2474. if otherPlayer.Neutral then
  2475. return false
  2476. end
  2477. return player.TeamColor == otherPlayer.TeamColor
  2478. end
  2479. return false
  2480. end
  2481.  
  2482. --use this to determine if you want this human to be harmed or not, returns boolean
  2483. function checkTeams(otherHuman)
  2484. return not (sameTeam(otherHuman) and not FriendlyFire)
  2485. end
  2486.  
  2487. function DeathMessage()
  2488. spawn(function()
  2489. local Phrases = {"PURISH", "You think you can beat me"}
  2490. if not Character.Head:FindFirstChild("BillboardGui") then
  2491. local GUI = Instance.new("BillboardGui",Character.Head) GUI.Size = UDim2.new(0,3000,0,30) GUI.LightInfluence = 0 GUI.StudsOffset = Vector3.new(0,1.65,0) GUI.AlwaysOnTop = true
  2492. local TL = Instance.new("TextLabel",GUI) TL.Size = UDim2.new(1,0,1,0) TL.BorderSizePixel = 0 TL.BackgroundTransparency = 1 TL.TextStrokeColor3 = Color3.fromRGB(12,0,43) TL.TextStrokeTransparency = 0 TL.TextColor3 = Color3.new(0,0,0) TL.TextScaled = true TL.Text = Phrases[math.random(#Phrases)] TL.Font = "SciFi"
  2493. wait(1.5)
  2494. for i = 1,60 do
  2495. wait()
  2496. TL.TextTransparency = i/20
  2497. TL.TextStrokeTransparency = (i-20)/40
  2498. end
  2499. GUI:Destroy()
  2500. end
  2501. end)
  2502. end
  2503.  
  2504. function onHandleTouched(part)
  2505. if not AttackDamaging then return end
  2506. if part:IsDescendantOf(Tool.Parent) then return end
  2507.  
  2508. if part.Parent and part.Parent:FindFirstChild("Humanoid") then
  2509. local human = part.Parent.Humanoid
  2510. if checkTeams(human) and not contains(AttackVictims, human) then
  2511. tagHuman(human)
  2512. table.insert(AttackVictims, human)
  2513. human.Health = 0
  2514. DeathMessage()
  2515. end
  2516. end
  2517. end
  2518.  
  2519. function onProjectileTouched(part)
  2520. if part:IsDescendantOf(Tool.Parent) then return end
  2521.  
  2522. if part.Parent and part.Parent:FindFirstChild("Humanoid") then
  2523. local human = part.Parent.Humanoid
  2524. if checkTeams(human) and not contains(AttackProjectileVictims, human) then
  2525. tagHuman(human)
  2526. table.insert(AttackProjectileVictims, human)
  2527. human.Health = 0
  2528. DeathMessage()
  2529. end
  2530. end
  2531. end
  2532.  
  2533. function onLeftHold()
  2534. if not SCooldown then
  2535. print("Hold")
  2536. if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
  2537. Remote:FireClient(getPlayer(), "PlayAnimation", "R15Swing2")
  2538. else
  2539. Remote:FireClient(getPlayer(), "PlayAnimation", "Swing2")
  2540. end
  2541.  
  2542. delay(0.1, function()
  2543. Handle.Swing.Pitch = 1
  2544. Handle.Swing:Play()
  2545. delay(0.4, function()
  2546. Handle.Swing.Pitch = 1.25
  2547. Handle.Swing:Play()
  2548. delay(0.3, function()
  2549. Handle.Swing.Pitch = 1.75
  2550. Handle.Swing:Play()
  2551. Handle.Shot.Pitch = 2
  2552. end)
  2553. end)
  2554. end)
  2555.  
  2556. wait(0.8)
  2557.  
  2558. local root = Tool.Parent:FindFirstChild("HumanoidRootPart")
  2559. if root then
  2560. for i = 1,3 do
  2561. local slash = Instance.new("Part")
  2562. slash.Material = "Neon"
  2563. slash.Shape = "Ball"
  2564. slash.CanCollide = false
  2565. slash.FormFactor = "Custom"
  2566. slash.TopSurface = "Smooth"
  2567. slash.BottomSurface = "Smooth"
  2568. slash.Color = Color3.fromRGB(0,255,255)
  2569. slash.Size = Vector3.new(2,2,2)
  2570. slash.CFrame = root.CFrame * CFrame.new(0, 0, 4) * CFrame.Angles(0, 0, math.pi/2)
  2571. TouchedFunc = slash.Touched:connect(onProjectileTouched)
  2572.  
  2573. local bv = Instance.new("BodyVelocity")
  2574. bv.maxForce = Vector3.new(4, 19, 1e9)
  2575. bv.velocity = root.CFrame.lookVector * AttackProjectileSpeed
  2576. bv.Parent = slash
  2577.  
  2578.  
  2579.  
  2580. local light = Instance.new("PointLight")
  2581. light.Range = 16
  2582. light.Color = slash.Color
  2583. light.Parent = slash
  2584.  
  2585. slash.Parent = workspace
  2586. spawn(function()
  2587. local Proj = slash
  2588.  
  2589.  
  2590.  
  2591. local TFunc = TouchedFunc
  2592.  
  2593. local Light = light
  2594. wait(1)
  2595. TFunc:disconnect()
  2596. Proj.Transparency = 1
  2597. Proj.Anchored = true
  2598. local Expl = Instance.new("Explosion",workspace) Expl.Position = Proj.Position
  2599.  
  2600. Light.Enabled = false
  2601.  
  2602. game:GetService("Debris"):AddItem(Proj,5)
  2603. end)
  2604.  
  2605. AttackProjectileVictims = {}
  2606. spawn(function()
  2607. local S = Handle.Shot:Clone()
  2608. S.Parent = Handle
  2609. S.Pitch = 1
  2610. wait(0.5)
  2611. S.Pitch = 2
  2612. S:Stop()
  2613. S:Play()
  2614. game.Debris:AddItem(S,5)
  2615. end)
  2616. wait(0.25)
  2617. end
  2618.  
  2619. wait()
  2620. end
  2621. end
  2622. end
  2623.  
  2624. function onLeftDown()
  2625. if not SCooldown then
  2626. if not AttackAble then return end
  2627. AttackAble = false
  2628.  
  2629. if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
  2630. Remote:FireClient(getPlayer(), "PlayAnimation", "R15Swing1")
  2631. else
  2632. Remote:FireClient(getPlayer(), "PlayAnimation", "Swing1")
  2633. end
  2634.  
  2635.  
  2636. delay(0.2, function()
  2637. Handle.Swing.Pitch = 1
  2638. Handle.Swing:Play()
  2639. end)
  2640.  
  2641. delay(AttackWindupTime, function()
  2642. AttackVictims = {}
  2643. AttackDamaging = true
  2644. delay(AttackWindow, function()
  2645. AttackDamaging = false
  2646. end)
  2647. end)
  2648.  
  2649. LeftDown = true
  2650. local t = 0
  2651. while LeftDown do
  2652. t = t + Heartbeat:wait()
  2653. if t > AttackHoldTime then
  2654. onLeftHold()
  2655. break
  2656. end
  2657. end
  2658.  
  2659. delay(AttackRestTime, function()
  2660. AttackAble = true
  2661. end)
  2662. end
  2663. end
  2664.  
  2665. function onLeftUp()
  2666. LeftDown = false
  2667. end
  2668.  
  2669. function onRemote(player, func, ...)
  2670. if player ~= getPlayer() then return end
  2671.  
  2672. if func == "LeftDown" then
  2673. onLeftDown(...)
  2674. elseif func == "LeftUp" then
  2675. onLeftUp(...)
  2676. end
  2677. end
  2678.  
  2679. SCooldown = false
  2680. script.Parent.KeyPressed.OnServerEvent:connect(function(p,k,cd) --Detects keypresses.
  2681. if not SCooldown and AttackAble then
  2682. SCooldown = true
  2683. delay(cd,function()
  2684. SCooldown = false
  2685. end)
  2686. if k == 'e' then
  2687. if Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R15 then
  2688. Remote:FireClient(getPlayer(), "PlayAnimation", "R15Swing2")
  2689. else
  2690. Remote:FireClient(getPlayer(), "PlayAnimation", "Swing2")
  2691. end
  2692.  
  2693. delay(0.1, function()
  2694. Handle.Swing.Pitch = 1
  2695. Handle.Swing:Play()
  2696. delay(0.4, function()
  2697. Handle.Swing.Pitch = 1.75
  2698. Handle.Swing:Play()
  2699. delay(0.3, function()
  2700. Handle.Swing.Pitch = 2.75
  2701. Handle.Swing:Play()
  2702. Handle.Shot.Pitch = 2
  2703. end)
  2704. end)
  2705. end)
  2706.  
  2707. wait(0.8)
  2708.  
  2709. local root = Tool.Parent:FindFirstChild("HumanoidRootPart")
  2710. if root then
  2711. for i = 1,14 do
  2712. for i = 1,12 do
  2713. local slash = Instance.new("Part")
  2714. slash.Material = "Neon"
  2715. slash.Shape = "Cylinder"
  2716. slash.CanCollide = false
  2717. slash.FormFactor = "Custom"
  2718. slash.TopSurface = "Smooth"
  2719. slash.BottomSurface = "Smooth"
  2720. slash.Color = Color3.fromRGB(21,0,0)
  2721. slash.Size = Vector3.new(2,2,2)
  2722. slash.CFrame = root.CFrame * CFrame.new(-3 + ((i-1)*3), 0, -3) * CFrame.Angles(0, 0, math.pi/2)
  2723. TouchedFunc = slash.Touched:connect(onProjectileTouched)
  2724.  
  2725. local bv = Instance.new("BodyVelocity")
  2726. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2727. bv.velocity = root.CFrame.lookVector * AttackProjectileSpeed * 2
  2728. bv.Parent = slash
  2729.  
  2730.  
  2731.  
  2732. local light = Instance.new("PointLight")
  2733. light.Range = 60
  2734. light.Color = slash.Color
  2735. light.Parent = slash
  2736.  
  2737. slash.Parent = workspace
  2738. spawn(function()
  2739. local Proj = slash
  2740.  
  2741.  
  2742. local TFunc = TouchedFunc
  2743.  
  2744. local Light = light
  2745. wait(0.6)
  2746. TFunc:disconnect()
  2747. Proj.Transparency = 1
  2748. Proj.Anchored = true
  2749. local Expl = Instance.new("Explosion",workspace) Expl.Position = Proj.Position
  2750.  
  2751. Light.Enabled = false
  2752.  
  2753. game:GetService("Debris"):AddItem(Proj,5)
  2754. end)
  2755.  
  2756. AttackProjectileVictims = {}
  2757. spawn(function()
  2758. local S = Handle.Shot:Clone()
  2759. S.Parent = Handle
  2760. S.Pitch = 1,0.5,2,4
  2761. S:Stop()
  2762. S:Play()
  2763. game.Debris:AddItem(S,5)
  2764. end)
  2765. end
  2766. wait(0.08)
  2767. end
  2768.  
  2769. wait()
  2770. end
  2771. elseif k == 'q' then
  2772. Character.Humanoid.WalkSpeed = 0
  2773. for i = 1,23 do
  2774. wait()
  2775. Handle.Parent.GripUp = Handle.Parent.GripUp + Vector3.new(i/1,1,1)
  2776. end
  2777. local BAV = Instance.new("BodyAngularVelocity",Handle)
  2778. BAV.MaxTorque = Vector3.new(1,1,1)
  2779. BAV.AngularVelocity = Vector3.new(2,2,2)
  2780. wait(0.1)
  2781. Handle.Engine:Play()
  2782. for i = 1,3 do
  2783. wait()
  2784. BAV.AngularVelocity = BAV.AngularVelocity + Vector3.new(2,1,2)
  2785. Handle.Engine.PlaybackSpeed = 1 + (4 * i/40)
  2786. end
  2787. wait(0.1)
  2788. local root = Tool.Parent:FindFirstChild("HumanoidRootPart")
  2789. if root then
  2790. for i = 1,1 do
  2791. local slash = Instance.new("Part")
  2792. slash.Material = "Neon"
  2793. slash.Shape = "Ball"
  2794. slash.CanCollide = false
  2795. slash.FormFactor = "Custom"
  2796. slash.TopSurface = "Smooth"
  2797. slash.BottomSurface = "Smooth"
  2798. slash.Color = Color3.fromRGB(0,255,255)
  2799. slash.Size = Vector3.new(2,2,2)
  2800. slash.CFrame = root.CFrame * CFrame.new(0, 0, -3) * CFrame.Angles(5, 0, math.pi/2)
  2801. TouchedFunc = slash.Touched:connect(onProjectileTouched)
  2802.  
  2803. local bv = Instance.new("BodyVelocity")
  2804. bv.maxForce = Vector3.new(1e9,1e9,1e9)
  2805. bv.velocity = root.CFrame.lookVector * AttackProjectileSpeed * 3
  2806. bv.Parent = slash
  2807.  
  2808. local spark = Instance.new("Fire")
  2809. spark.Color = slash.Color
  2810. spark.SecondaryColor = spark.Color
  2811. spark.Parent = slash
  2812.  
  2813. local light = Instance.new("PointLight")
  2814. light.Range = 16
  2815. light.Color = slash.Color
  2816. light.Parent = slash
  2817.  
  2818. slash.Parent = workspace
  2819. spawn(function()
  2820. local Proj = slash
  2821. local Fire = spark
  2822. local Att1 = Instance.new("Attachment",Proj) Att1.Position = Vector3.new(Proj.Size.Y/2,0,0)
  2823. local Att2 = Instance.new("Attachment",Proj) Att2.Position = Vector3.new(-Proj.Size.Y/2,0,0)
  2824. local Trail = Instance.new("Trail",Proj)
  2825. local TFunc = TouchedFunc
  2826. Trail.Attachment0 = Att1
  2827. Trail.Attachment1 = Att2
  2828. Trail.Color = ColorSequence.new(Color3.fromRGB(127,0,255),Color3.fromRGB(0,255,255))
  2829. Trail.Transparency = NumberSequence.new(0,1)
  2830. Trail.LightEmission = 1
  2831. Trail.FaceCamera = true
  2832. Trail.Lifetime = 1
  2833. Trail.MinLength = 0
  2834. local Light = light
  2835. wait(0.6)
  2836. TFunc:disconnect()
  2837. Proj.Transparency = 1
  2838. Proj.Anchored = true
  2839. local Expl = Instance.new("Explosion",workspace) Expl.Position = Proj.Position
  2840. Expl.BlastPressure = 120000
  2841. Expl.BlastRadius = 200
  2842. Fire.Enabled = false
  2843. Light.Enabled = false
  2844. Trail.Enabled = false
  2845. game:GetService("Debris"):AddItem(Proj,5)
  2846. end)
  2847.  
  2848. AttackProjectileVictims = {}
  2849. spawn(function()
  2850. local S = Handle.Shot:Clone()
  2851. S.Parent = Handle
  2852. S.Pitch = 0
  2853. S:Stop()
  2854. S:Play()
  2855. game.Debris:AddItem(S,5)
  2856. end)
  2857. wait()
  2858. end
  2859.  
  2860. wait()
  2861. end
  2862. for i = 1,40 do
  2863. wait()
  2864. BAV.AngularVelocity = BAV.AngularVelocity - Vector3.new(0,0.8,0)
  2865. Handle.Engine.PlaybackSpeed = 5 - (4 * i/40)
  2866. end
  2867. wait(0.5)
  2868. Handle.Engine:Stop()
  2869. BAV:Destroy()
  2870. Character.Humanoid.WalkSpeed = 16
  2871. Handle.Parent.GripPos = Vector3.new(0, -1, -0.1)
  2872. Handle.Parent.GripRight = Vector3.new(-1, 0, 0)
  2873. Handle.Parent.GripUp = Vector3.new(0, 0.01, -0.1)
  2874. Handle.Parent.GripForward = Vector3.new(0, 0.1, 0.01)
  2875. elseif k=='t' then
  2876. Character.Humanoid.WalkSpeed = 0
  2877. local Particles = Handle.Storage.Footparticles:Clone()
  2878. Particles.Parent = Character["Left Leg"]
  2879. Particles.Enabled = true
  2880. local Particles2 = Handle.Storage.Footparticles:Clone()
  2881. Particles2.Parent = Character["Right Leg"]
  2882. Particles2.Enabled = true
  2883. local BP = Instance.new("BodyPosition",Character.Torso)
  2884. BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  2885. BP.Position = Character.Torso.Position
  2886. spawn(function()
  2887. S = Handle.Swing:Clone()
  2888. S.Parent = Handle
  2889. S.Pitch = 1
  2890. S:Stop()
  2891. S:Play()
  2892. game.Debris:AddItem(S,5)
  2893. end)
  2894. for i = 1,10 do
  2895. wait()
  2896. S.Pitch = S.Pitch + 0.05
  2897. BP.Position = BP.Position + Vector3.new(1,5,1)
  2898. end
  2899. for i = 1,5 do
  2900. wait()
  2901. Handle.Mesh.Scale = Handle.Mesh.Scale - Vector3.new(0.4,0.4,0.4)
  2902. end
  2903. Tool.GripPos = Vector3.new(0,1,.55)
  2904. Tool.GripRight = Vector3.new(1,0,0)
  2905. for i = 1,5 do
  2906. wait()
  2907. Handle.Mesh.Scale = Handle.Mesh.Scale - Vector3.new(0.4,0.4,0.4)
  2908. end
  2909. wait(.75)
  2910. BP.D = 100
  2911. BP.P = 100000
  2912. spawn(function()
  2913. S = Handle.Swing:Clone()
  2914. S.Parent = Handle
  2915. S.Pitch = 1.5
  2916. S:Stop()
  2917. S:Play()
  2918. game.Debris:AddItem(S,5)
  2919. end)
  2920. for i = 1,10 do
  2921. wait()
  2922. S.Pitch = S.Pitch - 0.07
  2923. BP.Position = BP.Position - Vector3.new(0,5,0)
  2924. end
  2925. local Shockwave = Instance.new("Part",workspace)
  2926. Shockwave.Size = Vector3.new(25,25,25)
  2927. Shockwave.CanCollide = false
  2928. Shockwave.Anchored = true
  2929. Shockwave.Transparency = 0
  2930. Shockwave.CFrame = Character.Torso.CFrame - Vector3.new(0,2.5,0)
  2931. Shockwave.Color = Color3.fromRGB(0,255,255)
  2932. game.Debris:AddItem(Shockwave,5)
  2933. TempCollision = Shockwave.Touched:connect(function(thing)
  2934. if thing.Parent:FindFirstChildOfClass("Humanoid") and thing.Parent.Name ~= Tool.Parent.Name then
  2935. thing.Parent.Humanoid.Health = 0
  2936. DeathMessage()
  2937. end
  2938. end)
  2939. local Mesh = Instance.new("SpecialMesh",Shockwave)
  2940. Mesh.MeshId = 'rbxassetid://20329976'
  2941. Mesh.Offset = Vector3.new(0,-5,0)
  2942. Mesh.Scale = Shockwave.Size
  2943. local Expl = Instance.new("Explosion",workspace) Expl.Position = Shockwave.Position - Vector3.new(0,5,0) Expl.BlastPressure = 0
  2944. Particles.Enabled = false
  2945. Particles2.Enabled = false
  2946. game.Debris:AddItem(Particles,5)
  2947. game.Debris:AddItem(Particles2,5)
  2948. spawn(function()
  2949. local S = Handle.Shot:Clone()
  2950. S.Parent = Handle
  2951. S.Pitch = .8
  2952. S:Stop()
  2953. S:Play()
  2954. game.Debris:AddItem(S,5)
  2955. end)
  2956. spawn(function()
  2957. for i = 1,20 do
  2958. wait()
  2959. Shockwave.Transparency = Shockwave.Transparency + 0.05
  2960. Mesh.Scale = Mesh.Scale + Vector3.new(4,4*(10/25),4)
  2961. end
  2962. end)
  2963. wait(0.1)
  2964. TempCollision:disconnect()
  2965. for i = 1,5 do
  2966. wait()
  2967. Handle.Mesh.Scale = Handle.Mesh.Scale + Vector3.new(0.4,0.4,0.4)
  2968. end
  2969. Tool.GripPos = Vector3.new(0,-1,-.55)
  2970. Tool.GripRight = Vector3.new(-1,0,0)
  2971. for i = 1,5 do
  2972. wait()
  2973. Handle.Mesh.Scale = Handle.Mesh.Scale + Vector3.new(0.4,0.4,0.4)
  2974. end
  2975. wait(0.5)
  2976. BP:Destroy()
  2977. Handle.Mesh.Scale = Vector3.new(2,2,2)
  2978. Character.Humanoid.WalkSpeed = 16
  2979. end
  2980. end
  2981. end)
  2982.  
  2983. function box(text)
  2984. if Character.Head:FindFirstChild("BillboardGui") then
  2985. Character.Head.BillboardGui:Destroy()
  2986. end
  2987. local GUI = Instance.new("BillboardGui",Character.Head) GUI.Size = UDim2.new(0,3000,0,30) GUI.LightInfluence = 0 GUI.StudsOffset = Vector3.new(0,1.65,0) GUI.AlwaysOnTop = true
  2988. local TL = Instance.new("TextLabel",GUI) TL.Size = UDim2.new(1,0,1,0) TL.BorderSizePixel = 0 TL.BackgroundTransparency = 1 TL.TextStrokeColor3 = Color3.fromRGB(127,0,255) TL.TextStrokeTransparency = 0 TL.TextColor3 = Color3.new(0,0,0) TL.TextScaled = true TL.Text = tostring(text) TL.Font = "SciFi"
  2989. delay(1.5,function()
  2990. for i = 1,60 do
  2991. wait()
  2992. TL.TextTransparency = i/20
  2993. TL.TextStrokeTransparency = (i-20)/40
  2994. end
  2995. GUI:Destroy()
  2996. end)
  2997. end
  2998.  
  2999. script.Parent.MiscFuncs.OnServerEvent:connect(function(p,t,a)
  3000. if t=='box' then
  3001. box(a)
  3002. elseif t=='musid' then
  3003. Handle.Mus.SoundId = 'rbxassetid://' .. tonumber(a)
  3004. Handle.Mus:Play()
  3005. elseif t=='togglemus' then
  3006. if Handle.Mus.IsPlaying then
  3007. Handle.Mus:Stop()
  3008. else
  3009. Handle.Mus:Play()
  3010. end
  3011. elseif t=='vol' then
  3012. Handle.Mus.Volume = tonumber(a)
  3013. elseif t=='resetvol' then
  3014. Handle.Mus.Volume = 1
  3015. elseif t=='pit' then
  3016. Handle.Mus.PlaybackSpeed = tonumber(a)
  3017. elseif t=='resetpit' then
  3018. Handle.Mus.PlaybackSpeed = 1
  3019. elseif t=='psh' then
  3020. Handle.Mus.PS.Octave = tonumber(a)
  3021. Handle.Mus.PS.Enabled = true
  3022. elseif t=='togglepsh' then
  3023. Handle.Mus.PS.Enabled = not Handle.Mus.PS.Enabled
  3024. elseif t=='dis' then
  3025. Handle.Mus.D.Level = tonumber(a)
  3026. Handle.Mus.D.Enabled = true
  3027. elseif t=='toggledis' then
  3028. Handle.Mus.D.Enabled = not Handle.Mus.D.Enabled
  3029. end
  3030. end)
  3031.  
  3032. Remote.OnServerEvent:connect(onRemote)
  3033. Handle.Touched:connect(onHandleTouched)
  3034. Tool.Equipped:Connect(function()
  3035. Character = Tool.Parent
  3036. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  3037. script.Parent.Equip.Value = true
  3038. script.Parent.BindKeys.Disabled = false
  3039. if BackScythe then
  3040. BackScythe:Destroy()
  3041. end
  3042. end)
  3043.  
  3044. Tool.Unequipped:Connect(function()
  3045. script.Parent.Equip.Value = false
  3046. Handle.Mus:Stop()
  3047. BackScythe = Handle:Clone()
  3048. BackScythe.Parent = Character
  3049. BackScythe.Name = "BackScythe"
  3050. BackScythe.CanCollide = false
  3051. for _,v in pairs(BackScythe:GetChildren()) do
  3052. if not v:IsA("SpecialMesh") then
  3053. v:Destroy()
  3054. end
  3055. end
  3056. BackScythe.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  3057. AutoWeld(BackScythe,Character.Torso,CFrame.new(.55,-.15,-.15) * CFrame.Angles(0,math.rad(-90),math.rad(-25)))
  3058. Character = nil
  3059. Humanoid = nil
  3060. end)
  3061. end))
  3062. for i,v in pairs(mas:GetChildren()) do
  3063. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3064. pcall(function() v:MakeJoints() end)
  3065. end
  3066. mas:Destroy()
  3067. for i,v in pairs(cors) do
  3068. spawn(function()
  3069. pcall(v)
  3070. end)
  3071. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement