Advertisement
MiraiTsukiZV2

brutal stic

Mar 23rd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.75 KB | None | 0 0
  1.  
  2. -- Made by 1ndrew
  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. LocalScript1 = Instance.new("LocalScript")
  21. Part2 = Instance.new("Part")
  22. LocalScript3 = Instance.new("LocalScript")
  23. Sound4 = Instance.new("Sound")
  24. Sound5 = Instance.new("Sound")
  25. Animation6 = Instance.new("Animation")
  26. SpecialMesh7 = Instance.new("SpecialMesh")
  27. Script8 = Instance.new("Script")
  28. LocalScript9 = Instance.new("LocalScript")
  29. LocalScript10 = Instance.new("LocalScript")
  30. Part11 = Instance.new("Part")
  31. CylinderMesh12 = Instance.new("CylinderMesh")
  32. Part13 = Instance.new("Part")
  33. Weld14 = Instance.new("Weld")
  34. CylinderMesh15 = Instance.new("CylinderMesh")
  35. Part16 = Instance.new("Part")
  36. CylinderMesh17 = Instance.new("CylinderMesh")
  37. Part18 = Instance.new("Part")
  38. CylinderMesh19 = Instance.new("CylinderMesh")
  39. LocalScript20 = Instance.new("LocalScript")
  40. Tool0.Name = "Brutal Stick"
  41. Tool0.Parent = mas
  42. Tool0.GripForward = Vector3.new(-0.425711513, 0.306347132, -0.851423025)
  43. Tool0.GripPos = Vector3.new(0, -1.29999995, 0.100000001)
  44. Tool0.GripRight = Vector3.new(0.89442718, 0, -0.44721359)
  45. Tool0.GripUp = Vector3.new(0.137002602, 0.951919854, 0.274005204)
  46. Tool0.ToolTip = "TIME TO DIE MOTHERFUCKERS"
  47. LocalScript1.Name = "Aiming"
  48. LocalScript1.Parent = Tool0
  49. table.insert(cors,sandbox(LocalScript1,function()
  50. wait()
  51. Tool=script.Parent
  52. CP,Torso,g=nil,nil,nil
  53. armo1=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  54. armo2=CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  55. getPos=function(Pos,TorsoPos)
  56. return Vector3.new(Pos.x,TorsoPos.y,Pos.z)
  57. end
  58. Turn=function(mouse,Torso,Gyro)
  59. g.cframe=CFrame.new(Torso.Position,getPos(mouse.Hit.p,Torso.Position))
  60. offset=(Torso.Position.y-mouse.Hit.p.y)/125
  61. mag=(Torso.Position-mouse.Hit.p).magnitude/125
  62. offset=offset/mag
  63. arm=Torso:FindFirstChild("Right Shoulder")
  64. arm2=Torso:FindFirstChild("Left Shoulder")
  65. if arm~=nil then
  66. arm.C0=CFrame.new(1, 0.5, 0, 0, 0, 1, -6.48200512e-007, 1.00000274, 0, -1.00000274, -6.48200512e-007, 0)*CFrame.fromEulerAnglesXYZ(0,0,-offset)
  67. arm2.C0=CFrame.new(-1, 0.5, 0, 0, 0, -1, -6.48200512e-007, 1.00000274, 0, 1.00000274, -6.48200512e-007, 0)*CFrame.fromEulerAnglesXYZ(0,0,offset)
  68. end
  69. end
  70. Equi=function(mouse)
  71. wait(.01)
  72. local vCharacter = Tool.Parent
  73. local hum = vCharacter:findFirstChild("Humanoid")
  74. blah = hum:LoadAnimation(Tool.Handle.Idle)
  75. blah:Play()
  76. CP=Tool.Parent
  77. Torso=CP.Torso
  78. g=Instance.new("BodyGyro")
  79. g.P=18000
  80. g.D=600
  81. g.maxTorque=Vector3.new(80000,80000000,80000)*50000000000000000000000000
  82. g.cframe=Torso.CFrame
  83. while true do
  84. if Tool.Parent.className~="Model" then
  85. break
  86. end
  87. Turn(mouse,Torso,g)
  88. wait()
  89. end
  90. blah:Stop()
  91. arm.C0=armo1
  92. arm2.C0=armo2
  93. g:Remove()
  94. end
  95. Tool.Equipped:connect(Equi)
  96.  
  97. end))
  98. Part2.Name = "Handle"
  99. Part2.Parent = Tool0
  100. Part2.BrickColor = BrickColor.new("Dark stone grey")
  101. Part2.Transparency = 1
  102. Part2.FormFactor = Enum.FormFactor.Custom
  103. Part2.Size = Vector3.new(0.200000003, 3.9199934, 0.829999506)
  104. Part2.CFrame = CFrame.new(-8.29998779, 3.99999809, -84.0001221, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  105. Part2.BottomSurface = Enum.SurfaceType.Smooth
  106. Part2.TopSurface = Enum.SurfaceType.Smooth
  107. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  108. Part2.Position = Vector3.new(-8.29998779, 3.99999809, -84.0001221)
  109. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  110. LocalScript3.Name = "MacheteScript"
  111. LocalScript3.Parent = Part2
  112. table.insert(cors,sandbox(LocalScript3,function()
  113. local UTIL = {}
  114.  
  115. function UTIL.Class(tableIn,template)
  116. tableIn = tableIn or {}
  117. local mt = {
  118. __metatable = UTIL.DeepCopy(template);
  119. __index = UTIL.DeepCopy(template);
  120. }
  121. return setmetatable(tableIn, mt)
  122. end
  123. function UTIL.MakeClass(...)
  124. local arg = {...}
  125. assert(#arg>0, 'ERROR: class needs 1 argument or more')
  126. local members = arg[1]
  127. for i=2,#arg,1 do
  128. if type(arg[i])=='table' then
  129. for key,val in pairs(arg[i]) do
  130. if not members[key] then
  131. members[key] = val
  132. end
  133. end
  134. end
  135. end
  136. local function New(init)
  137. return UTIL.Class(init or {},members)
  138. end
  139. local function Copy(obj, ...)
  140. local newobj = obj:New(unpack(arg))
  141. for n,v in pairs(obj) do newobj[n] = v end
  142. return newobj
  143. end
  144. members.New = New
  145. members.Copy = Copy
  146. return mt
  147. end
  148.  
  149. function UTIL.DeepCopy(orig)
  150. local orig_type = type(orig)
  151. local copy
  152. if orig_type == 'table' then
  153. copy = {}
  154. for orig_key, orig_value in next, orig, nil do
  155. copy[UTIL.DeepCopy(orig_key)] = UTIL.DeepCopy(orig_value)
  156. end
  157. setmetatable(copy, UTIL.DeepCopy(getmetatable(orig)))
  158. else
  159. copy = orig
  160. end
  161. return copy
  162. end
  163.  
  164. function UTIL.Instantiate(guiType)
  165. return function(data)
  166. local obj = Instance.new(guiType)
  167. for k, v in pairs(data) do
  168. if type(k) == 'number' then
  169. v.Parent = obj
  170. else
  171. obj[k] = v
  172. end
  173. end
  174. return obj
  175. end
  176. end
  177.  
  178. function UTIL.RetroRegister(func,...)
  179. func()
  180. for _,i in ipairs({...}) do
  181. i:connect(func)
  182. end
  183. end
  184.  
  185. function UTIL.WaitForValidCharacter(player)
  186. local character = player.Character
  187. if not character or not character.Parent or not character:FindFirstChild('Humanoid') or character.Humanoid.Health <= 0 then
  188. player.CharacterAdded:wait()
  189. wait(0)
  190. character = player.Character
  191. end
  192. return character
  193. end
  194.  
  195. function UTIL.FindCharacterAncestor(subject)
  196. if subject and subject ~= Workspace then
  197. local humanoid = subject:FindFirstChild('Humanoid')
  198. if humanoid then
  199. return subject, humanoid
  200. else
  201. return UTIL.FindCharacterAncestor(subject.Parent)
  202. end
  203. end
  204. return nil
  205. end
  206.  
  207. UTIL.AssetURL = 'http://www.roblox.com/asset/?id='
  208.  
  209.  
  210. UTIL.TouchEnabled = game:GetService("UserInputService").TouchEnabled
  211. do
  212. local suceeded,_ =pcall(function() game.Workspace.CurrentCamera:GetPanSpeed() end)
  213. UTIL.CanCheckPanSpeed = suceeded
  214. end
  215.  
  216.  
  217. local DebrisService = Game:GetService('Debris')
  218. local DebugPrintOffset = 0
  219. function UTIL.Dprint(...)
  220. local line = ''
  221. for _, segment in pairs({...}) do
  222. line = line .. (line and ' ' or '') .. tostring(segment)
  223. end
  224. local gui = Instance.new('ScreenGui')
  225. local label = Instance.new('TextLabel')
  226. label.Text = line
  227. label.Size = UDim2.new(0.25, 0, 0.05, 0)
  228. label.BackgroundTransparency = 0.5
  229. label.Position = UDim2.new(0, 0, 0, DebugPrintOffset)
  230. label.TextWrapped = true
  231. label.Parent = gui
  232. DebrisService:AddItem(gui, 30)
  233. gui.Parent = script.Parent
  234. DebugPrintOffset = (DebugPrintOffset <= 600) and DebugPrintOffset + 30 or 0
  235. end
  236.  
  237. WeldUtil = {}
  238.  
  239.  
  240. do
  241.  
  242.  
  243. function WeldUtil.WeldBetween(a, b)
  244. local weld = Instance.new("Weld")
  245. weld.Part0 = a
  246. weld.Part1 = b
  247. weld.C0 = CFrame.new()
  248. weld.C1 = b.CFrame:inverse() * a.CFrame
  249.  
  250. weld.Parent = a
  251. return weld
  252. end
  253.  
  254. function WeldUtil:PermaWeld(weld)
  255. local OriginalParent = weld.Parent
  256. weld.Changed:connect(function()
  257. Delay(0,function() weld.Parent = OriginalParent end)
  258. end)
  259. end
  260.  
  261. end
  262.  
  263. local InternalEvent =
  264. {
  265. Listeners = nil,
  266. }
  267. do
  268. UTIL.MakeClass(InternalEvent)
  269. function InternalEvent:Connect(func)
  270. if not self.Listeners then self.Listeners = {} end
  271. table.insert(self.Listeners,func)
  272. end
  273. function InternalEvent:Fire(...)
  274. if not self.Listeners then return end
  275. local args = {...}
  276. for _,i in ipairs(self.Listeners) do
  277. Spawn(function() i(unpack(args)) end)
  278. end
  279. end
  280. end
  281.  
  282.  
  283.  
  284. local SwordPart =
  285. {
  286. Damage = 25,
  287. AttackTime = 1,
  288. CoolDown = 0.1,
  289.  
  290. LastSwing = 0,
  291. LastHit = 0,
  292.  
  293. Part= nil,
  294. Owner = nil,
  295.  
  296. OnHit = nil,
  297. OnHitHumanoid = nil,
  298. OnAttackReady = nil,
  299. OnAttack = nil,
  300.  
  301.  
  302. SwingSound = nil,
  303. HitSound = nil,
  304. SwingAnimation = nil,
  305.  
  306. ActiveConnections = {},
  307.  
  308. }
  309. do
  310. UTIL.MakeClass(SwordPart)
  311. function SwordPart.New(npart,nowner)
  312. local init= UTIL.DeepCopy(SwordPart)
  313. init.Part= npart
  314. init.Owner = nowner
  315. table.insert(init.ActiveConnections,init.Part.Touched:connect(function(hit) init:SwordTouch(hit) end))
  316.  
  317. init.OnHit = InternalEvent.New()
  318. init.OnHitHumanoid = InternalEvent.New()
  319. init.OnAttackReady = InternalEvent.New()
  320. init.OnAttack = InternalEvent.New()
  321.  
  322. return init
  323. end
  324.  
  325. function SwordPart:SwordTouch(hit)
  326. if tick()-self.LastSwing >self.AttackTime or tick()-self.LastHit<self.AttackTime then return end
  327. self.OnHit:Fire(hit)
  328. local character,humanoid = UTIL.FindCharacterAncestor(hit)
  329. if character and character ~= self.Owner.Character then
  330. humanoid:TakeDamage(self.Damage)
  331. self.OnHitHumanoid:Fire(humanoid,hit)
  332. self.LastHit = tick()
  333. if self.HitSound then
  334. self.HitSound:Play()
  335. end
  336. end
  337.  
  338. end
  339.  
  340. function SwordPart:DoSwing()
  341. if tick()-self.LastSwing<self.AttackTime+self.CoolDown then
  342. return
  343. end
  344.  
  345. if self.SwingAnimation then
  346. self.SwingAnimation:Play(.1,1,1.5)
  347. end
  348. if self.SwingSound then
  349. self.SwingSound:Play()
  350. end
  351. self.LastSwing = tick()
  352. self.OnAttack:Fire()
  353. end
  354.  
  355. function SwordPart:Destroy()
  356. for _,i in pairs(self.ActiveConnections) do
  357. i:disconnect()
  358. end
  359. end
  360. end
  361. do
  362. local Handle = script.Parent
  363. local Tool = Handle.Parent
  364.  
  365. local Player = game.Players.LocalPlayer
  366. local Character = UTIL.WaitForValidCharacter(Player)
  367. local SwingAni = UTIL.Instantiate"Animation"
  368. {AnimationId = "http://www.roblox.com/Asset?ID=89289879"}
  369.  
  370. local HitSound = Handle:WaitForChild('Hit')
  371. local SwingSound = Handle:WaitForChild('Swing')
  372.  
  373. local SwingAniTrack
  374.  
  375. local Sword
  376.  
  377.  
  378. Tool.Equipped:connect(function(mouse)
  379. Sword = SwordPart.New(Handle,Player)
  380. Sword.Damage = 40
  381. Sword.HitSound = HitSound
  382. Sword.SwingSound = SwingSound
  383. Character = UTIL.WaitForValidCharacter(Player)
  384. local Humanoid = Character:FindFirstChild('Humanoid')
  385.  
  386. SwingAniTrack = Humanoid:LoadAnimation(SwingAni)
  387. Sword.SwingAnimation = SwingAniTrack
  388.  
  389. Sword.OnHitHumanoid:Connect(function(humanoid,hit)
  390. local myTorso = Character:FindFirstChild('Torso')
  391. local torso = humanoid.Parent:FindFirstChild('Torso')
  392. if not torso or not myTorso then return end
  393.  
  394. if hit.Name=='Right Arm' or hit.Name=='Left Arm' or hit.Name=='Right Leg' or hit.Name=='Left Leg' then
  395. hit:BreakJoints()
  396. WeldUtil.WeldBetween(hit, Handle)
  397. Delay(1,function() hit:BreakJoints() end )
  398. end
  399. end)
  400.  
  401. mouse.Button1Down:connect(function()
  402. Sword:DoSwing()
  403. end)
  404. end)
  405. Tool.Unequipped:connect(function()
  406. Sword:Destroy()
  407. end)
  408.  
  409. end
  410.  
  411. end))
  412. Sound4.Name = "Hit"
  413. Sound4.Parent = Part2
  414. Sound4.Pitch = 0.69999998807907
  415. Sound4.SoundId = "http://www.roblox.com/Asset?ID=123252378"
  416. Sound4.Volume = 1
  417. Sound5.Name = "Swing"
  418. Sound5.Parent = Part2
  419. Sound5.SoundId = "rbxasset://sounds/swordslash.wav"
  420. Sound5.Volume = 1
  421. Animation6.Name = "Idle"
  422. Animation6.Parent = Part2
  423. Animation6.AnimationId = "http://www.roblox.com/Asset?ID=75522566"
  424. SpecialMesh7.Parent = Part2
  425. SpecialMesh7.MeshId = "http://www.roblox.com/asset/?id=123248347"
  426. SpecialMesh7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  427. SpecialMesh7.TextureId = "http://www.roblox.com/asset/?id=123248449"
  428. SpecialMesh7.MeshType = Enum.MeshType.FileMesh
  429. SpecialMesh7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  430. Script8.Name = "qPerfectionWeld"
  431. Script8.Parent = Tool0
  432. table.insert(cors,sandbox(Script8,function()
  433.  
  434.  
  435. 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).
  436.  
  437.  
  438. local function CallOnChildren(Instance, FunctionToCall)
  439. -- Calls a function on each of the children of a certain object, using recursion.
  440.  
  441. FunctionToCall(Instance)
  442.  
  443. for _, Child in next, Instance:GetChildren() do
  444. CallOnChildren(Child, FunctionToCall)
  445. end
  446. end
  447.  
  448. local function GetNearestParent(Instance, ClassName)
  449. -- Returns the nearest parent of a certain class, or returns nil
  450.  
  451. local Ancestor = Instance
  452. repeat
  453. Ancestor = Ancestor.Parent
  454. if Ancestor == nil then
  455. return nil
  456. end
  457. until Ancestor:IsA(ClassName)
  458.  
  459. return Ancestor
  460. end
  461.  
  462. local function GetBricks(StartInstance)
  463. local List = {}
  464.  
  465. -- if StartInstance:IsA("BasePart") then
  466. -- List[#List+1] = StartInstance
  467. -- end
  468.  
  469. CallOnChildren(StartInstance, function(Item)
  470. if Item:IsA("BasePart") then
  471. List[#List+1] = Item;
  472. end
  473. end)
  474.  
  475. return List
  476. end
  477.  
  478. local function Modify(Instance, Values)
  479. -- Modifies an Instance by using a table.
  480.  
  481. assert(type(Values) == "table", "Values is not a table");
  482.  
  483. for Index, Value in next, Values do
  484. if type(Index) == "number" then
  485. Value.Parent = Instance
  486. else
  487. Instance[Index] = Value
  488. end
  489. end
  490. return Instance
  491. end
  492.  
  493. local function Make(ClassType, Properties)
  494. -- Using a syntax hack to create a nice way to Make new items.
  495.  
  496. return Modify(Instance.new(ClassType), Properties)
  497. end
  498.  
  499. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  500. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  501.  
  502. local function HasWheelJoint(Part)
  503. for _, SurfaceName in pairs(Surfaces) do
  504. for _, HingSurfaceName in pairs(HingSurfaces) do
  505. if Part[SurfaceName].Name == HingSurfaceName then
  506. return true
  507. end
  508. end
  509. end
  510.  
  511. return false
  512. end
  513.  
  514. local function ShouldBreakJoints(Part)
  515. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  516. -- definitely some edge cases.
  517.  
  518. if NEVER_BREAK_JOINTS then
  519. return false
  520. end
  521.  
  522. if HasWheelJoint(Part) then
  523. return false
  524. end
  525.  
  526. local Connected = Part:GetConnectedParts()
  527.  
  528. if #Connected == 1 then
  529. return false
  530. end
  531.  
  532. for _, Item in pairs(Connected) do
  533. if HasWheelJoint(Item) then
  534. return false
  535. elseif not Item:IsDescendantOf(script.Parent) then
  536. return false
  537. end
  538. end
  539.  
  540. return true
  541. end
  542.  
  543. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  544.  
  545.  
  546. JointType = JointType or "Weld"
  547. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  548.  
  549. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  550. Modify(NewWeld, {
  551. Name = "qCFrameWeldThingy";
  552. Part0 = Part0;
  553. Part1 = Part1;
  554. C0 = CFrame.new();--Part0.CFrame:inverse();
  555. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  556. Parent = Part1;
  557. })
  558.  
  559. if not RelativeValue then
  560. RelativeValue = Make("CFrameValue", {
  561. Parent = Part1;
  562. Name = "qRelativeCFrameWeldValue";
  563. Archivable = true;
  564. Value = NewWeld.C1;
  565. })
  566. end
  567.  
  568. return NewWeld
  569. end
  570.  
  571. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  572.  
  573.  
  574. for _, Part in pairs(Parts) do
  575. if ShouldBreakJoints(Part) then
  576. Part:BreakJoints()
  577. end
  578. end
  579.  
  580. for _, Part in pairs(Parts) do
  581. if Part ~= MainPart then
  582. WeldTogether(MainPart, Part, JointType, MainPart)
  583. end
  584. end
  585.  
  586. if not DoNotUnanchor then
  587. for _, Part in pairs(Parts) do
  588. Part.Anchored = false
  589. end
  590. MainPart.Anchored = false
  591. end
  592. end
  593.  
  594. local function PerfectionWeld()
  595. local Tool = GetNearestParent(script, "Tool")
  596.  
  597. local Parts = GetBricks(script.Parent)
  598. 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]
  599.  
  600. if PrimaryPart then
  601. WeldParts(Parts, PrimaryPart, "Weld", false)
  602. else
  603. warn("qWeld - Unable to weld part")
  604. end
  605.  
  606. return Tool
  607. end
  608.  
  609. local Tool = PerfectionWeld()
  610.  
  611.  
  612. if Tool and script.ClassName == "Script" then
  613. --- Don't bother with local scripts
  614.  
  615. script.Parent.AncestryChanged:connect(function()
  616. PerfectionWeld()
  617. end)
  618. end
  619.  
  620.  
  621. end))
  622. LocalScript9.Name = "Arms"
  623. LocalScript9.Parent = Tool0
  624. table.insert(cors,sandbox(LocalScript9,function()
  625. Tool = script.Parent
  626. local arms = nil
  627. local torso = nil
  628. local fakearms = {}
  629. local welds = {}
  630.  
  631. function Equip(mouse)
  632. wait(0.01)
  633. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  634. torso = Tool.Parent:FindFirstChild("Torso")
  635. model = Instance.new("Model", workspace)
  636. model.Name = "Arms"
  637. humanoid = Instance.new("Humanoid", model)
  638. humanoid.Name = "ArmHumanoid"
  639. local Link = Instance.new("ObjectValue",model)
  640. Link.Name, Link.Value = "HumanoidLink", torso.Parent.Humanoid
  641. if Tool.Parent:FindFirstChild("Shirt") then
  642. Tool.Parent.Shirt:Clone().Parent = model
  643. end
  644. for n,v in ipairs(arms) do
  645. local P = v:Clone()
  646. P.Parent = model
  647. P.TopSurface, P.BottomSurface = "Smooth", "Smooth"
  648. local PW = Instance.new("Weld")
  649. PW.Name = "FakeArmWeld"
  650. PW.Parent = v
  651. PW.Part0, PW.Part1, PW.C0, PW.C1 = v, P, v.CFrame:inverse(), P.CFrame:inverse()
  652. v.Transparency = 1
  653. fakearms[n] = P
  654. end
  655. fakearms[2].RightGrip:Destroy()
  656. mouse.TargetFilter = model
  657. end
  658.  
  659. function Unequip(mouse)
  660. model:Destroy()
  661. for n,v in ipairs(arms) do
  662. v.Transparency = 0
  663. end
  664. end
  665.  
  666. Tool.Equipped:connect(Equip)
  667. Tool.Unequipped:connect(Unequip)
  668.  
  669. end))
  670. LocalScript10.Name = "Weld"
  671. LocalScript10.Parent = Tool0
  672. table.insert(cors,sandbox(LocalScript10,function()
  673.  
  674. function Weld(x,y)
  675. local W = Instance.new("Weld")
  676. W.Part0 = x
  677. W.Part1 = y
  678. local CJ = CFrame.new(x.Position)
  679. local C0 = x.CFrame:inverse()*CJ
  680. local C1 = y.CFrame:inverse()*CJ
  681. W.C0 = C0
  682. W.C1 = C1
  683. W.Parent = x
  684. end
  685.  
  686. function SimpleWeld(x,y)
  687. local W = Instance.new("Weld")
  688. W.Part0 = x
  689. W.Part1 = y
  690. W.Parent = x
  691. end
  692.  
  693. function Get(A)
  694. if A:IsA("BasePart") then
  695. if A.Name == "HammerRotation" then
  696. SimpleWeld(script.Parent.HammerAttachment, A)
  697. A.Anchored = false
  698. elseif A.Name == "Hammer" then
  699. Weld(script.Parent.HammerRotation, A)
  700. A.Anchored = false
  701. elseif A.Name == "FrizzenRotation" then
  702. SimpleWeld(script.Parent.FrizzenAttachment, A)
  703. A.Anchored = false
  704. elseif A.Name == "Frizzen" then
  705. Weld(script.Parent.FrizzenRotation, A)
  706. A.Anchored = false
  707. else
  708. Weld(script.Parent.Handle, A)
  709. A.Anchored = false
  710. end
  711. else
  712. local C = A:GetChildren()
  713. for i=1, #C do
  714. Get(C[i])
  715. end
  716. end
  717. end
  718.  
  719. function Finale()
  720. Get(script.Parent)
  721. end
  722.  
  723.  
  724. end))
  725. Part11.Name = "Grip"
  726. Part11.Parent = Tool0
  727. Part11.Material = Enum.Material.Wood
  728. Part11.BrickColor = BrickColor.new("Pine Cone")
  729. Part11.Rotation = Vector3.new(-180, 0, -180)
  730. Part11.CanCollide = false
  731. Part11.FormFactor = Enum.FormFactor.Custom
  732. Part11.Size = Vector3.new(0.249733165, 0.249733493, 0.249733463)
  733. Part11.CFrame = CFrame.new(-8.40885925, 3.84257984, -83.8658752, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  734. Part11.BottomSurface = Enum.SurfaceType.Smooth
  735. Part11.TopSurface = Enum.SurfaceType.Smooth
  736. Part11.Color = Color3.new(0.423529, 0.345098, 0.294118)
  737. Part11.Position = Vector3.new(-8.40885925, 3.84257984, -83.8658752)
  738. Part11.Orientation = Vector3.new(0, 180, 0)
  739. Part11.Color = Color3.new(0.423529, 0.345098, 0.294118)
  740. CylinderMesh12.Parent = Part11
  741. CylinderMesh12.Scale = Vector3.new(0.947650433, 0.0557441823, 0.947649717)
  742. CylinderMesh12.Scale = Vector3.new(0.947650433, 0.0557441823, 0.947649717)
  743. Part13.Name = "Wood"
  744. Part13.Parent = Tool0
  745. Part13.Material = Enum.Material.Wood
  746. Part13.BrickColor = BrickColor.new("Pine Cone")
  747. Part13.CanCollide = false
  748. Part13.FormFactor = Enum.FormFactor.Custom
  749. Part13.Size = Vector3.new(0.249733165, 1.12017298, 0.249733463)
  750. Part13.CFrame = CFrame.new(-8.40727234, 3.08049679, -83.8654633, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  751. Part13.BottomSurface = Enum.SurfaceType.Smooth
  752. Part13.TopSurface = Enum.SurfaceType.Smooth
  753. Part13.Color = Color3.new(0.423529, 0.345098, 0.294118)
  754. Part13.Position = Vector3.new(-8.40727234, 3.08049679, -83.8654633)
  755. Part13.Color = Color3.new(0.423529, 0.345098, 0.294118)
  756. Weld14.Parent = Part13
  757. Weld14.C0 = CFrame.new(0, 0, 0, 1.10826505e-07, -1, 1.24278703e-08, 2.08616228e-07, -1.24278472e-08, -1, 1, 1.10826505e-07, 2.08616228e-07)
  758. Weld14.C1 = CFrame.new(0, 0, 0, 1.10826505e-07, -1, 1.24278703e-08, 2.08616228e-07, -1.24278472e-08, -1, 1, 1.10826505e-07, 2.08616228e-07)
  759. CylinderMesh15.Parent = Part13
  760. CylinderMesh15.Scale = Vector3.new(0.869548976, 1, 0.869550526)
  761. CylinderMesh15.Scale = Vector3.new(0.869548976, 1, 0.869550526)
  762. Part16.Name = "Metal"
  763. Part16.Parent = Tool0
  764. Part16.Material = Enum.Material.Wood
  765. Part16.BrickColor = BrickColor.new("Beige")
  766. Part16.Rotation = Vector3.new(0, -90, 0)
  767. Part16.CanCollide = false
  768. Part16.FormFactor = Enum.FormFactor.Custom
  769. Part16.Size = Vector3.new(0.249733165, 2.88074279, 0.249733463)
  770. Part16.CFrame = CFrame.new(-8.40756989, 4.19514513, -83.8649292, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  771. Part16.BottomSurface = Enum.SurfaceType.Smooth
  772. Part16.TopSurface = Enum.SurfaceType.Smooth
  773. Part16.Color = Color3.new(0.792157, 0.74902, 0.639216)
  774. Part16.Position = Vector3.new(-8.40756989, 4.19514513, -83.8649292)
  775. Part16.Orientation = Vector3.new(0, -90, 0)
  776. Part16.Color = Color3.new(0.792157, 0.74902, 0.639216)
  777. CylinderMesh17.Parent = Part16
  778. CylinderMesh17.Scale = Vector3.new(0.800000012, 0.995999992, 0.800000012)
  779. CylinderMesh17.Scale = Vector3.new(0.800000012, 0.995999992, 0.800000012)
  780. Part18.Name = "Metal"
  781. Part18.Parent = Tool0
  782. Part18.Material = Enum.Material.Wood
  783. Part18.BrickColor = BrickColor.new("Pine Cone")
  784. Part18.Rotation = Vector3.new(0, -90, 0)
  785. Part18.CanCollide = false
  786. Part18.FormFactor = Enum.FormFactor.Custom
  787. Part18.Size = Vector3.new(0.249733165, 2.88074279, 0.249733463)
  788. Part18.CFrame = CFrame.new(-8.40756989, 4.1851449, -83.8649292, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  789. Part18.BottomSurface = Enum.SurfaceType.Smooth
  790. Part18.TopSurface = Enum.SurfaceType.Smooth
  791. Part18.Color = Color3.new(0.423529, 0.345098, 0.294118)
  792. Part18.Position = Vector3.new(-8.40756989, 4.1851449, -83.8649292)
  793. Part18.Orientation = Vector3.new(0, -90, 0)
  794. Part18.Color = Color3.new(0.423529, 0.345098, 0.294118)
  795. CylinderMesh19.Parent = Part18
  796. CylinderMesh19.Scale = Vector3.new(0.907233477, 1, 0.85386616)
  797. CylinderMesh19.Scale = Vector3.new(0.907233477, 1, 0.85386616)
  798. LocalScript20.Name = "Remove Mouse"
  799. LocalScript20.Parent = Tool0
  800. table.insert(cors,sandbox(LocalScript20,function()
  801. local mouse = game.Players.LocalPlayer:GetMouse()
  802. mouse.Icon = 'rbxassetid://35446049'
  803. end))
  804. for i,v in pairs(mas:GetChildren()) do
  805. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  806. pcall(function() v:MakeJoints() end)
  807. end
  808. mas:Destroy()
  809. for i,v in pairs(cors) do
  810. spawn(function()
  811. pcall(v)
  812. end)
  813. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement