Advertisement
refrop

link alpha

Feb 26th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 170.17 KB | None | 0 0
  1. ----script made by refrop :D
  2. game.Workspace.The one so get infinote health.Humanoid.MaxHealth = math.huge
  3. --Ok
  4. wait(2)
  5.  
  6. nam = game.Players.LocalPlayer.Name
  7.  
  8. coroutine.wrap(function()
  9. while wait() do
  10. for a, b in pairs(Workspace[nam]:GetChildren()) do
  11. if b:FindFirstChild('Handle') then
  12. b.Handle.CanCollide = false
  13. end
  14. end
  15. end
  16. end)()
  17.  
  18. Workspace[nam].Humanoid.Changed:connect(function()
  19. Workspace[nam].Humanoid.WalkSpeed = 16
  20. end)
  21.  
  22. game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function(asd)
  23. delay(0, function()
  24. if asd.Name ~= 'OutputGUI' then
  25. asd:Destroy()
  26. end
  27. end)
  28. end)
  29.  
  30. game:GetService('RunService').Stepped:connect(function()
  31. Workspace[nam].Torso.CanCollide = false
  32. Workspace[nam].Head.CanCollide = false
  33. end)
  34.  
  35. Workspace[nam].Torso.Changed:connect(function()
  36. Workspace[nam].Torso.CanCollide = false
  37. Workspace[nam].Head.CanCollide = false
  38. end)
  39. --Ok
  40.  
  41.  
  42. Plrs = game:GetService("Players")
  43.  
  44.  
  45.  
  46. me = Plrs.refrop
  47.  
  48. char = me.Character
  49.  
  50.  
  51.  
  52. Modelname = "xWep"
  53.  
  54. Toolname = "Drage"
  55.  
  56. Able = true
  57.  
  58. Selected = false
  59.  
  60. Deb = true
  61.  
  62. Hurt = false
  63.  
  64. CritMultiplier = 999
  65.  
  66. ComboOn = false
  67.  
  68. AbleToBreak = false
  69.  
  70. CounterKey = false
  71.  
  72. Attack = 1
  73.  
  74. AddDamage = 0
  75.  
  76. AddDamageX = 1
  77.  
  78. AddShield = 0
  79.  
  80. Dmgs = {Smash = {"Smash", 25, 2, 3, false}, Slash = {"Slash", 18, 1, 3, false}, SideSlash = {"SideSlash", 18, 1, 3, false},
  81.  
  82. DoubleSlash = {"Double Slash", 20, 1, 2, false}, Spin = {"Spin Slash", 30, 2, 5, true, 30}, Boom = {"Boom", 60, 6, 6, true, 50, 16},
  83.  
  84. RageMode = {"RAGE", 8, 1.35, 1, 50}, Counter = {"Counter", 25, 1, 1, true, 15}, RageSlash = {"Rage Slash", 40, 3, 7, true, 30}}
  85.  
  86. RageMode = false
  87.  
  88. Mode = Dmgs.Slash
  89.  
  90. AbleAll = true
  91.  
  92. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  93.  
  94. Aim = false
  95.  
  96.  
  97.  
  98. LineColor = "White"
  99.  
  100. EffectColor3 = "Bright red"
  101.  
  102. EffectColor2 = "White"
  103.  
  104. EffectColor = "Pastel Blue"
  105.  
  106. MainColor = "Navy blue"
  107.  
  108. BladeColor = "Pastel Blue"
  109.  
  110.  
  111.  
  112. BlockBars = {}
  113.  
  114.  
  115.  
  116. MaxRage = 100
  117.  
  118. Rage = MaxRage
  119.  
  120.  
  121.  
  122. CritChance = 5 --Percent
  123.  
  124.  
  125.  
  126. for _, v in pairs(char:children()) do
  127.  
  128. if v.Name == "Block" then v:remove() end
  129.  
  130. end
  131.  
  132.  
  133.  
  134. BlockRealPowa = 4
  135.  
  136.  
  137.  
  138. Block = Instance.new("BoolValue")
  139.  
  140. Block.Name = "Block"
  141.  
  142. Block.Value = false
  143.  
  144. BlockPower = Instance.new("IntValue")
  145.  
  146. BlockPower.Name = "BlockPower"
  147.  
  148. BlockPower.Value = BlockRealPowa
  149.  
  150. BlockPower.Parent = Block
  151.  
  152. Block.Parent = char
  153.  
  154.  
  155.  
  156. CA = CFrame.Angles
  157.  
  158. CN = CFrame.new
  159.  
  160. MR = math.rad
  161.  
  162. MP = math.pi
  163.  
  164. MD = math.deg
  165.  
  166. MH = math.huge
  167.  
  168. MRA = math.random
  169.  
  170.  
  171.  
  172. EffPos = CFrame.new(0, 0.5, 0)
  173.  
  174.  
  175.  
  176. Sounds = {
  177.  
  178. Equip = {"rbxasset://sounds//unsheath.wav", 0.7, 0.6},
  179.  
  180. Hit = {"http://www.roblox.com/asset/?id=2801263", 0.9, 0.6},
  181.  
  182. Block = {"", 1, 0.5},
  183.  
  184. Slash = {"rbxasset://sounds//swordslash.wav", 2, 0.8},
  185.  
  186. SmashHit = {"rbxasset://sounds\\metal.ogg", 1.5, 0.8},
  187.  
  188. Jump = {"rbxasset://sounds/swoosh.wav", 1, 1},
  189.  
  190. Boom = {"http://www.roblox.com/asset?id=1369158", 1.2, 1},
  191.  
  192. SmashBoom = {"http://www.roblox.com/asset/?id=2760979", 0.25, 1},
  193.  
  194. Jump2 = {"http://www.roblox.com/asset/?id=2101148", 2, 1},
  195.  
  196. GoRage = {"http://www.roblox.com/asset/?id=2767090", 1, 1},
  197.  
  198. Shout = {"http://www.roblox.com/asset/?id=2676305", 1.1, 0.8},
  199.  
  200. RageOff = {"http://www.roblox.com/asset/?id=3264793", 1.6, 0.6},
  201.  
  202. }
  203.  
  204.  
  205.  
  206. Add = {
  207.  
  208. Sphere = function(P)
  209.  
  210. local m = Instance.new("SpecialMesh",P)
  211.  
  212. m.MeshType = "Sphere"
  213.  
  214. return m
  215.  
  216. end,
  217.  
  218. BP = function(P)
  219.  
  220. local bp = Instance.new("BodyPosition",P)
  221.  
  222. bp.maxForce = Vector3.new(MH, MH, MH)
  223.  
  224. bp.P = 14000
  225.  
  226. return bp
  227.  
  228. end,
  229.  
  230. BG = function(P)
  231.  
  232. local bg = Instance.new("BodyGyro",P)
  233.  
  234. bg.maxTorque = Vector3.new(MH, MH, MH)
  235.  
  236. bg.P = 14000
  237.  
  238. return bg
  239.  
  240. end,
  241.  
  242. Mesh = function(P, ID, x, y, z)
  243.  
  244. local m = Instance.new("SpecialMesh")
  245.  
  246. m.MeshId = ID
  247.  
  248. m.Scale = Vector3.new(x, y, z)
  249.  
  250. m.Parent = P
  251.  
  252. return m
  253.  
  254. end,
  255.  
  256. Head = function(P)
  257.  
  258. local s = Instance.new("SpecialMesh")
  259.  
  260. s.MeshType = "Head"
  261.  
  262. s.Parent = P
  263.  
  264. return s
  265.  
  266. end,
  267.  
  268. Sound = function(P, ID, vol, pitch)
  269.  
  270. local s = Instance.new("Sound")
  271.  
  272. s.SoundId = ID
  273.  
  274. s.Volume = vol
  275.  
  276. s.Pitch = pitch
  277.  
  278. s.Parent = P
  279.  
  280. return s
  281.  
  282. end
  283.  
  284. }
  285.  
  286.  
  287.  
  288. function RC(Pos, Dir, Max, Ignore)
  289.  
  290. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  291.  
  292. end
  293.  
  294.  
  295.  
  296. function RayC(Start, En, MaxDist, Ignore)
  297.  
  298. return RC(Start, (En - Start), MaxDist, Ignore)
  299.  
  300. end
  301.  
  302.  
  303.  
  304. function Notime(func, tim)
  305.  
  306. coroutine.resume(coroutine.create(function()
  307.  
  308. if tim then
  309.  
  310. wait(tim)
  311.  
  312. end
  313.  
  314. func()
  315.  
  316. end))
  317.  
  318. end
  319.  
  320.  
  321.  
  322. function waitChild(parent, name)
  323.  
  324. local child = parent:findFirstChild(name)
  325.  
  326. if child then return child end
  327.  
  328. while true do
  329.  
  330. child = parent.ChildAdded:wait()
  331.  
  332. if child.Name == name then return child end
  333.  
  334. end
  335.  
  336. end
  337.  
  338.  
  339.  
  340. function ComputePos(pos1, pos2)
  341.  
  342. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  343.  
  344. return CFrame.new(pos1, pos3)
  345.  
  346. end
  347.  
  348.  
  349.  
  350. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  351.  
  352. local p = Instance.new("Part")
  353.  
  354. p.formFactor = "Custom"
  355.  
  356. p.Anchored = Anchor
  357.  
  358. p.CanCollide = Collide
  359.  
  360. p.Transparency = Tran
  361.  
  362. p.Reflectance = Ref
  363.  
  364. p.BrickColor = BrickColor.new(Color)
  365.  
  366. p.TopSurface = 0
  367.  
  368. p.BottomSurface = 0
  369.  
  370. p.Size = Vector3.new(X, Y, Z)
  371.  
  372. if Break then
  373.  
  374. p:BreakJoints()
  375.  
  376. else p:MakeJoints() end
  377.  
  378. p.Parent = Parent
  379.  
  380. p.Locked = true
  381.  
  382. return p
  383.  
  384. end
  385.  
  386.  
  387.  
  388. function Weld(p0, p1, x, y, z, a, b, c)
  389.  
  390. local w = Instance.new("Weld")
  391.  
  392. w.Parent = p0
  393.  
  394. w.Part0 = p0
  395.  
  396. w.Part1 = p1
  397.  
  398. w.C1 = CN(x,y,z) * CA(a,b,c)
  399.  
  400. return w
  401.  
  402. end
  403.  
  404.  
  405.  
  406. torso = char.Torso
  407.  
  408. neck = torso.Neck
  409.  
  410. hum = char.Humanoid
  411.  
  412. Rarm = char["Right Arm"]
  413.  
  414. Larm = char["Left Arm"]
  415.  
  416. Rleg = char["Right Leg"]
  417.  
  418. Lleg = char["Left Leg"]
  419.  
  420.  
  421.  
  422. hc = Instance.new("Humanoid")
  423.  
  424. hc.Health = 0
  425.  
  426. hc.MaxHealth = 0
  427.  
  428.  
  429.  
  430. function getHumanoid(c)
  431.  
  432. local h = nil
  433.  
  434. for i,v in pairs(c:children()) do
  435.  
  436. if v:IsA("Humanoid") and c ~= char then
  437.  
  438. if v.Health > 0 then
  439.  
  440. h = v
  441.  
  442. end
  443.  
  444. end
  445.  
  446. end
  447.  
  448. return h
  449.  
  450. end
  451.  
  452.  
  453.  
  454. function getCharacters(where, pos, dist)
  455.  
  456. local chars = {}
  457.  
  458. for _, v in pairs(where:children()) do
  459.  
  460. local hum = getHumanoid(v)
  461.  
  462. local tors = v:findFirstChild("Torso")
  463.  
  464. if tors ~= nil and hum ~= nil then
  465.  
  466. local anypart = nil
  467.  
  468. for _,k in pairs(v:children()) do
  469.  
  470. if k:IsA("BasePart") then
  471.  
  472. if (k.Position - pos).magnitude <= dist then
  473.  
  474. anypart = k
  475.  
  476. break
  477.  
  478. end
  479.  
  480. end
  481.  
  482. end
  483.  
  484. if anypart then
  485.  
  486. table.insert(chars, {v, tors, hum})
  487.  
  488. end
  489.  
  490. end
  491.  
  492. end
  493.  
  494. return chars
  495.  
  496. end
  497.  
  498.  
  499.  
  500. function PlaySound(id, pitch, vol)
  501.  
  502. local s = Add.Sound(nil, id, vol, pitch)
  503.  
  504. if pitch ~= nil then
  505.  
  506. if tonumber(pitch) then
  507.  
  508. s.Pitch = tonumber(pitch)
  509.  
  510. end
  511.  
  512. end
  513.  
  514. if vol ~= nil then
  515.  
  516. if tonumber(vol) then
  517.  
  518. s.Volume = tonumber(vol)
  519.  
  520. end
  521.  
  522. end
  523.  
  524. s.Parent = torso
  525.  
  526. s.PlayOnRemove = true
  527.  
  528. Notime(function()
  529.  
  530. wait()
  531.  
  532. s:remove()
  533.  
  534. end)
  535.  
  536. end
  537.  
  538.  
  539.  
  540. function playz(sound)
  541.  
  542. PlaySound(sound[1], sound[2], sound[3])
  543.  
  544. end
  545.  
  546.  
  547.  
  548. PlrGui = waitChild(me, "PlayerGui")
  549.  
  550.  
  551.  
  552. for _, v in pairs(char:children()) do if v.Name == Modelname then v:remove() end end
  553.  
  554. for _, v in pairs(PlrGui:children()) do
  555.  
  556. if v.Name == "HealthGUI" or v.Name == "MyGui" then
  557.  
  558. v:remove()
  559.  
  560. end
  561.  
  562. end
  563.  
  564.  
  565.  
  566. function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
  567.  
  568. obj.Size = size
  569.  
  570. obj.Position = position
  571.  
  572. obj.BackgroundColor3 = bgcolor
  573.  
  574. obj.BorderColor3 = bordercolor
  575.  
  576. obj.BackgroundTransparency = transparency
  577.  
  578. if obj:IsA("TextLabel") or obj:IsA("TextButton") then
  579.  
  580. obj.Text = text
  581.  
  582. obj.TextColor3 = textcolor
  583.  
  584. end
  585.  
  586. if obj:IsA("ImageButton") or obj:IsA("TextButton") then
  587.  
  588. obj.AutoButtonColor = auto
  589.  
  590. obj.MouseButton1Down:connect(function()
  591.  
  592. RemoveOptions()
  593.  
  594. end)
  595.  
  596. end
  597.  
  598. obj.Parent = parent
  599.  
  600. end
  601.  
  602.  
  603.  
  604. C3 = Color3.new
  605.  
  606. UD = UDim2.new
  607.  
  608.  
  609.  
  610. Sc = Instance.new("ScreenGui", PlrGui)
  611.  
  612. Sc.Name = "MyGui"
  613.  
  614.  
  615.  
  616. Fr = Instance.new("Frame")
  617.  
  618. EditGui(Fr, Sc, UD(0, 60, 0, 250), UD(1, -70, 0.5, -125), C3(0.1, 0.2, 0.5), C3(), 0)
  619.  
  620.  
  621.  
  622. HealthBack = Instance.new("Frame")
  623.  
  624. EditGui(HealthBack, Fr, UD(0, 25, 1, -20), UD(0, 3, 0, 10), C3(0.2, 0, 0), C3(), 0)
  625.  
  626.  
  627.  
  628. RageBack = Instance.new("Frame")
  629.  
  630. EditGui(RageBack, Fr, UD(0, 25, 1, -20), UD(1, -27, 0, 10), C3(0.2, 0, 0), C3(), 0)
  631.  
  632.  
  633.  
  634. local hp = hum.Health/hum.MaxHealth
  635.  
  636. if hp > 1 then hp = 1 elseif hp < 0 then hp = 0 end
  637.  
  638.  
  639.  
  640. HealthBar = Instance.new("ImageLabel")
  641.  
  642. EditGui(HealthBar, HealthBack, UD(1, 0, hp, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0), C3(), 0)
  643.  
  644. HealthBar.Image = "http://www.roblox.com/asset/?id=50051953"
  645.  
  646.  
  647.  
  648. RageBar = Instance.new("ImageLabel")
  649.  
  650. EditGui(RageBar, RageBack, UD(1, 0, Rage/MaxRage, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0)
  651.  
  652. RageBar.Image = "http://www.roblox.com/asset/?id=50051953"
  653.  
  654.  
  655.  
  656. RageAmount = Instance.new("TextLabel")
  657.  
  658. EditGui(RageAmount, RageBack, UD(1, 0, 0, 0), UD(0, 0, 0, 0), C3(1, 0.6, 0.15), C3(), 0, Rage, C3(1,1,1))
  659.  
  660. RageAmount.TextYAlignment = "Top"
  661.  
  662.  
  663.  
  664. AimButton = Instance.new("TextButton")
  665.  
  666. EditGui(AimButton, Fr, UD(1, 0, 0, 35), UD(0, 0, 1, 0), C3(0.9, 0.2, 0.3), C3(), 0, "AIM: OFF", C3(), true)
  667.  
  668. AimButton.TextWrap = true
  669.  
  670. AimButton.Font = "ArialBold"
  671.  
  672. AimButton.FontSize = "Size14"
  673.  
  674. AimButton.MouseButton1Down:connect(function()
  675.  
  676. if Aim then
  677.  
  678. Aim = false
  679.  
  680. AimButton.Text = "AIM: OFF"
  681.  
  682. AimButton.BackgroundColor3 = C3(0.9, 0.2, 0.3)
  683.  
  684. else
  685.  
  686. Aim = true
  687.  
  688. AimButton.Text = "AIM: ON"
  689.  
  690. AimButton.BackgroundColor3 = C3(0.3, 0.85, 0.1)
  691.  
  692. end
  693.  
  694. end)
  695.  
  696.  
  697.  
  698. for i = 1, BlockRealPowa do
  699.  
  700. local gui = Instance.new("ImageLabel")
  701.  
  702. EditGui(gui, Fr, UD(0, 16, 0, 16), UD(0, -18, 0.5, 20*(i-1)-((BlockRealPowa*20)/2)), C3(), C3(), 1)
  703.  
  704. gui.Image = "http://www.roblox.com/asset/?id=48908046"
  705.  
  706. table.insert(BlockBars, gui)
  707.  
  708. end
  709.  
  710.  
  711.  
  712. BlockPower.Changed:connect(function()
  713.  
  714. for _, v in pairs(BlockBars) do
  715.  
  716. v.Image = ""
  717.  
  718. end
  719.  
  720. for i = 1, BlockPower.Value do
  721.  
  722. local gui = BlockBars[i]
  723.  
  724. if gui then
  725.  
  726. gui.Image = "http://www.roblox.com/asset/?id=48908046"
  727.  
  728. end
  729.  
  730. end
  731.  
  732. end)
  733.  
  734.  
  735.  
  736. Mo = Instance.new("Model")
  737.  
  738. Mo.Name = Modelname
  739.  
  740.  
  741.  
  742. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  743.  
  744. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  745.  
  746. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  747.  
  748. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  749.  
  750.  
  751.  
  752. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  753.  
  754. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  755.  
  756. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  757.  
  758. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  759.  
  760.  
  761.  
  762. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  763.  
  764. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  765.  
  766. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  767.  
  768. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  769.  
  770.  
  771.  
  772. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  773.  
  774. HBW = Weld(Rarm, HB, 0, 0, 1, MP/2, 0, 0)
  775.  
  776. HW = Weld(HB, nil, 0, 0, 0, 0, 0, 0)
  777.  
  778.  
  779.  
  780. SW = Weld(Larm, nil, -0.5, 0, 0.3, MP/2, 0, 0)
  781.  
  782.  
  783.  
  784. TH = Weld(torso, nil, 0, 2.5, 0, MR(145), 0, 0)
  785.  
  786. TH.C0 = CN(0, -0.3, 0.75) * CA(0, MP/2, 0)
  787.  
  788.  
  789.  
  790. Weapon = Instance.new("Model")
  791.  
  792. Weapon.Name = "Weapon"
  793.  
  794.  
  795.  
  796. Handle = Part(Weapon, false, false, 0, 0, MainColor, 0.4, 1.8, 0.4)
  797.  
  798. Add.Head(Handle)
  799.  
  800.  
  801.  
  802. Tip1 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.45, 1.2, 0.45)
  803.  
  804. Add.Head(Tip1)
  805.  
  806. Weld(Handle, Tip1, 0, 0, 0, 0, 0, 0)
  807.  
  808.  
  809.  
  810. Tip2 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.5, 0.5, 0.5)
  811.  
  812. Weld(Handle, Tip2, 0, 0.9, 0, 0, 0, 0)
  813.  
  814. Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=9756362", 0.75, 0.5, 0.75)
  815.  
  816.  
  817.  
  818. Tip3 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.7, 0.3, 1.2)
  819.  
  820. Weld(Handle, Tip3, 0, -0.9, 0, 0, 0, 0)
  821.  
  822. Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=9756362", 0.7, 0.35, 1.35)
  823.  
  824.  
  825.  
  826. Tip4 = Part(Weapon, false, false, 0, 0, "Deep blue", 0.6, 0.2, 1.8)
  827.  
  828. Weld(Handle, Tip4, 0, -0.9, 0, 0, 0, 0)
  829.  
  830.  
  831.  
  832. Tip5 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  833.  
  834. Weld(Tip4, Tip5, 0, -0.4, -0.85, MR(-15), 0, 0)
  835.  
  836.  
  837.  
  838. Tip6 = Part(Weapon, false, false, 0, 0, "Bright blue", 0.6, 0.6, 0.3)
  839.  
  840. Weld(Tip4, Tip6, 0, -0.4, 0.85, MR(15), 0, 0)
  841.  
  842.  
  843.  
  844. Blades = {}
  845.  
  846.  
  847.  
  848. for i = 0, 180, 180 do
  849.  
  850. for x = -20, 20, 40 do
  851.  
  852. local lol = i-90
  853.  
  854. local lol2 = math.abs(lol/480)
  855.  
  856. local lol3 = x/90
  857.  
  858. local Blade1 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.2, 3.5, 0.6)
  859.  
  860. Instance.new("BlockMesh",Blade1).Scale = Vector3.new(0.2, 1, 0.99)
  861.  
  862. local w = Weld(Tip4, Blade1, lol2, 0, -lol3, 0, 0, 0)
  863.  
  864. w.C0 = CN(0, 1.7, 0) * CA(0, MR(i+x), 0)
  865.  
  866. table.insert(Blades, Blade1)
  867.  
  868. end
  869.  
  870. end
  871.  
  872.  
  873.  
  874. Tip7 = Part(Weapon, false, false, 0, 0.3, BladeColor, 0.3, 1.3, 0.7)
  875.  
  876. Add.Mesh(Tip7, "http://www.roblox.com/asset/?id=9756362", 0.31, 1.4, 0.8)
  877.  
  878. Weld(Tip4, Tip7, 0, -3.45, 0, 0, 0, 0)
  879.  
  880.  
  881.  
  882. table.insert(Blades, Tip7)
  883.  
  884.  
  885.  
  886. TH.Part1 = Handle
  887.  
  888.  
  889.  
  890. Shield = Instance.new("Model")
  891.  
  892. Shield.Name = "Shield"
  893.  
  894.  
  895.  
  896. SHandle = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  897.  
  898. SW.Part1 = SHandle
  899.  
  900.  
  901.  
  902. for i = 65, 115, 25 do
  903.  
  904. local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  905.  
  906. local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  907.  
  908. w.C0 = CN(-0.5, 0.2, 0) * CA(0, 0, MR(i))
  909.  
  910. end
  911.  
  912.  
  913.  
  914. for i = -65, -115, -25 do
  915.  
  916. local STip1 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.5, 0.4)
  917.  
  918. local w = Weld(SHandle, STip1, 0.8, 0, 0, 0, 0, 0)
  919.  
  920. w.C0 = CN(-0.5, -0.2, 0) * CA(0, 0, MR(i))
  921.  
  922. end
  923.  
  924.  
  925.  
  926. SHandle2 = Part(Weapon, false, false, 0, 0, "Really black", 0.2, 0.9, 0.4)
  927.  
  928. Weld(SHandle, SHandle2, 1, 0, 0, 0, 0, 0)
  929.  
  930.  
  931.  
  932. ShieldMain = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  933.  
  934. ShieldW = Weld(SHandle2, ShieldMain, 0, 0, 0, 0, 0, 0)
  935.  
  936. ShieldW.C0 = CN(0, -0.2, 0) * CA(0, MR(-5), 0)
  937.  
  938.  
  939.  
  940. STip1 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  941.  
  942. Weld(ShieldMain, STip1, 0, -1.75, 0, 0, 0, 0)
  943.  
  944.  
  945.  
  946. STip2 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  947.  
  948. Weld(ShieldMain, STip2, 0, 1.75, 0, 0, 0, 0)
  949.  
  950.  
  951.  
  952. for i = -15, 15, 30 do
  953.  
  954. local ShieldPlate = Part(Weapon, false, false, 0, 0, "Medium grey", 0.3, 3.5, 1.1)
  955.  
  956. local w = Weld(ShieldMain, ShieldPlate, 3.5, 0, 0, 0, 0, 0)
  957.  
  958. w.C0 = CN(3.5, 0, 0) * CA(0, math.rad(i), 0)
  959.  
  960. for x = -1.75, 1.75, 1.75*2 do
  961.  
  962. local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 0.4, 1.15)
  963.  
  964. Weld(ShieldPlate, STip3, 0, x, 0, 0, 0, 0)
  965.  
  966. end
  967.  
  968. local i2 = i/40
  969.  
  970. local STip3 = Part(Weapon, false, false, 0, 0, "Navy blue", 0.35, 3.9, 0.4)
  971.  
  972. Weld(ShieldPlate, STip3, 0, 0, -i2, 0, 0, 0)
  973.  
  974. end
  975.  
  976.  
  977.  
  978. Weapon.Parent = Mo
  979.  
  980. Shield.Parent = Mo
  981.  
  982.  
  983.  
  984. Mo.Parent = char
  985.  
  986.  
  987.  
  988. function ShowDamage(Dmg, Par, Crit, block)
  989.  
  990. local Pos = Par.CFrame * CN(0, 2.5, 0)
  991.  
  992. local M = Instance.new("Model")
  993.  
  994. local Loldmg = Dmg
  995.  
  996. if Loldmg < 0 then
  997.  
  998. Loldmg = 0
  999.  
  1000. end
  1001.  
  1002. if tostring(Loldmg):sub(1,1) == "-" then
  1003.  
  1004. Loldmg = tostring(Loldmg):sub(2)
  1005.  
  1006. end
  1007.  
  1008. M.Name = Loldmg
  1009.  
  1010. local Col = "Bright red"
  1011.  
  1012. if Crit then Col = "Bright yellow" elseif block then Col = "Bright blue" end
  1013.  
  1014. local P = Part(M, false, false, 0, 0, Col, 0.8, 0.3, 0.8, true)
  1015.  
  1016. P.CFrame = CN(Par.Position)
  1017.  
  1018. P.Name = "Head"
  1019.  
  1020. local BP = Add.BP(P)
  1021.  
  1022. BP.position = Pos.p
  1023.  
  1024. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1025.  
  1026. BP.P = 11000
  1027.  
  1028. Add.BG(P)
  1029.  
  1030. local H = hc:clone()
  1031.  
  1032. H.Parent = M
  1033.  
  1034. H.MaxHealth = 0
  1035.  
  1036. H.Health = 0
  1037.  
  1038. M.Parent = workspace
  1039.  
  1040. Notime(function()
  1041.  
  1042. wait(1.5)
  1043.  
  1044. M:remove()
  1045.  
  1046. end)
  1047.  
  1048. end
  1049.  
  1050.  
  1051.  
  1052. function Damage(P, Hum, dmg, crit, block)
  1053.  
  1054. if Hum then
  1055.  
  1056. if Hum.Health > 0 then
  1057.  
  1058. local Damg = dmg
  1059.  
  1060. if crit then
  1061.  
  1062. Damg = dmg*CritMultiplier
  1063.  
  1064. end
  1065.  
  1066. Damg = math.ceil(((Damg+AddDamage)*AddDamageX)-0.5)
  1067.  
  1068. Hum.Health = Hum.Health - Damg
  1069.  
  1070. ShowDamage(Damg, P, crit, block)
  1071.  
  1072. end
  1073.  
  1074. end
  1075.  
  1076. end
  1077.  
  1078.  
  1079.  
  1080. function ShieldDamage(mode, blockval, blockpowerval, crit)
  1081.  
  1082. if blockval and blockpowerval then
  1083.  
  1084. local ShieldDmg = mode[3]+AddShield
  1085.  
  1086. if crit then
  1087.  
  1088. ShieldDmg = mode[4]+AddShield
  1089.  
  1090. end
  1091.  
  1092. if blockpowerval then
  1093.  
  1094. blockpowerval.Value = blockpowerval.Value - ShieldDmg
  1095.  
  1096. if blockpowerval.Value < 1 then
  1097.  
  1098. blockval.Value = false
  1099.  
  1100. end
  1101.  
  1102. end
  1103.  
  1104. end
  1105.  
  1106. end
  1107.  
  1108.  
  1109.  
  1110. function getBlock(c)
  1111.  
  1112. local block, blockpow = nil
  1113.  
  1114. local blockin = false
  1115.  
  1116. for _,v in pairs(c:children()) do
  1117.  
  1118. if v.Name == "Block" and v:IsA("BoolValue") then
  1119.  
  1120. block = v
  1121.  
  1122. blockin = v.Value
  1123.  
  1124. local bp = v:findFirstChild("BlockPower")
  1125.  
  1126. if bp then
  1127.  
  1128. blockpow = bp
  1129.  
  1130. end
  1131.  
  1132. end
  1133.  
  1134. end
  1135.  
  1136. return block, blockpow, blockin
  1137.  
  1138. end
  1139.  
  1140.  
  1141.  
  1142. function TouchDamage(hit)
  1143.  
  1144. local Hum = getHumanoid(hit.Parent)
  1145.  
  1146. if Hum and Deb and Hurt then
  1147.  
  1148. Deb = false
  1149.  
  1150. local Crit = false
  1151.  
  1152. local BlockVal, BlockPowaVal, Blawk = getBlock(Hum.Parent)
  1153.  
  1154. local BlockPowa = 0
  1155.  
  1156. local blocksound = Sounds.SmashHit
  1157.  
  1158. if math.random(1,100/CritChance) == 1 then
  1159.  
  1160. Crit = true
  1161.  
  1162. end
  1163.  
  1164. local Damg = math.random(Mode[2]/3, Mode[2])
  1165.  
  1166. if Blawk then
  1167.  
  1168. Damg = 0
  1169.  
  1170. ShieldDamage(Mode, BlockVal, BlockPowaVal, Crit)
  1171.  
  1172. if BlockPowaVal then
  1173.  
  1174. if BlockPowaVal.Value < 1 then
  1175.  
  1176. blocksound = Sounds.Equip
  1177.  
  1178. end
  1179.  
  1180. end
  1181.  
  1182. end
  1183.  
  1184. if Mode[5] == false and RageMode == false and Blawk == false then
  1185.  
  1186. Rage = Rage + math.ceil(Damg*0.75-0.5)
  1187.  
  1188. end
  1189.  
  1190. if Blawk then
  1191.  
  1192. PlaySound(blocksound[1], blocksound[2]-0.15, blocksound[3])
  1193.  
  1194. else
  1195.  
  1196. PlaySound(Sounds.Hit[1], Sounds.Hit[2], Sounds.Hit[3])
  1197.  
  1198. end
  1199.  
  1200. Damage(hit, Hum, Damg, Crit, Blawk)
  1201.  
  1202. if Mode == Dmgs.Spin then
  1203.  
  1204. Notime(function()
  1205.  
  1206. wait(0.35)
  1207.  
  1208. Deb = true
  1209.  
  1210. end)
  1211.  
  1212. end
  1213.  
  1214. end
  1215.  
  1216. end
  1217.  
  1218.  
  1219.  
  1220. for _, v in pairs(Blades) do
  1221.  
  1222. v.Touched:connect(TouchDamage)
  1223.  
  1224. end
  1225.  
  1226.  
  1227.  
  1228. if script.Parent.className ~= "HopperBin" then
  1229.  
  1230. H = Instance.new("HopperBin", me.Backpack)
  1231.  
  1232. H.Name = Toolname
  1233.  
  1234. script.Parent = H
  1235.  
  1236. end
  1237.  
  1238.  
  1239.  
  1240. Bin = script.Parent
  1241.  
  1242.  
  1243.  
  1244. EffectOn = false
  1245.  
  1246.  
  1247.  
  1248. function StartEffect(color)
  1249.  
  1250. EffectOn = true
  1251.  
  1252. local lastPoint = Tip7.CFrame * EffPos.p
  1253.  
  1254. Notime(function()
  1255.  
  1256. while EffectOn do
  1257.  
  1258. wait()
  1259.  
  1260. local pos = Tip7.CFrame * EffPos.p
  1261.  
  1262. local magn = (lastPoint - pos).magnitude
  1263.  
  1264. local col = LineColor
  1265.  
  1266. if color and col ~= EffectColor3 then
  1267.  
  1268. col = color
  1269.  
  1270. end
  1271.  
  1272. local p = Part(workspace, true, false, 0.1, 0, col, 0.3, 1, 0.3, true)
  1273.  
  1274. local mesh = Add.Head(p)
  1275.  
  1276. mesh.Scale = Vector3.new(1, magn+0.1, 1)
  1277.  
  1278. p.CFrame = CN(lastPoint, pos) * CA(-MP/2, 0, 0) * CN(0, magn/2+0.05, 0)
  1279.  
  1280. lastPoint = pos
  1281.  
  1282. Notime(function()
  1283.  
  1284. wait(0.05)
  1285.  
  1286. for i = 0, 1, 0.12 do
  1287.  
  1288. p.Transparency = 0.1+0.9*i
  1289.  
  1290. mesh.Scale = Vector3.new(1-1*i, magn+0.1-0.1*i, 1-1*i)
  1291.  
  1292. wait()
  1293.  
  1294. end
  1295.  
  1296. p:remove()
  1297.  
  1298. end)
  1299.  
  1300. end
  1301.  
  1302. end)
  1303.  
  1304. end
  1305.  
  1306.  
  1307.  
  1308. function EndEffect()
  1309.  
  1310. EffectOn = false
  1311.  
  1312. end
  1313.  
  1314.  
  1315.  
  1316. function Detach()
  1317.  
  1318. RAW.Part1 = nil
  1319.  
  1320. LAW.Part1 = nil
  1321.  
  1322. RLW.Part1 = nil
  1323.  
  1324. LLW.Part1 = nil
  1325.  
  1326. RAW.C0 = CN()
  1327.  
  1328. LAW.C0 = CN()
  1329.  
  1330. RLW.C0 = CN()
  1331.  
  1332. LLW.C0 = CN()
  1333.  
  1334. end
  1335.  
  1336.  
  1337.  
  1338. function Normalize()
  1339.  
  1340. RAW.C0 = CA(MR(40), MR(50), 0)
  1341.  
  1342. LAW.C0 = CA(MR(20), MR(-20), MR(-20))
  1343.  
  1344. HW.C0 = CA(0, 0, 0)
  1345.  
  1346. neck.C0 = necko
  1347.  
  1348. end
  1349.  
  1350.  
  1351.  
  1352. SelectAnim = function()
  1353.  
  1354. RAW.Part1 = Rarm
  1355.  
  1356. HW.Part1 = nil
  1357.  
  1358. TH.Part1 = Handle
  1359.  
  1360. for i = 0.1, 1, 0.14 do
  1361.  
  1362. RAW.C0 = CA(MR(220*i), MR(-30*i), MR(-35*i)) * CN(0.4*i, 0, 0)
  1363.  
  1364. neck.C0 = necko * CA(MR(-10*i), 0, MR(-60*i))
  1365.  
  1366. wait()
  1367.  
  1368. end
  1369.  
  1370. PlaySound(Sounds.Equip[1], Sounds.Equip[2], Sounds.Equip[3])
  1371.  
  1372. HW.C0 = CN(0.4, 0, 0) * CA(MR(-60), MR(10), MR(100))
  1373.  
  1374. HW.Part1 = Handle
  1375.  
  1376. TH.Part1 = nil
  1377.  
  1378. LAW.Part1 = Larm
  1379.  
  1380. for i = 0.09, 1, 0.11 do
  1381.  
  1382. RAW.C0 = CA(MR(220-70*i), MR(-30+25*i), MR(-35+70*i)) * CN(0.4-0.4*i, 0, 0)
  1383.  
  1384. HW.C0 = CN(0.4-0.4*i, 0, 0) * CA(MR(-60+40*i), MR(10-10*i), MR(100-40*i))
  1385.  
  1386. LAW.C0 = CA(MR(20*i), MR(-20*i), MR(-20*i))
  1387.  
  1388. neck.C0 = necko * CA(MR(-10+10*i), 0, MR(-60+40*i))
  1389.  
  1390. wait()
  1391.  
  1392. end
  1393.  
  1394. for i = 0.14, 1, 0.25 do
  1395.  
  1396. RAW.C0 = CA(MR(150-60*i), MR(-5+15*i), MR(35-10*i))
  1397.  
  1398. HW.C0 = CA(MR(-20+20*i), 0, MR(60-30*i))
  1399.  
  1400. neck.C0 = necko * CA(0, 0, MR(-60+40+5*i))
  1401.  
  1402. wait()
  1403.  
  1404. end
  1405.  
  1406. for i = 0.1, 1, 0.14 do
  1407.  
  1408. RAW.C0 = CA(MR(90-50*i), MR(10+40*i), MR(25-25*i))
  1409.  
  1410. HW.C0 = CA(0, 0, MR(30-30*i))
  1411.  
  1412. neck.C0 = necko * CA(0, 0, MR(-15+15*i))
  1413.  
  1414. wait()
  1415.  
  1416. end
  1417.  
  1418. Normalize()
  1419.  
  1420. end
  1421.  
  1422.  
  1423.  
  1424. DeselectAnim = function()
  1425.  
  1426. for i = 0.09, 1, 0.14 do
  1427.  
  1428. RAW.C0 = CA(MR(40+100*i), MR(50-50*i), MR(20*i))
  1429.  
  1430. LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20+20*i))
  1431.  
  1432. HW.C0 = CN(0.4*i, 0, 0) * CA(MR(-30*i), MR(5*i), MR(20*i))
  1433.  
  1434. neck.C0 = necko * CA(MR(-5*i), 0, MR(-35*i))
  1435.  
  1436. wait()
  1437.  
  1438. end
  1439.  
  1440. LAW.Part1 = nil
  1441.  
  1442. for i = 0.08, 1, 0.14 do
  1443.  
  1444. RAW.C0 = CA(MR(140+80*i), MR(-30*i), MR(20-55*i))
  1445.  
  1446. HW.C0 = CN(0.4, 0, 0) * CA(MR(-30-30*i), MR(5+5*i), MR(20+80*i))
  1447.  
  1448. neck.C0 = necko * CA(MR(-5-10*i), 0, MR(-35-25*i))
  1449.  
  1450. wait()
  1451.  
  1452. end
  1453.  
  1454. HW.Part1 = nil
  1455.  
  1456. TH.Part1 = Handle
  1457.  
  1458. for i = 0.09, 1, 0.18 do
  1459.  
  1460. RAW.C0 = CA(MR(220-220*i), MR(-30+30*i), MR(20-55+35*i))
  1461.  
  1462. neck.C0 = necko * CA(MR(-5-10+15*i), 0, MR(-35-25+60*i))
  1463.  
  1464. wait()
  1465.  
  1466. end
  1467.  
  1468. neck.C0 = necko
  1469.  
  1470. Detach()
  1471.  
  1472. end
  1473.  
  1474.  
  1475.  
  1476. function setatk(s, e)
  1477.  
  1478. Notime(function()
  1479.  
  1480. Attack = e
  1481.  
  1482. wait(0.25)
  1483.  
  1484. Attack = s
  1485.  
  1486. end)
  1487.  
  1488. end
  1489.  
  1490.  
  1491.  
  1492. Attacks = {
  1493.  
  1494. function()
  1495.  
  1496. Attack = 1
  1497.  
  1498. Able = false
  1499.  
  1500. for i = 0.1, 1, 0.2 do
  1501.  
  1502. RAW.C0 = CA(MR(40+90*i), MR(50-60*i), 0)
  1503.  
  1504. HW.C0 = CA(0, 0, 0)
  1505.  
  1506. LAW.C0 = CA(MR(20+55*i), MR(-20), MR(-20+60*i))
  1507.  
  1508. neck.C0 = necko * CA(MR(-10*i), 0, MR(-25*i))
  1509.  
  1510. wait()
  1511.  
  1512. end
  1513.  
  1514. PlaySound(Sounds.Slash[1], Sounds.Slash[2], Sounds.Slash[3])
  1515.  
  1516. for i = 0.16, 1, 0.33 do
  1517.  
  1518. RAW.C0 = CA(MR(130+5*i), MR(-10-20*i), 0)
  1519.  
  1520. HW.C0 = CA(0, 0, 0)
  1521.  
  1522. LAW.C0 = CA(MR(75+5*i), MR(-20), MR(40+5*i))
  1523.  
  1524. neck.C0 = necko * CA(MR(-10-5*i), 0, MR(-25-5*i))
  1525.  
  1526. wait()
  1527.  
  1528. end
  1529.  
  1530. Hurt = true
  1531.  
  1532. Deb = true
  1533.  
  1534. StartEffect()
  1535.  
  1536. Mode = Dmgs.Slash
  1537.  
  1538. for i = 0.11, 1, 0.22 do
  1539.  
  1540. RAW.C0 = CA(MR(135-115*i), MR(-30), MR(-50*i)) * CN(0, -0.7*i, 0)
  1541.  
  1542. HW.C0 = CA(MR(-70*i), 0, 0)
  1543.  
  1544. LAW.C0 = CA(MR(80-120*i), MR(-20+20*i), MR(45-45*i))
  1545.  
  1546. neck.C0 = necko * CA(MR(-15+30*i), 0, MR(-30+45*i))
  1547.  
  1548. wait()
  1549.  
  1550. end
  1551.  
  1552. EndEffect()
  1553.  
  1554. Hurt = false
  1555.  
  1556. setatk(1,2)
  1557.  
  1558. Able = true
  1559.  
  1560. for i = 0.2, 1, 0.25 do
  1561.  
  1562. RAW.C0 = CA(MR(20-18*i), MR(-30), MR(-50-3*i)) * CN(0, -0.7-0.05*i, 0)
  1563.  
  1564. HW.C0 = CA(MR(-70-5*i), 0, 0)
  1565.  
  1566. neck.C0 = necko * CA(MR(15+3*i), 0, MR(15+3*i))
  1567.  
  1568. wait()
  1569.  
  1570. end
  1571.  
  1572. wait(0.1)
  1573.  
  1574. for i = 0.1, 1, 0.15 do
  1575.  
  1576. if Able == false then return end
  1577.  
  1578. RAW.C0 = CA(MR(2+38*i), MR(-30+80*i), MR(-53+53*i)) * CN(0, -0.75+0.75*i, 0)
  1579.  
  1580. HW.C0 = CA(MR(-75+75*i), 0, 0)
  1581.  
  1582. LAW.C0 = CA(MR(-40+60*i), MR(-20+20-20*i), MR(-20*i))
  1583.  
  1584. neck.C0 = necko * CA(MR(15+3-18*i), 0, MR(15+3-18*i))
  1585.  
  1586. wait()
  1587.  
  1588. end
  1589.  
  1590. Normalize()
  1591.  
  1592. end,
  1593.  
  1594.  
  1595.  
  1596. function()
  1597.  
  1598. Attack = 2
  1599.  
  1600. Able = false
  1601.  
  1602. PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.1, Sounds.Slash[3])
  1603.  
  1604. for i = 0.05, 1, 0.1 do
  1605.  
  1606. RAW.C0 = CA(MR(10+80*i), MR(-30+30*i), MR(-55+35*i)) * CN(0, -0.75+0.35*i, 0)
  1607.  
  1608. LAW.C0 = CA(MR(-40), 0, 0)
  1609.  
  1610. HW.C0 = CA(MR(-75+75*i), 0, MR(90*i))
  1611.  
  1612. neck.C0 = necko * CA(MR(18-13*i), 0, MR(18+22*i))
  1613.  
  1614. wait()
  1615.  
  1616. end
  1617.  
  1618. Hurt = true
  1619.  
  1620. Deb = true
  1621.  
  1622. StartEffect()
  1623.  
  1624. Mode = Dmgs.SideSlash
  1625.  
  1626. for i = 0.09, 1, 0.17 do
  1627.  
  1628. RAW.C0 = CA(MR(90-40*i), 0, MR(-20+110*i)) * CN(0, -0.4+0.4*i, 0)
  1629.  
  1630. HW.C0 = CA(0, MR(-65*i), MR(90))
  1631.  
  1632. LAW.C0 = CA(MR(-40+120*i), MR(-20*i), MR(50*i)) * CN(0, -0.6*i, 0)
  1633.  
  1634. neck.C0 = necko * CA(MR(5), 0, MR(40-90*i))
  1635.  
  1636. wait()
  1637.  
  1638. end
  1639.  
  1640. EndEffect()
  1641.  
  1642. Hurt = false
  1643.  
  1644. Deb = false
  1645.  
  1646. setatk(1,3)
  1647.  
  1648. Able = true
  1649.  
  1650. for i = 0.12, 1, 0.25 do
  1651.  
  1652. RAW.C0 = CA(MR(50-5*i), 0, MR(90+10*i))
  1653.  
  1654. HW.C0 = CA(0, MR(-65-5*i), MR(90))
  1655.  
  1656. LAW.C0 = CA(MR(-40+120), MR(-20), MR(50+5*i)) * CN(0, -0.6, 0)
  1657.  
  1658. neck.C0 = necko * CA(MR(5), 0, MR(40-90-5*i))
  1659.  
  1660. wait()
  1661.  
  1662. end
  1663.  
  1664. wait(0.08)
  1665.  
  1666. for i = 0.05, 1, 0.1 do
  1667.  
  1668. if Able == false then return end
  1669.  
  1670. RAW.C0 = CA(MR(45-5*i), MR(50*i), MR(100-100*i)) * CN(0, 0, 0)
  1671.  
  1672. HW.C0 = CA(0, MR(-70+70*i), MR(90-90*i))
  1673.  
  1674. LAW.C0 = CA(MR(-40+120-60*i), MR(-20), MR(55-75*i)) * CN(0, -0.6+0.6*i, 0)
  1675.  
  1676. neck.C0 = necko * CA(MR(5-5*i), 0, MR(-55+55*i))
  1677.  
  1678. wait()
  1679.  
  1680. end
  1681.  
  1682. Normalize()
  1683.  
  1684. end,
  1685.  
  1686.  
  1687.  
  1688. function()
  1689.  
  1690. Able = false
  1691.  
  1692. for i = 0.05, 1, 0.08 do
  1693.  
  1694. RAW.C0 = CA(MR(50+130*i), 0, MR(90-125*i)) * CN(0, -1*i, 0)
  1695.  
  1696. HW.C0 = CA(0, MR(-65-35*i), MR(90-90*i))
  1697.  
  1698. LAW.C0 = CA(MR(80+100*i), MR(-20+20*i), MR(50-15*i)) * CN(0, -0.6-0.4*i, 0)
  1699.  
  1700. neck.C0 = necko * CA(MR(5-25*i), 0, MR(-50+50*i))
  1701.  
  1702. wait()
  1703.  
  1704. end
  1705.  
  1706. PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.05, Sounds.Slash[3])
  1707.  
  1708. for i = 0.13, 1, 0.25 do
  1709.  
  1710. RAW.C0 = CA(MR(180+10*i), 0, MR(-35)) * CN(0, -1, 0)
  1711.  
  1712. HW.C0 = CA(0, MR(-100), 0)
  1713.  
  1714. LAW.C0 = CA(MR(180+10*i), 0, MR(35)) * CN(0, -1, 0)
  1715.  
  1716. neck.C0 = necko * CA(MR(5-25-5*i), 0, 0)
  1717.  
  1718. wait()
  1719.  
  1720. end
  1721.  
  1722. StartEffect()
  1723.  
  1724. Hurt = true
  1725.  
  1726. Deb = true
  1727.  
  1728. Mode = Dmgs.Smash
  1729.  
  1730. for i = 0.06, 1, 0.12 do
  1731.  
  1732. RAW.C0 = CA(MR(190-160*i), 0, MR(-35)) * CN(0, -1+0.2*i, 0)
  1733.  
  1734. HW.C0 = CA(MR(-20*i), MR(-100-40*i), MR(40*i))
  1735.  
  1736. LAW.C0 = CA(MR(190-160*i), 0, MR(35)) * CN(0, -1+0.2*i, 0)
  1737.  
  1738. neck.C0 = necko * CA(MR(-25+45*i), 0, 0)
  1739.  
  1740. wait()
  1741.  
  1742. end
  1743.  
  1744. PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2], Sounds.SmashHit[3])
  1745.  
  1746. EndEffect()
  1747.  
  1748. Hurt = false
  1749.  
  1750. Deb = false
  1751.  
  1752. for i = 0.2, 1, 0.5 do
  1753.  
  1754. RAW.C0 = CA(MR(30+15*i), 0, MR(-35)) * CN(0, -0.8+0.4*i, 0)
  1755.  
  1756. HW.C0 = CA(MR(-20), MR(-140), MR(40))
  1757.  
  1758. LAW.C0 = CA(MR(30+15*i), 0, MR(35)) * CN(0, -0.8+0.4*i, 0)
  1759.  
  1760. neck.C0 = necko * CA(MR(20), 0, 0)
  1761.  
  1762. wait()
  1763.  
  1764. end
  1765.  
  1766. setatk(1,4)
  1767.  
  1768. Able = true
  1769.  
  1770. for i = 0.16, 1, 0.33 do
  1771.  
  1772. if not Able then return end
  1773.  
  1774. RAW.C0 = CA(MR(30+15-15*i), 0, MR(-35)) * CN(0, -0.8+0.4-0.2*i, 0)
  1775.  
  1776. HW.C0 = CA(MR(-20), MR(-140), MR(40))
  1777.  
  1778. LAW.C0 = CA(MR(30+15-15*i), 0, MR(35)) * CN(0, -0.8+0.4-0.2*i, 0)
  1779.  
  1780. neck.C0 = necko * CA(MR(20), 0, 0)
  1781.  
  1782. wait()
  1783.  
  1784. end
  1785.  
  1786. for i = 0.05, 1, 0.1 do
  1787.  
  1788. if not Able then return end
  1789.  
  1790. RAW.C0 = CA(MR(30+10*i), MR(50*i), MR(-35+35*i)) * CN(0, -0.8+0.4-0.2+0.6*i, 0)
  1791.  
  1792. HW.C0 = CA(MR(-20+20*i), MR(-140+140*i), MR(40-40*i))
  1793.  
  1794. LAW.C0 = CA(MR(30+15-15-10*i), MR(-20*i), MR(35-55*i)) * CN(0, -0.8+0.4-0.2+0.6*i, 0)
  1795.  
  1796. neck.C0 = necko * CA(MR(20-20*i), 0, 0)
  1797.  
  1798. wait()
  1799.  
  1800. end
  1801.  
  1802. Normalize()
  1803.  
  1804. end,
  1805.  
  1806. function()
  1807.  
  1808. Able = false
  1809.  
  1810. for i = 0.06, 1, 0.12 do
  1811.  
  1812. RAW.C0 = CA(MR(30), MR(-20*i), MR(-35-25*i)) * CN(0, -0.8, 0)
  1813.  
  1814. HW.C0 = CA(MR(-20-60*i), MR(-140-40*i), MR(40-40*i))
  1815.  
  1816. LAW.C0 = CA(MR(30-110*i), 0, MR(35-35*i)) * CN(0, -0.8+0.8*i, 0)
  1817.  
  1818. neck.C0 = necko * CA(MR(20-15*i), 0, MR(10*i))
  1819.  
  1820. wait()
  1821.  
  1822. end
  1823.  
  1824. Mode = Dmgs.DoubleSlash
  1825.  
  1826. StartEffect()
  1827.  
  1828. playz(Sounds.Slash)
  1829.  
  1830. Hurt = true
  1831.  
  1832. Deb = true
  1833.  
  1834. for i = 0.07, 1, 0.14 do
  1835.  
  1836. RAW.C0 = CA(MR(30+120*i), MR(-20), MR(-60+80*i)) * CN(0, -0.8+0.8*i, 0)
  1837.  
  1838. HW.C0 = CA(MR(-80+60*i), MR(180), 0)
  1839.  
  1840. LAW.C0 = CA(MR(-50+100*i), 0, MR(30*i))
  1841.  
  1842. neck.C0 = necko * CA(MR(5-25*i), 0, MR(10-30*i))
  1843.  
  1844. wait()
  1845.  
  1846. end
  1847.  
  1848. EndEffect()
  1849.  
  1850. Hurt = false
  1851.  
  1852. for i = 0.17, 1, 0.33 do
  1853.  
  1854. RAW.C0 = CA(MR(150+15*i), MR(-20), MR(20+5*i))
  1855.  
  1856. HW.C0 = CA(MR(-20), MR(180), 0)
  1857.  
  1858. LAW.C0 = CA(MR(50+5*i), 0, MR(30+10*i))
  1859.  
  1860. neck.C0 = necko * CA(MR(-20-5*i), 0, MR(-20))
  1861.  
  1862. wait()
  1863.  
  1864. end
  1865.  
  1866. for i = 0.13, 1, 0.25 do
  1867.  
  1868. RAW.C0 = CA(MR(165-15*i), MR(-20+50*i), MR(25-75*i))
  1869.  
  1870. HW.C0 = CA(MR(-20-20*i), MR(180), 0)
  1871.  
  1872. LAW.C0 = CA(MR(55+45*i), 0, MR(40-30*i))
  1873.  
  1874. neck.C0 = necko * CA(MR(-25), 0, MR(-20+35*i))
  1875.  
  1876. wait()
  1877.  
  1878. end
  1879.  
  1880. StartEffect()
  1881.  
  1882. Hurt = true
  1883.  
  1884. Deb = true
  1885.  
  1886. playz(Sounds.Slash)
  1887.  
  1888. for i = 0.08, 1, 0.16 do
  1889.  
  1890. RAW.C0 = CA(MR(150-110*i), MR(30), MR(-50+65*i))
  1891.  
  1892. HW.C0 = CA(MR(-40-40*i), MR(180), 0)
  1893.  
  1894. LAW.C0 = CA(MR(100-50*i), MR(-30*i), MR(10+30*i)) * CN(0, -1.1*i, 0)
  1895.  
  1896. neck.C0 = necko * CA(MR(-25+45*i), 0, MR(15-30*i))
  1897.  
  1898. wait()
  1899.  
  1900. end
  1901.  
  1902. EndEffect()
  1903.  
  1904. Hurt = false
  1905.  
  1906. for i = 0.13, 1, 0.25 do
  1907.  
  1908. RAW.C0 = CA(MR(40-5*i), MR(30), MR(15+5*i))
  1909.  
  1910. HW.C0 = CA(MR(-80-5*i), MR(180), 0)
  1911.  
  1912. LAW.C0 = CA(MR(50), MR(-30), MR(40)) * CN(0, -1.1-0.1*i, 0)
  1913.  
  1914. neck.C0 = necko * CA(MR(20+5*i), 0, MR(-15-5*i))
  1915.  
  1916. wait()
  1917.  
  1918. end
  1919.  
  1920. for i = 0.09, 1, 0.16 do
  1921.  
  1922. RAW.C0 = CA(MR(35+5*i), MR(30+20*i), MR(20-20*i))
  1923.  
  1924. HW.C0 = CA(MR(-85+85*i), MR(180+180*i), 0)
  1925.  
  1926. LAW.C0 = CA(MR(50-30*i), MR(-30+10*i), MR(40-60*i)) * CN(0, -1.2+1.2*i, 0)
  1927.  
  1928. neck.C0 = necko * CA(MR(25-25*i), 0, MR(-20+20*i))
  1929.  
  1930. wait()
  1931.  
  1932. end
  1933.  
  1934. Normalize()
  1935.  
  1936. Able = true
  1937.  
  1938. Attack = 1
  1939.  
  1940. end
  1941.  
  1942. }
  1943.  
  1944.  
  1945.  
  1946. SpinSlash = function(plaic)
  1947.  
  1948. if Rage < Dmgs.Spin[6] then return end
  1949.  
  1950. Rage = Rage - Dmgs.Spin[6]
  1951.  
  1952. local cf = torso.CFrame
  1953.  
  1954. local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  1955.  
  1956. if plaic then
  1957.  
  1958. CF = ComputePos(cf.p, plaic)
  1959.  
  1960. end
  1961.  
  1962. AbleAll = false
  1963.  
  1964. local bg = Add.BG(torso)
  1965.  
  1966. bg.cframe = CF
  1967.  
  1968. for i = 0.07, 1, 0.14 do
  1969.  
  1970. RAW.C0 = CA(MR(40+50*i), MR(50-65*i), 0)
  1971.  
  1972. HW.C0 = CA(0, 0, MR(90*i))
  1973.  
  1974. LAW.C0 = CA(MR(20-20*i), MR(-20+20*i), MR(-20-60*i))
  1975.  
  1976. neck.C0 = necko * CA(0, 0, MR(-30*i))
  1977.  
  1978. bg.cframe = CF * CA(0, MR(30*i), 0)
  1979.  
  1980. wait()
  1981.  
  1982. end
  1983.  
  1984. StartEffect()
  1985.  
  1986. Hurt = true
  1987.  
  1988. Deb = true
  1989.  
  1990. Mode = Dmgs.Spin
  1991.  
  1992. Notime(function()
  1993.  
  1994. while Hurt do
  1995.  
  1996. PlaySound(Sounds.Slash[1], Sounds.Slash[2]+0.35, Sounds.Slash[3])
  1997.  
  1998. wait(0.15)
  1999.  
  2000. end
  2001.  
  2002. end)
  2003.  
  2004. for i = 0.04, 1, 0.06 do
  2005.  
  2006. RAW.C0 = CA(MR(90-10*i), MR(-15), MR(90*i))
  2007.  
  2008. HW.C0 = CA(0, MR(-70*i), MR(90))
  2009.  
  2010. LAW.C0 = CA(MR(90*i), 0, MR(-20-60+120*i)) * CN(0, -0.7*i, 0)
  2011.  
  2012. neck.C0 = necko * CA(0, 0, MR(-30+20*i))
  2013.  
  2014. bg.cframe = CF * CA(0, MR(30-380*i), 0)
  2015.  
  2016. wait()
  2017.  
  2018. end
  2019.  
  2020. EndEffect()
  2021.  
  2022. for i = 0.09, 1, 0.17 do
  2023.  
  2024. RAW.C0 = CA(MR(80), MR(-15), MR(90))
  2025.  
  2026. HW.C0 = CA(0, MR(-70-10*i), MR(90))
  2027.  
  2028. LAW.C0 = CA(MR(90), 0, MR(-20-60+120+20*i)) * CN(0, -0.7, 0)
  2029.  
  2030. neck.C0 = necko * CA(0, 0, MR(-10+60*i))
  2031.  
  2032. bg.cframe = CF * CA(0, MR(-350-60*i), 0)
  2033.  
  2034. wait()
  2035.  
  2036. end
  2037.  
  2038. Hurt = false
  2039.  
  2040. Deb = false
  2041.  
  2042. for i = 0.05, 1, 0.1 do
  2043.  
  2044. RAW.C0 = CA(MR(80-40*i), MR(-15+65*i), MR(90-90*i))
  2045.  
  2046. HW.C0 = CA(0, MR(-80+80*i), MR(90-90*i))
  2047.  
  2048. LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(60-80*i)) * CN(0, -0.7+0.7*i, 0)
  2049.  
  2050. neck.C0 = necko * CA(0, 0, MR(-10+60-50*i))
  2051.  
  2052. bg.cframe = CF * CA(0, MR(-410+50*i), 0)
  2053.  
  2054. wait()
  2055.  
  2056. end
  2057.  
  2058. bg:remove()
  2059.  
  2060. Normalize()
  2061.  
  2062. AbleAll = true
  2063.  
  2064. end
  2065.  
  2066.  
  2067.  
  2068. Flawp = function(plaic)
  2069.  
  2070. local cf = torso.CFrame
  2071.  
  2072. local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  2073.  
  2074. if plaic then
  2075.  
  2076. CF = ComputePos(cf.p, plaic)
  2077.  
  2078. end
  2079.  
  2080. local cf2 = CF * CN(0, -1.1, -1)
  2081.  
  2082. local Dist = 8
  2083.  
  2084. local Hit1, Pos1 = RayC(CF.p, (CF * CN(0, -1, 0)).p, 4, char)
  2085.  
  2086. local Hit2, Pos2 = RayC((CF * CN(0, 0, -Dist*2)).p, (CF * CN(0, -1, -Dist*2)).p, 4, char)
  2087.  
  2088. local Hit3, Pos3 = RayC(CF.p, (CF * CN(0, 0, -Dist*2)).p, Dist*2, char)
  2089.  
  2090. if Rage < Dmgs.Boom[6] then return end
  2091.  
  2092. if Hit1 and Hit2 then
  2093.  
  2094. Rage = Rage - Dmgs.Boom[6]
  2095.  
  2096. local bp = Add.BP(torso)
  2097.  
  2098. bp.position = cf.p
  2099.  
  2100. local bg = Add.BG(torso)
  2101.  
  2102. bg.cframe = CF
  2103.  
  2104. AbleAll = false
  2105.  
  2106. RLW.Part1 = Rleg
  2107.  
  2108. LLW.Part1 = Lleg
  2109.  
  2110. for i = 0.05, 1, 0.1 do
  2111.  
  2112. RAW.C0 = CA(MR(40+30*i), MR(50-50*i), MR(25*i))
  2113.  
  2114. LAW.C0 = CA(MR(20+50*i), MR(-20+20*i), MR(-20-5*i))
  2115.  
  2116. HW.C0 = CA(MR(25*i), 0, 0)
  2117.  
  2118. RLW.C0 = CN(0, 1*i, -1*i)
  2119.  
  2120. LLW.C0 = CA(MR(-90*i), 0, 0) * CN(0, 0.5*i, -0.2*i)
  2121.  
  2122. neck.C0 = necko * CA(MR(20*i), 0, 0)
  2123.  
  2124. bp.position = CF * CN(0, -1*i, -1*i).p
  2125.  
  2126. wait()
  2127.  
  2128. end
  2129.  
  2130. local Center = cf2 * CN(0, 0, -Dist)
  2131.  
  2132. hum.PlatformStand = true
  2133.  
  2134. PlaySound(Sounds.Jump[1], Sounds.Jump[2], Sounds.Jump[3])
  2135.  
  2136. for i = 0.06, 1, 0.1 do
  2137.  
  2138. RAW.C0 = CA(MR(70-160*i), 0, MR(25+15*i))
  2139.  
  2140. LAW.C0 = CA(MR(70-160*i), 0, MR(-25-15*i))
  2141.  
  2142. HW.C0 = CA(MR(25), 0, 0)
  2143.  
  2144. RLW.C0 = CN(0, 1-1*i, -1+1*i)
  2145.  
  2146. LLW.C0 = CA(MR(-90+70*i), 0, 0) * CN(0, 0.5+0.7*i, -0.2-0.3*i)
  2147.  
  2148. neck.C0 = necko * CA(MR(20-50*i), 0, 0)
  2149.  
  2150. bp.position = Center * CA(MR(180-45*i), 0, 0) * CN(0, 0, -Dist).p
  2151.  
  2152. bg.cframe = CF * CA(MR(-90*i), 0, 0)
  2153.  
  2154. wait()
  2155.  
  2156. end
  2157.  
  2158. for i = 0.06, 1, 0.1 do
  2159.  
  2160. RAW.C0 = CA(MR(-90-90*i), 0, MR(40+50*i))
  2161.  
  2162. LAW.C0 = CA(MR(-90-90*i), 0, MR(-40-50*i))
  2163.  
  2164. HW.C0 = CA(MR(25-25*i), 0, MR(-90*i))
  2165.  
  2166. RLW.C0 = CN(0, 0, 0)
  2167.  
  2168. LLW.C0 = CA(MR(-20+20*i), 0, 0) * CN(0, 1.2-1.2*i, -0.5+0.5*i)
  2169.  
  2170. bp.position = Center * CA(MR(135-45*i), 0, 0) * CN(0, 0, -Dist).p
  2171.  
  2172. bg.cframe = CF * CA(MR(-90-90*i), 0, 0)
  2173.  
  2174. wait()
  2175.  
  2176. end
  2177.  
  2178. StartEffect()
  2179.  
  2180. for i = 0.06, 1, 0.1 do
  2181.  
  2182. RAW.C0 = CA(MR(180+10*i), 0, MR(90-130*i)) * CN(0, -1*i, 0)
  2183.  
  2184. LAW.C0 = CA(MR(180+10*i), 0, MR(-90+130*i)) * CN(0, -1*i, 0)
  2185.  
  2186. HW.C0 = CA(0, 0, MR(-90-90*i))
  2187.  
  2188. RLW.C0 = CN(0, 0, 0)
  2189.  
  2190. LLW.C0 = CA(0, 0, 0) * CN(0, 0, 0)
  2191.  
  2192. bp.position = Center * CA(MR(90-45*i), 0, 0) * CN(0, 0, -Dist).p
  2193.  
  2194. bg.cframe = CF * CA(MR(-180-90*i), 0, 0)
  2195.  
  2196. wait()
  2197.  
  2198. end
  2199.  
  2200. playz(Sounds.Slash)
  2201.  
  2202. for i = 0.06, 1, 0.1 do
  2203.  
  2204. RAW.C0 = CA(MR(190-100*i), 0, MR(-40)) * CN(0, -1-0.2*i, 0)
  2205.  
  2206. LAW.C0 = CA(MR(190-80*i), MR(-25*i), MR(40-15*i)) * CN(0, -1-0.2*i, 0)
  2207.  
  2208. HW.C0 = CA(0, MR(-45*i), MR(-180))
  2209.  
  2210. RLW.C0 = CN(0, 1*i, -1*i)
  2211.  
  2212. LLW.C0 = CA(MR(-20-70*i), 0, 0) * CN(0, 1.2-0.7*i, -0.5+0.3*i)
  2213.  
  2214. neck.C0 = necko * CA(MR(-30+60*i), 0, 0)
  2215.  
  2216. bp.position = Center * CA(MR(45-45*i), 0, 0) * CN(0, 0, -Dist).p
  2217.  
  2218. bg.cframe = CF * CA(MR(-270-90*i), 0, 0)
  2219.  
  2220. wait()
  2221.  
  2222. end
  2223.  
  2224. Mode = Dmgs.Boom
  2225.  
  2226. EndEffect()
  2227.  
  2228. RAW.C0 = CA(MR(90), 0, MR(-40)) * CN(0, -1.2, 0)
  2229.  
  2230. LAW.C0 = CA(MR(110), MR(-25), MR(25)) * CN(0, -1.2, 0)
  2231.  
  2232. HW.C0 = CA(0, MR(-45), MR(-180))
  2233.  
  2234. RLW.C0 = CN(0, 1, -1)
  2235.  
  2236. LLW.C0 = CA(MR(-90), 0, 0) * CN(0, 0.5, -0.2)
  2237.  
  2238. bp.position = Center * CN(0, 0, -Dist).p
  2239.  
  2240. bg.cframe = CF * CA(0, 0, 0)
  2241.  
  2242. local PosEff = Center * CN(0, -2, -Dist-2.5)
  2243.  
  2244. Notime(function()
  2245.  
  2246. playz(Sounds.Boom)
  2247.  
  2248. local disst = Dmgs.Boom[7]
  2249.  
  2250. local chars = getCharacters(workspace, PosEff.p, disst)
  2251.  
  2252. for _,v in pairs(chars) do
  2253.  
  2254. local c, t, h = v[1], v[2], v[3]
  2255.  
  2256. local d = (t.Position - PosEff.p).magnitude
  2257.  
  2258. local bl, bp, blo = getBlock(c)
  2259.  
  2260. if blo then
  2261.  
  2262. ShieldDamage(Dmgs.Boom, bl, bp, false)
  2263.  
  2264. end
  2265.  
  2266. d = d/4
  2267.  
  2268. if d < 1 then d = 1 end
  2269.  
  2270. Damage(t, h, Dmgs.Boom[2]/d, false, false)
  2271.  
  2272. for _,k in pairs(c:children()) do
  2273.  
  2274. if k:IsA("BasePart") then
  2275.  
  2276. k.Velocity = CFrame.new(PosEff.p, k.Position).lookVector * 40 + Vector3.new(0, 50, 0)
  2277.  
  2278. end
  2279.  
  2280. end
  2281.  
  2282. h.PlatformStand = true
  2283.  
  2284. Notime(function() h.PlatformStand = false end, 0.2)
  2285.  
  2286. end
  2287.  
  2288. local eff = Instance.new("Model",workspace)
  2289.  
  2290. eff.Name = "Effect"
  2291.  
  2292. local wave = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  2293.  
  2294. wave.CFrame = PosEff
  2295.  
  2296. local wavem = Add.Mesh(wave, "http://www.roblox.com/asset/?id=20329976", 3, 2, 3)
  2297.  
  2298. local ball = Part(eff, true, false, 0, 0, EffectColor2, 1, 1, 1, true)
  2299.  
  2300. ball.CFrame = PosEff
  2301.  
  2302. local ballm = Add.Sphere(ball)
  2303.  
  2304. ballm.Scale = Vector3.new(2, 5, 2)
  2305.  
  2306. local diamond = Part(eff, true, false, 0, 0, EffectColor, 1, 1, 1, true)
  2307.  
  2308. diamond.CFrame = PosEff
  2309.  
  2310. local diamondm = Add.Mesh(diamond, "http://www.roblox.com/asset/?id=9756362", 7, 0.5, 7)
  2311.  
  2312. for i = 0, 1, 0.05 do
  2313.  
  2314. wait()
  2315.  
  2316. wave.CFrame = PosEff * CFrame.Angles(0, MR(180*i), 0)
  2317.  
  2318. wave.Transparency = i
  2319.  
  2320. wavem.Scale = Vector3.new(3+(disst*1.15)*i, 2+(disst/1.4)*i, 3+(disst*1.15)*i)
  2321.  
  2322. ball.Transparency = i
  2323.  
  2324. ballm.Scale = Vector3.new(1+(disst*2)*i, 5+(disst*1.2)*i, 1+(disst*2)*i)
  2325.  
  2326. diamond.Transparency = i
  2327.  
  2328. diamondm.Scale = Vector3.new(7-6.5*i, 0.5+(disst*2)*i, 7-6.5*i)
  2329.  
  2330. end
  2331.  
  2332. wait()
  2333.  
  2334. eff:remove()
  2335.  
  2336. end)
  2337.  
  2338. wait(0.4)
  2339.  
  2340. for i = 0.07, 1, 0.1 do
  2341.  
  2342. RAW.C0 = CA(MR(90+50*i), 0, MR(-40)) * CN(0, -1.2+0.4*i, -0.4*i)
  2343.  
  2344. LAW.C0 = CA(MR(110+30*i), MR(-25+25*i), MR(25+15*i)) * CN(0, -1.2+0.4*i, -0.4*i)
  2345.  
  2346. HW.C0 = CA(MR(-30*i), MR(-45+45*i), MR(-180-30*i)) * CN(0, -0.7*i, 0)
  2347.  
  2348. RLW.C0 = CN(0, 1-1*i, -1+1*i)
  2349.  
  2350. LLW.C0 = CA(MR(-90+90*i), 0, 0) * CN(0, 0.5-0.5*i, -0.2+0.2*i)
  2351.  
  2352. neck.C0 = necko * CA(MR(30-15*i), 0, 0)
  2353.  
  2354. bp.position = Center * CN(0, 1.4*i, -Dist-1*i).p
  2355.  
  2356. wait()
  2357.  
  2358. end
  2359.  
  2360. bp:remove()
  2361.  
  2362. bg:remove()
  2363.  
  2364. hum.PlatformStand = false
  2365.  
  2366. for i = 0.05, 1, 0.1 do
  2367.  
  2368. RAW.C0 = CA(MR(140-100*i), MR(50*i), MR(-40+40*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  2369.  
  2370. LAW.C0 = CA(MR(140-190*i), 0, MR(40-80*i)) * CN(0, -0.8+0.8*i, -0.4+0.4*i)
  2371.  
  2372. HW.C0 = CA(MR(-30+30*i), 0, MR(-210-150*i)) * CN(0, -0.7+0.7*i, 0)
  2373.  
  2374. RLW.C0 = CN()
  2375.  
  2376. LLW.C0 = CN()
  2377.  
  2378. neck.C0 = necko * CA(MR(15-15*i), 0, 0)
  2379.  
  2380. bp.position = Center * CN(0, 1.4-0.4*i, -Dist-1-0.3*i).p
  2381.  
  2382. wait()
  2383.  
  2384. end
  2385.  
  2386. RLW.Part1 = nil
  2387.  
  2388. LLW.Part1 = nil
  2389.  
  2390. for i = 0.1, 1, 0.2 do
  2391.  
  2392. LAW.C0 = CA(MR(-50+70*i), MR(-20*i), MR(-40+20*i))
  2393.  
  2394. wait()
  2395.  
  2396. end
  2397.  
  2398. Normalize()
  2399.  
  2400. AbleAll = true
  2401.  
  2402. end
  2403.  
  2404. end
  2405.  
  2406.  
  2407.  
  2408. function Raeg()
  2409.  
  2410. if Rage < Dmgs.RageMode[5] then return end
  2411.  
  2412. if RageMode == false and AbleAll and Able then
  2413.  
  2414. AbleAll = false
  2415.  
  2416. local CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  2417.  
  2418. for i = 0.05, 1, 0.1 do
  2419.  
  2420. RAW.C0 = CA(MR(40-70*i), MR(50-45*i), MR(10*i))
  2421.  
  2422. LAW.C0 = CA(MR(20-50*i), MR(-20+15*i), MR(-20+10*i))
  2423.  
  2424. HW.C0 = CA(MR(20*i), 0, 0)
  2425.  
  2426. wait()
  2427.  
  2428. end
  2429.  
  2430. for i = 0.12, 1, 0.25 do
  2431.  
  2432. RAW.C0 = CA(MR(-30-10*i), MR(5-5*i), MR(10-5*i))
  2433.  
  2434. LAW.C0 = CA(MR(-30-10*i), MR(-5+5*i), MR(-10+5*i))
  2435.  
  2436. HW.C0 = CA(MR(20+5*i), 0, 0)
  2437.  
  2438. wait()
  2439.  
  2440. end
  2441.  
  2442. hum.Jump = true
  2443.  
  2444. playz(Sounds.Jump2)
  2445.  
  2446. CF = ComputePos(torso.Position, torso.CFrame * CN(0, 0, -2))
  2447.  
  2448. local p = Part(workspace, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2, true)
  2449.  
  2450. p.CFrame = CF * CN(0, -2, 0)
  2451.  
  2452. local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 3, 1)
  2453.  
  2454. Notime(function()
  2455.  
  2456. for i = 0, 1, 0.08 do
  2457.  
  2458. wait()
  2459.  
  2460. m.Scale = Vector3.new(1+5*i, 3-2.5*i, 1+5*i)
  2461.  
  2462. p.Transparency = i
  2463.  
  2464. end
  2465.  
  2466. p:remove()
  2467.  
  2468. end)
  2469.  
  2470. for i = 0.05, 1, 0.1 do
  2471.  
  2472. RAW.C0 = CA(MR(-40+220*i), 0, MR(5+35*i))
  2473.  
  2474. LAW.C0 = CA(MR(-40+220*i), 0, MR(-5-35*i))
  2475.  
  2476. HW.C0 = CA(MR(25-115*i), MR(90*i), MR(45*i))
  2477.  
  2478. wait()
  2479.  
  2480. end
  2481.  
  2482. for i = 0.12, 1, 0.25 do
  2483.  
  2484. RAW.C0 = CA(MR(180+8*i), 0, MR(40))
  2485.  
  2486. LAW.C0 = CA(MR(180+8*i), 0, MR(-40))
  2487.  
  2488. HW.C0 = CA(MR(-90), MR(90), MR(45))
  2489.  
  2490. wait()
  2491.  
  2492. end
  2493.  
  2494. for i = 0.05, 1, 0.1 do
  2495.  
  2496. RAW.C0 = CA(MR(188-98*i), 0, MR(40-80*i)) * CN(0, -1*i, 0)
  2497.  
  2498. LAW.C0 = CA(MR(188-98*i), 0, MR(-40+80*i)) * CN(0, -1*i, 0)
  2499.  
  2500. HW.C0 = CA(MR(-90+90*i), MR(90+45*i), MR(45-45*i))
  2501.  
  2502. wait()
  2503.  
  2504. end
  2505.  
  2506. playz(Sounds.GoRage)
  2507.  
  2508. local p2 = Part(workspace, false, false, 1, 0, EffectColor3, 1, 1, 1, true)
  2509.  
  2510. Weld(Tip4, p2, 0, -2, 0, 0, 0, 0)
  2511.  
  2512. local m2 = Add.Sphere(p2)
  2513.  
  2514. m2.Scale = Vector3.new(0.2, 2, 0.5)
  2515.  
  2516. for i = 0, 1, 0.06 do
  2517.  
  2518. p2.Transparency = 1-1*i
  2519.  
  2520. m2.Scale = Vector3.new(0.2+0.7*i, 2+3*i, 0.5+1.6*i)
  2521.  
  2522. wait()
  2523.  
  2524. end
  2525.  
  2526. for _,v in pairs(Blades) do
  2527.  
  2528. v.BrickColor = BrickColor.new(EffectColor3)
  2529.  
  2530. end
  2531.  
  2532. wait(0.5)
  2533.  
  2534. for i = 0, 1, 0.1 do
  2535.  
  2536. p2.Transparency = i
  2537.  
  2538. wait()
  2539.  
  2540. end
  2541.  
  2542. p2:remove()
  2543.  
  2544. playz(Sounds.Shout)
  2545.  
  2546. for i = 0.1, 1, 0.1 do
  2547.  
  2548. RAW.C0 = CA(MR(90-50*i), MR(50*i), MR(-40+40*i)) * CN(0, -1+1*i, 0)
  2549.  
  2550. LAW.C0 = CA(MR(90-70*i), MR(-20*i), MR(-40+80-60*i)) * CN(0, -1+1*i, 0)
  2551.  
  2552. HW.C0 = CA(0, MR(135+45*i), 0)
  2553.  
  2554. wait()
  2555.  
  2556. end
  2557.  
  2558. Normalize()
  2559.  
  2560. AbleAll = true
  2561.  
  2562. RageMode = true
  2563.  
  2564. AddDamage = Dmgs.RageMode[2]
  2565.  
  2566. AddDamageX = Dmgs.RageMode[3]
  2567.  
  2568. AddShield = Dmgs.RageMode[4]
  2569.  
  2570. LineColor = EffectColor3
  2571.  
  2572. Notime(function()
  2573.  
  2574. repeat
  2575.  
  2576. wait()
  2577.  
  2578. Rage = Rage - 0.45
  2579.  
  2580. until Rage < 1
  2581.  
  2582. RageMode = false
  2583.  
  2584. AddDamage = 0
  2585.  
  2586. AddShield = 0
  2587.  
  2588. AddDamageX = 1
  2589.  
  2590. LineColor = "White"
  2591.  
  2592. local p3 = Part(workspace, false, false, 1, 0, BladeColor, 1, 1, 1, true)
  2593.  
  2594. Weld(Tip4, p3, 0, -2, 0, 0, 0, 0)
  2595.  
  2596. local m3 = Add.Sphere(p3)
  2597.  
  2598. m3.Scale = Vector3.new(0.85, 4.9, 1.8)
  2599.  
  2600. playz(Sounds.RageOff)
  2601.  
  2602. for i = 0.1, 1, 0.1 do
  2603.  
  2604. p3.Transparency = 1-1*i
  2605.  
  2606. wait()
  2607.  
  2608. end
  2609.  
  2610. p.Transparency = 0
  2611.  
  2612. for _,v in pairs(Blades) do
  2613.  
  2614. v.BrickColor = BrickColor.new(BladeColor)
  2615.  
  2616. end
  2617.  
  2618. wait(0.2)
  2619.  
  2620. for i = 0.2, 1, 0.2 do
  2621.  
  2622. p3.Transparency = 1*i
  2623.  
  2624. m3.Scale = Vector3.new(0.85+2*i, 4.9+9*i, 1.8+4.5*i)
  2625.  
  2626. wait()
  2627.  
  2628. end
  2629.  
  2630. p3:remove()
  2631.  
  2632. end)
  2633.  
  2634. end
  2635.  
  2636. end
  2637.  
  2638.  
  2639.  
  2640. function RageSlash(plaic)
  2641.  
  2642. if Rage < Dmgs.RageSlash[6] then return end
  2643.  
  2644. local cf = torso.CFrame
  2645.  
  2646. local CF = ComputePos(cf.p, cf * CN(0, 0, -2))
  2647.  
  2648. if plaic then
  2649.  
  2650. CF = ComputePos(cf.p, plaic)
  2651.  
  2652. local bg = Add.BG(torso)
  2653.  
  2654. bg.cframe = CF
  2655.  
  2656. Notime(function() bg:remove() end, 0.4)
  2657.  
  2658. end
  2659.  
  2660. Rage = Rage - Dmgs.RageSlash[6]
  2661.  
  2662. AbleAll = false
  2663.  
  2664. for i = 0.05, 1, 0.1 do
  2665.  
  2666. RAW.C0 = CA(MR(40+105*i), MR(50-50*i), MR(-35*i)) * CN(0.15*i, -1*i, 0)
  2667.  
  2668. LAW.C0 = CA(MR(20+125*i), MR(-20+20*i), MR(-20+55*i)) * CN(-0.15*i, -1*i, 0)
  2669.  
  2670. HW.C0 = CA(0, MR(-35*i), 0)
  2671.  
  2672. neck.C0 = necko * CA(MR(-20*i), 0, 0)
  2673.  
  2674. wait()
  2675.  
  2676. end
  2677.  
  2678. for i = 0.09, 1, 0.18 do
  2679.  
  2680. RAW.C0 = CA(MR(145+55*i), 0, MR(-35)) * CN(0.15, -1, 0)
  2681.  
  2682. LAW.C0 = CA(MR(145+55*i), 0, MR(35)) * CN(-0.15, -1, 0)
  2683.  
  2684. HW.C0 = CA(0, MR(-35), 0)
  2685.  
  2686. neck.C0 = necko * CA(MR(-20-20*i), 0, 0)
  2687.  
  2688. wait()
  2689.  
  2690. end
  2691.  
  2692. PlaySound(Sounds.Slash[1], Sounds.Slash[2]-0.7, Sounds.Slash[3])
  2693.  
  2694. for i = 0.12, 1, 0.25 do
  2695.  
  2696. RAW.C0 = CA(MR(200+10*i), 0, MR(-35)) * CN(0.15, -1, 0)
  2697.  
  2698. LAW.C0 = CA(MR(200+10*i), 0, MR(35)) * CN(-0.15, -1, 0)
  2699.  
  2700. HW.C0 = CA(0, MR(-35), 0)
  2701.  
  2702. neck.C0 = necko * CA(MR(-20-20-5*i), 0, 0)
  2703.  
  2704. wait()
  2705.  
  2706. end
  2707.  
  2708. Mode = Dmgs.RageSlash
  2709.  
  2710. StartEffect("Neon orange")
  2711.  
  2712. Hurt = true
  2713.  
  2714. Deb = true
  2715.  
  2716. for i = 0.07, 1, 0.14 do
  2717.  
  2718. RAW.C0 = CA(MR(210-160*i), 0, MR(-35)) * CN(0.15, -1, 0)
  2719.  
  2720. LAW.C0 = CA(MR(210-150*i), MR(-30*i), MR(35)) * CN(-0.15, -1, 0)
  2721.  
  2722. HW.C0 = CA(MR(-70*i), MR(-35), MR(-35*i))
  2723.  
  2724. neck.C0 = necko * CA(MR(-45+80*i), 0, 0)
  2725.  
  2726. wait()
  2727.  
  2728. end
  2729.  
  2730. EndEffect()
  2731.  
  2732. Hurt = false
  2733.  
  2734. for i = 0.33, 1, 0.33 do
  2735.  
  2736. RAW.C0 = CA(MR(50-15*i), 0, MR(-35)) * CN(0.15, -1, 0)
  2737.  
  2738. LAW.C0 = CA(MR(60-15*i), MR(-30), MR(35)) * CN(-0.15, -1, 0)
  2739.  
  2740. HW.C0 = CA(MR(-70-15*i), MR(-35), MR(-35-7*i))
  2741.  
  2742. neck.C0 = necko * CA(MR(-45+80+5*i), 0, 0)
  2743.  
  2744. wait()
  2745.  
  2746. end
  2747.  
  2748. for i = 0.07, 1, 0.14 do
  2749.  
  2750. RAW.C0 = CA(MR(35+5*i), MR(50*i), MR(-35+35*i)) * CN(0.15-0.15*i, -1+1*i, 0)
  2751.  
  2752. LAW.C0 = CA(MR(45-25*i), MR(-30+10*i), MR(35-55*i)) * CN(-0.15+0.15*i, -1+1*i, 0)
  2753.  
  2754. HW.C0 = CA(MR(-70-15+85*i), MR(-35+35*i), MR(-35-7+42*i))
  2755.  
  2756. neck.C0 = necko * CA(MR(-45+80+5-40*i), 0, 0)
  2757.  
  2758. wait()
  2759.  
  2760. end
  2761.  
  2762. Normalize()
  2763.  
  2764. AbleAll = true
  2765.  
  2766. end
  2767.  
  2768.  
  2769.  
  2770. --RAW ORIGINAL = CA(MR(40), MR(50), 0)
  2771.  
  2772. --LAW ORIGINAL = CA(MR(20), MR(-20), MR(-20))
  2773.  
  2774. --HW ORIGINAL = CA(0, 0, 0)
  2775.  
  2776.  
  2777.  
  2778. function Counter()
  2779.  
  2780. local cf = torso.CFrame
  2781.  
  2782. local CF = CFrame.new(cf.p, cf * CN(0, 0, -2).p)
  2783.  
  2784. local bg = Add.BG(torso)
  2785.  
  2786. bg.cframe = CF
  2787.  
  2788. for i = 0.1, 1, 0.2 do
  2789.  
  2790. RAW.C0 = CA(MR(-50+50*i), MR(-35), MR(80*i))
  2791.  
  2792. LAW.C0 = CA(MR(90-20*i), 0, MR(80-20*i)) * CN(-0.75+0.25*i, -0.8+0.5*i, 0)
  2793.  
  2794. HW.C0 = CA(MR(20-60*i), 0, 0)
  2795.  
  2796. bg.cframe = CF * CA(0, MR(-35*i), 0)
  2797.  
  2798. neck.C0 = necko * CA(0, 0, MR(35*i))
  2799.  
  2800. wait()
  2801.  
  2802. end
  2803.  
  2804. StartEffect()
  2805.  
  2806. Hurt = true
  2807.  
  2808. Deb = true
  2809.  
  2810. Mode = Dmgs.Counter
  2811.  
  2812. playz(Sounds.Slash)
  2813.  
  2814. for i = 0.09, 1, 0.18 do
  2815.  
  2816. RAW.C0 = CA(0, MR(-35+130*i), MR(80)) * CN(0, -0.3*i, 0)
  2817.  
  2818. LAW.C0 = CA(MR(70-130*i), 0, MR(60-60*i)) * CN(-0.5+0.5*i, -0.3+0.3*i, 0)
  2819.  
  2820. HW.C0 = CA(MR(-40+40*i), 0, 0)
  2821.  
  2822. bg.cframe = CF * CA(0, MR(-35+80*i), 0)
  2823.  
  2824. neck.C0 = necko * CA(0, 0, MR(35-80*i))
  2825.  
  2826. wait()
  2827.  
  2828. end
  2829.  
  2830. EndEffect()
  2831.  
  2832. Hurt = false
  2833.  
  2834. for i = 0.12, 1, 0.25 do
  2835.  
  2836. RAW.C0 = CA(0, MR(95+10*i), MR(80)) * CN(0, -0.3, 0)
  2837.  
  2838. LAW.C0 = CA(MR(-60-10*i), 0, 0)
  2839.  
  2840. HW.C0 = CA(MR(5*i), 0, 0)
  2841.  
  2842. bg.cframe = CF * CA(0, MR(45+5*i), 0)
  2843.  
  2844. neck.C0 = necko * CA(0, 0, MR(-45-5*i))
  2845.  
  2846. wait()
  2847.  
  2848. end
  2849.  
  2850. for i = 0.06, 1, 0.12 do
  2851.  
  2852. RAW.C0 = CA(MR(40*i), MR(105-55*i), MR(80-80*i)) * CN(0, -0.3+0.3*i, 0)
  2853.  
  2854. LAW.C0 = CA(MR(-70+90*i), MR(-20*i), MR(-20*i))
  2855.  
  2856. HW.C0 = CA(MR(5-5*i), 0, 0)
  2857.  
  2858. bg.cframe = CF * CA(0, MR(50-50*i), 0)
  2859.  
  2860. neck.C0 = necko * CA(0, 0, MR(-50+50*i))
  2861.  
  2862. wait()
  2863.  
  2864. end
  2865.  
  2866. Normalize()
  2867.  
  2868. bg:remove()
  2869.  
  2870. end
  2871.  
  2872.  
  2873.  
  2874. function Bloc()
  2875.  
  2876. if AbleAll and Able then
  2877.  
  2878. AbleAll = false
  2879.  
  2880. Block.Value = true
  2881.  
  2882. for i = 0, 1, 0.15 do
  2883.  
  2884. if not Block then break end
  2885.  
  2886. RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  2887.  
  2888. LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  2889.  
  2890. HW.C0 = CA(MR(20*i), 0, 0)
  2891.  
  2892. wait()
  2893.  
  2894. end
  2895.  
  2896. RAW.C0 = CA(MR(40-90), MR(50-85), 0)
  2897.  
  2898. LAW.C0 = CA(MR(20+70), MR(-20+20), MR(-20+100)) * CN(-0.75, -0.8, 0)
  2899.  
  2900. HW.C0 = CA(MR(20), 0, 0)
  2901.  
  2902. PlaySound(Sounds.SmashHit[1], Sounds.SmashHit[2]-0.6, Sounds.SmashHit[3])
  2903.  
  2904. repeat
  2905.  
  2906. wait()
  2907.  
  2908. if BlockPower.Value < 1 then
  2909.  
  2910. Block.Value = false
  2911.  
  2912. BlockPower.Value = BlockRealPowa
  2913.  
  2914. end
  2915.  
  2916. until Block.Value == false
  2917.  
  2918. if CounterKey and Rage >= Dmgs.Counter[6] then
  2919.  
  2920. Rage = Rage - Dmgs.Counter[6]
  2921.  
  2922. Counter()
  2923.  
  2924. else
  2925.  
  2926. for i = 1, 0, -0.2 do
  2927.  
  2928. RAW.C0 = CA(MR(40-90*i), MR(50-85*i), 0)
  2929.  
  2930. LAW.C0 = CA(MR(20+70*i), MR(-20+20*i), MR(-20+100*i)) * CN(-0.75*i, -0.8*i, 0)
  2931.  
  2932. HW.C0 = CA(MR(20*i), 0, 0)
  2933.  
  2934. wait()
  2935.  
  2936. end
  2937.  
  2938. Normalize()
  2939.  
  2940. end
  2941.  
  2942. AbleAll = true
  2943.  
  2944. end
  2945.  
  2946. end
  2947.  
  2948.  
  2949.  
  2950. function Clicked(mousepos)
  2951.  
  2952. if Block.Value == false and Able and AbleAll then
  2953.  
  2954. if Aim then
  2955.  
  2956. Notime(function()
  2957.  
  2958. local bg = Add.BG(torso)
  2959.  
  2960. bg.cframe = ComputePos(torso.Position, mousepos)
  2961.  
  2962. bg.P = 5500
  2963.  
  2964. wait(0.4)
  2965.  
  2966. bg:remove()
  2967.  
  2968. end)
  2969.  
  2970. end
  2971.  
  2972. Attacks[Attack]()
  2973.  
  2974. end
  2975.  
  2976. end
  2977.  
  2978.  
  2979.  
  2980. function KeyDown(key, mouse)
  2981.  
  2982. key = key:lower()
  2983.  
  2984. if Able then
  2985.  
  2986. local aimplace = nil
  2987.  
  2988. if Aim then
  2989.  
  2990. aimplace = mouse.Hit.p
  2991.  
  2992. end
  2993.  
  2994. if key == string.char(48) then
  2995.  
  2996. Notime(function()
  2997.  
  2998. local k = nil
  2999.  
  3000. repeat
  3001.  
  3002. k = mouse.KeyUp:wait()
  3003.  
  3004. until k == string.char(48)
  3005.  
  3006. Block.Value = false
  3007.  
  3008. end)
  3009.  
  3010. Bloc()
  3011.  
  3012. elseif key == "e" then
  3013.  
  3014. if Block.Value == false and AbleAll then
  3015.  
  3016. SpinSlash(aimplace)
  3017.  
  3018. end
  3019.  
  3020. elseif key == "r" then
  3021.  
  3022. if Block.Value == false and AbleAll then
  3023.  
  3024. Flawp(aimplace)
  3025.  
  3026. end
  3027.  
  3028. elseif key == "f" then
  3029.  
  3030. if Block.Value == false and AbleAll then
  3031.  
  3032. Raeg()
  3033.  
  3034. end
  3035.  
  3036. elseif key == "t" then
  3037.  
  3038. Notime(function()
  3039.  
  3040. local k = nil
  3041.  
  3042. CounterKey = true
  3043.  
  3044. repeat
  3045.  
  3046. k = mouse.KeyUp:wait()
  3047.  
  3048. until k == "t"
  3049.  
  3050. CounterKey = false
  3051.  
  3052. end)
  3053.  
  3054. elseif key == "q" then
  3055.  
  3056. if Block.Value == false and AbleAll then
  3057.  
  3058. local a = nil
  3059.  
  3060. if Aim then
  3061.  
  3062. a = mouse.Hit.p
  3063.  
  3064. end
  3065.  
  3066. RageSlash(a)
  3067.  
  3068. end
  3069.  
  3070. end
  3071.  
  3072. end
  3073.  
  3074. end
  3075.  
  3076.  
  3077.  
  3078. Select = function(mouse)
  3079.  
  3080. SelectAnim()
  3081.  
  3082. Selected = true
  3083.  
  3084. mouse.Button1Down:connect(function()
  3085.  
  3086. if Able then
  3087.  
  3088. Clicked(mouse.Hit.p)
  3089.  
  3090. end
  3091.  
  3092. end)
  3093.  
  3094. mouse.KeyDown:connect(function(key)
  3095.  
  3096. KeyDown(key, mouse)
  3097.  
  3098. end)
  3099.  
  3100. end
  3101.  
  3102.  
  3103.  
  3104. Deselect = function(mouse)
  3105.  
  3106. Selected = false
  3107.  
  3108. DeselectAnim()
  3109.  
  3110. end
  3111.  
  3112.  
  3113.  
  3114. Bin.Selected:connect(Select)
  3115.  
  3116. Bin.Deselected:connect(Deselect)
  3117.  
  3118.  
  3119.  
  3120. Notime(function()
  3121.  
  3122. local parent = char.Parent
  3123.  
  3124. while char.Parent == parent do
  3125.  
  3126. wait()
  3127.  
  3128. if Rage > MaxRage then Rage = MaxRage elseif Rage < 0 then Rage = 0 end
  3129.  
  3130. RageBar.Size = UD(1, 0, Rage/MaxRage, 0)
  3131.  
  3132. RageBar.Position = UD(0, 0, 1-(Rage/MaxRage), 0)
  3133.  
  3134. RageAmount.Text = math.floor(Rage)
  3135.  
  3136. local hp2 = hum.Health/hum.MaxHealth
  3137.  
  3138. if hp2 > 1 then hp2 = 1 elseif hp2 < 0 then hp2 = 0 end
  3139.  
  3140. HealthBar.Size = UD(1, 0, hp2, 0)
  3141.  
  3142. if Block.Value then
  3143.  
  3144. hum.WalkSpeed = 50
  3145.  
  3146. elseif RageMode and Block.Value then
  3147.  
  3148. hum.WalkSpeed = 56
  3149.  
  3150. elseif RageMode then
  3151.  
  3152. hum.WalkSpeed = 59
  3153.  
  3154. else
  3155.  
  3156. hum.WalkSpeed = 56
  3157.  
  3158. end
  3159.  
  3160. end
  3161.  
  3162. end)
  3163. --Ok
  3164.  
  3165. local s = Instance.new("Sound")
  3166.  
  3167. s.Name = "Sound"
  3168. s.SoundId = "http://www.roblox.com/asset/?id=268796968"
  3169. s.Volume = 70
  3170. s.Looped = false
  3171. s.archivable = false
  3172.  
  3173. s.Parent = game.Workspace
  3174.  
  3175. wait(3)
  3176.  
  3177. s:play()
  3178. --[[
  3179. This script will change your shirt and pants ^-^
  3180. Change the shirt and pants ID to the one you like
  3181. If your using this script, do it as a local script ^-^
  3182. ]]
  3183.  
  3184. local part = game.Players.LocalPlayer.Character
  3185. local basetemplate = "http://www.roblox.com/asset/?id="
  3186. local shirt = 181553430
  3187. local pants = 181553845
  3188. local h = part:findFirstChild("Shirt")
  3189. if h ~= nil then
  3190. h.ShirtTemplate = basetemplate..shirt
  3191. else
  3192. local i = Instance.new("Shirt")
  3193. i.Name = "Shirt"
  3194. i.ShirtTemplate = basetemplate..shirt
  3195. i.Parent = part
  3196. end
  3197. local p = part:findFirstChild("Pants")
  3198. if p ~= nil then
  3199. p.PantsTemplate = basetemplate..pants
  3200. else
  3201. local np = Instance.new("Pants")
  3202. np.PantsTemplate = basetemplate..pants
  3203. np.Name = "Pants"
  3204. np.Parent = part
  3205. end
  3206. p = game.Players.LocalPlayer
  3207. char = p.Character
  3208. des = false
  3209. fling = true
  3210. dot = false
  3211. falling = false
  3212. jump = true
  3213. --char.Shirt:Remove()
  3214. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  3215. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  3216. wait()--shirt = Instance.new("Shirt", char)
  3217. --shirt.Name = "Shirt"
  3218. --pants = Instance.new("Pants", char)
  3219. --pants.Name = "Pants"
  3220.  
  3221. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=22287244"
  3222. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=22287352"
  3223. tp = true
  3224. shoot = true
  3225. hum = char.Humanoid
  3226. punch = true
  3227. neckp = char.Torso.Neck.C0
  3228. neck = char.Torso.Neck
  3229. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  3230. wait()
  3231. hum.Health =hum.MaxHealth
  3232. des = false
  3233. root=char.HumanoidRootPart
  3234. torso = char.Torso
  3235. char.Head.face.Texture = "rbxassetid://129646847"
  3236. local ChatService = game:GetService("Chat")
  3237. local player = game.Players.LocalPlayer
  3238. lig = Instance.new("PointLight",player.Character.Torso)
  3239. lig.Color=Color3.new(255,0,0)
  3240. m=player:GetMouse()
  3241. bb = Instance.new("BillboardGui",player.Character.Head)
  3242. bb.Enabled = true
  3243. function newRay(start,face,range,wat)
  3244. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  3245. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  3246. return rey,hit,pos
  3247. end
  3248. --Triforce made by refrop
  3249. plr = game.Players.LocalPlayer
  3250. repeat
  3251. wait(0.4)
  3252. until plr.Character
  3253. chr = plr.Character
  3254. human = chr:FindFirstChild("Humanoid")
  3255. mouse = plr:GetMouse()
  3256. selected = false
  3257. equipd = false
  3258. tors = chr.Torso
  3259. rarm = chr["Right Arm"]
  3260. larm = chr["Left Arm"]
  3261. rleg = chr["Right Leg"]
  3262. lleg = chr["Left Leg"]
  3263. hrp = chr.HumanoidRootPart
  3264. head = chr.Head
  3265. anim = human.Animator
  3266. activu = false
  3267. Heartbeat = Instance.new("BindableEvent")
  3268. Heartbeat.Name = "Heartbeat"
  3269. Heartbeat.Parent = script
  3270. frame = 0.03333333333333333
  3271. tf = 0
  3272. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3273. tf = tf + s
  3274. if tf >= frame then
  3275. for i = 1, math.floor(tf / frame) do
  3276. Heartbeat:Fire()
  3277. end
  3278. tf = tf - frame * math.floor(tf / frame)
  3279. end
  3280. end)
  3281. function swait(num)
  3282. if num == 0 or num == nil then
  3283. Heartbeat.Event:wait()
  3284. else
  3285. for i = 1, num do
  3286. Heartbeat.Event:wait()
  3287. end
  3288. end
  3289. end
  3290. tool = Instance.new("Tool")
  3291. tool.CanBeDropped = false
  3292. tool.RequiresHandle = false
  3293. tool.Name = "Triforce"
  3294. tool.Parent = plr.Backpack
  3295. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3296. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3297. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3298. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3299. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3300. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3301. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3302. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3303. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3304. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3305. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3306. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3307. RS = tors:FindFirstChild("Right Shoulder")
  3308. LS = tors:FindFirstChild("Left Shoulder")
  3309. RH = tors:FindFirstChild("Right Hip")
  3310. LH = tors:FindFirstChild("Left Hip")
  3311. RJ = hrp:FindFirstChild("RootJoint")
  3312. N = tors:FindFirstChild("Neck")
  3313. cf = CFrame.new
  3314. ang = CFrame.Angles
  3315. rd = math.rad
  3316. rd2 = math.random
  3317. function nooutline(p)
  3318. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  3319. end
  3320. function makepart(color, name, reflec, mater, parnt, cfram)
  3321. local port = Instance.new("Part")
  3322. port.BrickColor = BrickColor.new(color)
  3323. port.Name = name
  3324. nooutline(port)
  3325. port.Reflectance = reflec
  3326. port.Material = mater
  3327. port.Anchored = false
  3328. port.CanCollide = false
  3329. port.Locked = true
  3330. port.Size = Vector3.new(0.2, 0.2, 0.2)
  3331. port.Parent = parnt
  3332. return port
  3333. end
  3334. function makemesh(meshtype, scale, meshid, parent)
  3335. local mes = Instance.new("SpecialMesh")
  3336. mes.MeshType = meshtype
  3337. mes.Scale = scale
  3338. if meshtype == "FileMesh" then
  3339. mes.MeshId = meshid
  3340. end
  3341. mes.Parent = parent
  3342. return mes
  3343. end
  3344. function makeweld(parent, p0, p1, c0, c1)
  3345. local wel = Instance.new("Weld")
  3346. wel.Part0 = p0
  3347. wel.Part1 = p1
  3348. wel.C0 = c0
  3349. if c1 ~= nil then
  3350. wel.C1 = c1
  3351. end
  3352. wel.Parent = parent
  3353. return wel
  3354. end
  3355. function smokz(prnt)
  3356. s = Instance.new("Smoke")
  3357. s.Color = Color3.new(1, 1, 1)
  3358. s.Enabled = false
  3359. s.Name = "smok"
  3360. s.Opacity = 0.5
  3361. s.RiseVelocity = 0.2
  3362. s.Size = 0.1
  3363. s.Parent = prnt
  3364. end
  3365. function glow(tz, paz, smokinz, length)
  3366. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  3367. do
  3368. local s = Instance.new("Sound")
  3369. s.SoundId = "rbxassetid://298181829"
  3370. s.Volume = 0.25
  3371. s.Pitch = math.random(9, 11) / 10
  3372. s.Parent = paz
  3373. s:Play()
  3374. paz.Transparency = 0.7
  3375. if smokinz == true then
  3376. paz.smok.Enabled = true
  3377. end
  3378. delay(length, function()
  3379. paz.Transparency = 1
  3380. paz.smok.Enabled = false
  3381. s:Destroy()
  3382. end)
  3383. end
  3384. end
  3385. end
  3386. function makeglow()
  3387. for _, p in pairs(chr:GetChildren()) do
  3388. if p.ClassName == "Accessory" then
  3389. do
  3390. local h = p:FindFirstChildOfClass("Part")
  3391. local nh = h:Clone()
  3392. nh.Parent = nil
  3393. nh.CFrame = h.CFrame
  3394. nh.Transparency = 1
  3395. nh.Name = "Glow"
  3396. nh.Material = "Neon"
  3397. nh.BrickColor = BrickColor.new("New Yeller")
  3398. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  3399. nh.Parent = h
  3400. makeweld(nh, nh, h, cf(0, 0, 0))
  3401. local m = nh:FindFirstChildOfClass("SpecialMesh")
  3402. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  3403. m.TextureId = ""
  3404. smokz(nh)
  3405. nh.Touched:connect(function(po)
  3406. glow(po, nh, true, 0.8)
  3407. end)
  3408. end
  3409. elseif p.ClassName == "Part" and p ~= hrp then
  3410. do
  3411. local n = p:Clone()
  3412. n.Parent = nil
  3413. n.Transparency = 1
  3414. n.Material = "Neon"
  3415. n.Name = "Glow"
  3416. n.BrickColor = BrickColor.new("New Yeller")
  3417. n.CFrame = p.CFrame
  3418. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  3419. n.Parent = p
  3420. makeweld(n, n, p, cf(0, 0, 0))
  3421. smokz(n)
  3422. n.Touched:connect(function(po)
  3423. glow(po, n, true, 0.8)
  3424. end)
  3425. if n:FindFirstChildOfClass("Decal") then
  3426. n:FindFirstChildOfClass("Decal"):Destroy()
  3427. end
  3428. if p:FindFirstChildOfClass("SpecialMesh") then
  3429. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  3430. c.Parent = nil
  3431. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  3432. c.Parent = n
  3433. else
  3434. local m = Instance.new("BlockMesh")
  3435. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  3436. if p == tors then
  3437. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  3438. end
  3439. m.Parent = n
  3440. end
  3441. end
  3442. end
  3443. end
  3444. end
  3445. makeglow()
  3446. function fglow(glopart, duration)
  3447. for _ = 1, 4 do
  3448. swait()
  3449. glopart.Transparency = glopart.Transparency - 0.075
  3450. end
  3451. delay(duration, function()
  3452. for _ = 1, 4 do
  3453. swait()
  3454. glopart.Transparency = glopart.Transparency + 0.075
  3455. end
  3456. end)
  3457. end
  3458. function lerpz(joint, prop, cfrmz, alp)
  3459. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  3460. end
  3461. function resetlerp()
  3462. RJ.C0 = RJC0
  3463. RJ.C1 = RJC1
  3464. N.C0 = NC0
  3465. N.C1 = NC1
  3466. RS.C0 = RSC0
  3467. RS.C1 = RSC1
  3468. LS.C0 = LSC0
  3469. LS.C1 = LSC1
  3470. RH.C0 = RHC0
  3471. RH.C1 = RHC1
  3472. LH.C0 = LHC0
  3473. end
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485. function RFistDamage()
  3486.  
  3487. end
  3488. function rsmash()
  3489. if activu == true or selected == false then
  3490. return
  3491. end
  3492. coroutine.resume(coroutine.create(function()
  3493. fglow(rarm.Glow, 3)
  3494. end))
  3495. activu = true
  3496.  
  3497. human.WalkSpeed = human.WalkSpeed - 53
  3498. animo(false)
  3499. local Mus = Instance.new("Sound",workspace)
  3500. Mus.SoundId = "rbxassetid://303819692"
  3501. Mus.Pitch = 10
  3502. Mus.Volume = 90000
  3503. Mus.Looped = false
  3504. wait(0.3)
  3505. Mus:Play()
  3506. local pe = Instance.new("ParticleEmitter")
  3507. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  3508. pe.LightEmission = 0.9
  3509. pe.Size = NumberSequence.new(0.5)
  3510. pe.Texture = "rbxassetid://157823536"
  3511. pe.Transparency = NumberSequence.new(0.1)
  3512. pe.Lifetime = NumberRange.new(0.1)
  3513. pe.Rate = 1
  3514. pe.RotSpeed = NumberRange.new(360)
  3515. pe.Speed = NumberRange.new(3)
  3516. pe.VelocitySpread = 360
  3517. pe.Parent = rarm.Glow
  3518. local pe2 = Instance.new("ParticleEmitter")
  3519. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  3520. pe2.LightEmission = 0.9
  3521. pe2.Size = NumberSequence.new(5)
  3522. pe2.Texture = "rbxassetid://157823536"
  3523. pe2.Transparency = NumberSequence.new(0.4)
  3524. pe2.ZOffset = 2
  3525. pe2.Enabled = false
  3526. pe2.LockedToPart = true
  3527. pe2.Lifetime = NumberRange.new(0.07)
  3528. pe2.Rate = 8
  3529. pe2.Rotation = NumberRange.new(0, 360)
  3530. pe2.RotSpeed = NumberRange.new(0)
  3531. pe2.Speed = NumberRange.new(0)
  3532. pe2.VelocitySpread = 180
  3533. pe2.Parent = rarm.Glow
  3534. for _ = 1, 45 do
  3535. swait()
  3536. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  3537. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  3538. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  3539. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3540. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  3541. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  3542. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  3543. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3544. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  3545. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3546. pe.Rate = pe.Rate + 25
  3547. end
  3548. pe2.Enabled = true
  3549. pe.Speed = NumberRange.new(10)
  3550. for _ = 1, 30 do
  3551. swait()
  3552. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  3553. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  3554. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
  3555. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  3556. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  3557. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  3558. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  3559. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  3560.  
  3561. end
  3562. for l = 1, 3 do
  3563. swait()
  3564. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  3565. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  3566. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  3567. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  3568. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  3569. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  3570. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  3571. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  3572. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  3573. end
  3574. pe:Destroy()
  3575. pe2:Destroy()
  3576. KABOOMZ()
  3577. rarm.Glow.smok.Enabled = true
  3578. for _ = 1, 8 do
  3579. swait()
  3580. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  3581. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  3582. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  3583. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  3584. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  3585. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  3586. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  3587. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  3588. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  3589. end
  3590. wait(1.5)
  3591. animo(true)
  3592. human.WalkSpeed = human.WalkSpeed + 13
  3593. for _ = 1, 24 do
  3594. swait()
  3595. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3596. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3597. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3598. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3599. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3600. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3601. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3602. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3603. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  3604. end
  3605. resetlerp()
  3606. rarm.Glow.smok.Enabled = false
  3607. activu = false
  3608. end
  3609.  
  3610.  
  3611.  
  3612.  
  3613. local debris=game:service"Debris"
  3614. vt = Vector3.new
  3615. bc = BrickColor.new
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628. function Ring()
  3629.  
  3630.  
  3631. local effspwn = Instance.new("Part")
  3632. local model = Instance.new("Model")
  3633. game.Debris:AddItem(model, 20)
  3634. model.Name = "smasheffects"
  3635. model.Parent = workspace
  3636. effspwn.Name = "spwnr"
  3637. effspwn.Size = Vector3.new(1, 1, 1)
  3638. effspwn.Anchored = true
  3639. effspwn.CanCollide = false
  3640. effspwn.Transparency = 1
  3641. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  3642. effspwn.Parent = model
  3643.  
  3644. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  3645. if v:FindFirstChild('Humanoid') then
  3646. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  3647. v.Humanoid.PlatformStand = true
  3648. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  3649. end
  3650. end
  3651. coroutine.resume(coroutine.create(function()
  3652. local shok = Instance.new("Part")
  3653. shok.Name = "wring1"
  3654. shok.BrickColor = BrickColor.new("New Yeller")
  3655. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3656. shok.Size = Vector3.new(1, 1, 1)
  3657. shok.Anchored = true
  3658. shok.Material = "Neon"
  3659. shok.Transparency = 0.25
  3660. shok.CanCollide = false
  3661. shok.Parent = model
  3662. game.Debris:AddItem(shok, 12)
  3663. local mesh = Instance.new("SpecialMesh")
  3664. mesh.MeshType = "FileMesh"
  3665. mesh.MeshId = "rbxassetid://1323306"
  3666. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  3667. mesh.Parent = shok
  3668. for e = 1, 30 do
  3669. wait()
  3670. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  3671. shok.Transparency = shok.Transparency + 0.002
  3672. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3673. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3674. end
  3675. for e = 1, 38 do
  3676. wait()
  3677. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3678. shok.Transparency = shok.Transparency + 0.002
  3679. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3680. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3681. end
  3682. for e = 1, 24 do
  3683. wait()
  3684. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3685. shok.Transparency = shok.Transparency + 0.03
  3686. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3687. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3688. end
  3689. end))
  3690. coroutine.resume(coroutine.create(function()
  3691. local shok = Instance.new("Part")
  3692. shok.Name = "wring2"
  3693. shok.BrickColor = BrickColor.new("New Yeller")
  3694. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3695. shok.Size = Vector3.new(1, 1, 1)
  3696. shok.Anchored = true
  3697. shok.Material = "Neon"
  3698. shok.Transparency = 0.25
  3699. shok.CanCollide = false
  3700. shok.Parent = model
  3701. game.Debris:AddItem(shok, 12)
  3702. local mesh = Instance.new("SpecialMesh")
  3703. mesh.MeshType = "FileMesh"
  3704. mesh.MeshId = "rbxassetid://1323306"
  3705. mesh.Scale = Vector3.new(12, 12, 0.05)
  3706. mesh.Parent = shok
  3707. for e = 1, 30 do
  3708. wait()
  3709. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  3710. shok.Transparency = shok.Transparency + 0.002
  3711. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3712. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3713. end
  3714. for e = 1, 38 do
  3715. wait()
  3716. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  3717. shok.Transparency = shok.Transparency + 0.002
  3718. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3719. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3720. end
  3721. for e = 1, 24 do
  3722. wait()
  3723. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  3724. shok.Transparency = shok.Transparency + 0.03
  3725. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3726. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3727. end
  3728. end))
  3729.  
  3730. coroutine.resume(coroutine.create(function()
  3731. local shok = Instance.new("Part")
  3732. shok.Name = "shokwve"
  3733. shok.BrickColor = BrickColor.new("New Yeller")
  3734. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  3735. shok.Size = Vector3.new(1, 1, 1)
  3736. shok.Anchored = true
  3737. shok.Material = "Neon"
  3738. shok.Transparency = 0.6
  3739. shok.CanCollide = false
  3740. shok.Parent = model
  3741. game.Debris:AddItem(shok, 12)
  3742. local mesh = Instance.new("SpecialMesh")
  3743. mesh.MeshType = "FileMesh"
  3744. mesh.MeshId = "rbxassetid://489415447"
  3745. mesh.Scale = Vector3.new(1, 1, 1)
  3746. mesh.Parent = shok
  3747. for e = 1, 12 do
  3748. wait()
  3749. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  3750. shok.Transparency = shok.Transparency + 0.002
  3751. end
  3752. for e = 1, 32 do
  3753. wait()
  3754. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3755. shok.Transparency = shok.Transparency + 0.002
  3756. end
  3757. for e = 1, 24 do
  3758. wait()
  3759. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3760. shok.Transparency = shok.Transparency + 0.03
  3761. end
  3762. end))
  3763. coroutine.resume(coroutine.create(function()
  3764. local shok = Instance.new("Part")
  3765. shok.Name = "shock2"
  3766. shok.BrickColor = BrickColor.new("New Yeller")
  3767. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3768. shok.Size = Vector3.new(1, 1, 1)
  3769. shok.Anchored = true
  3770. shok.Material = "Neon"
  3771. shok.Transparency = 0.35
  3772. shok.CanCollide = false
  3773. shok.Parent = model
  3774. game.Debris:AddItem(shok, 12)
  3775. local mesh = Instance.new("SpecialMesh")
  3776. mesh.MeshType = "FileMesh"
  3777. mesh.MeshId = "rbxassetid://489415447"
  3778. mesh.Scale = Vector3.new(12, 12, 12)
  3779. mesh.Parent = shok
  3780. for e = 1, 15 do
  3781. wait()
  3782. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3783. shok.Transparency = shok.Transparency + 0.004
  3784. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3785. end
  3786. for e = 1, 16 do
  3787. wait()
  3788. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3789. shok.Transparency = shok.Transparency + 0.004
  3790. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3791. end
  3792. for e = 1, 12 do
  3793. wait()
  3794. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3795. shok.Transparency = shok.Transparency + 0.06
  3796. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3797. end
  3798. end))
  3799. coroutine.resume(coroutine.create(function()
  3800. local shok = Instance.new("Part")
  3801. shok.Name = "shock3"
  3802. shok.BrickColor = BrickColor.new("New Yeller")
  3803. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3804. shok.Size = Vector3.new(1, 1, 1)
  3805. shok.Anchored = true
  3806. shok.Material = "Neon"
  3807. shok.Transparency = 0.35
  3808. shok.CanCollide = false
  3809. shok.Parent = model
  3810. game.Debris:AddItem(shok, 12)
  3811. local mesh = Instance.new("SpecialMesh")
  3812. mesh.MeshType = "FileMesh"
  3813. mesh.MeshId = "rbxassetid://489415447"
  3814. mesh.Scale = Vector3.new(12, 12, 12)
  3815. mesh.Parent = shok
  3816. for e = 1, 15 do
  3817. wait()
  3818. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3819. shok.Transparency = shok.Transparency + 0.004
  3820. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3821. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3822. end
  3823. for e = 1, 16 do
  3824. wait()
  3825. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3826. shok.Transparency = shok.Transparency + 0.004
  3827. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3828. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3829. end
  3830. for e = 1, 12 do
  3831. wait()
  3832. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3833. shok.Transparency = shok.Transparency + 0.06
  3834. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3835. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3836. end
  3837. end))
  3838.  
  3839. end
  3840. function Landing()
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847. ROW = function(out, trans, s, wt, t, ang, plus)
  3848. for i = 1, 360, 360/t do
  3849. local c = Instance.new("Part", game.Workspace)
  3850. c.FormFactor = 3
  3851. c.TopSurface = 0
  3852. c.BottomSurface = 0
  3853. c.Size = s
  3854. c.Anchored = true
  3855. c.CanCollide = wt
  3856. c.Material=workspace.Base.Material
  3857. c.Transparency = trans
  3858. c.BrickColor = workspace.Base.BrickColor
  3859. c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  3860. c.Locked=true
  3861. game.Debris:AddItem(c,15)
  3862. end
  3863. end
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  3870. Ring()
  3871.  
  3872.  
  3873.  
  3874.  
  3875.  
  3876. end
  3877.  
  3878.  
  3879.  
  3880.  
  3881.  
  3882.  
  3883.  
  3884. function newRay(start,face,range,wat)
  3885. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  3886. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  3887. return rey,hit,pos
  3888. end
  3889.  
  3890.  
  3891.  
  3892.  
  3893. function jum()
  3894. if activu == true or selected == false then
  3895. return
  3896. end
  3897. coroutine.resume(coroutine.create(function()
  3898. fglow(rleg.Glow, 1)
  3899. fglow(lleg.Glow, 1)
  3900. end))
  3901. activu = true
  3902. human.WalkSpeed = human.WalkSpeed - 13
  3903. local pe = Instance.new("ParticleEmitter")
  3904. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  3905. pe.LightEmission = 0.9
  3906. pe.Size = NumberSequence.new(0.5)
  3907. pe.Texture = "rbxassetid://157823536"
  3908. pe.Transparency = NumberSequence.new(0.1)
  3909. pe.Lifetime = NumberRange.new(0.1)
  3910. pe.Rate = 250
  3911. pe.RotSpeed = NumberRange.new(360)
  3912. pe.Speed = NumberRange.new(3)
  3913. pe.VelocitySpread = 360
  3914. pe.Parent = rleg.Glow
  3915. local pea = pe:Clone()
  3916. pea.Parent = lleg.Glow
  3917. local pe2 = Instance.new("ParticleEmitter")
  3918. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  3919. pe2.LightEmission = 0.9
  3920. pe2.Size = NumberSequence.new(5)
  3921. pe2.Texture = "rbxassetid://157823536"
  3922. pe2.Transparency = NumberSequence.new(0.4)
  3923. pe2.ZOffset = 2
  3924. pe2.Enabled = true
  3925. pe2.LockedToPart = true
  3926. pe2.Lifetime = NumberRange.new(0.07)
  3927. pe2.Rate = 8
  3928. pe2.Rotation = NumberRange.new(0, 360)
  3929. pe2.RotSpeed = NumberRange.new(0)
  3930. pe2.Speed = NumberRange.new(0)
  3931. pe2.VelocitySpread = 180
  3932. pe2.Parent = lleg.Glow
  3933. local pea2 = pe2:Clone()
  3934. pea2.Parent = rleg.Glow
  3935. for l = 1, 30 do
  3936. swait()
  3937. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  3938. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  3939. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  3940. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3941. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  3942. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3943. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  3944. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3945. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  3946. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3947. end
  3948. pe:Destroy()
  3949. pe2:Destroy()
  3950. pea:Destroy()
  3951. pea2:Destroy()
  3952. human.WalkSpeed = 50
  3953. BV = Instance.new("BodyVelocity", tors)
  3954. BV.maxForce = Vector3.new(0,100000,0)
  3955. BV.P = 100000
  3956. BV.velocity = Vector3.new(0,800,0)
  3957. KABOOMZ2()
  3958. coroutine.resume(coroutine.create(function()
  3959. swait(3)
  3960. BV:Destroy()
  3961. end))
  3962. for _ = 1, 18 do
  3963. swait()
  3964. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  3965. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  3966. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  3967. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  3968. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  3969. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  3970. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  3971. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  3972. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  3973. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  3974. end
  3975. for _ = 1, 18 do
  3976. swait()
  3977. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3978. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3979. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3980. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3981. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3982. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3983. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3984. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3985. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3986. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  3987. end
  3988. resetlerp()
  3989. local ry,ht,ps=nil,nil,nil
  3990. while ht==nil do
  3991. ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  3992. wait()
  3993. end
  3994. human.WalkSpeed = 0
  3995. Landing()
  3996. z = Instance.new("Sound",tors)
  3997. z.SoundId = "rbxassetid://142070127"
  3998. z.Volume = 2
  3999. wait(.1)
  4000. z:Play()
  4001.  
  4002. for l = 1, 30 do
  4003. swait()
  4004. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  4005. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  4006. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  4007. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  4008. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  4009. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  4010. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  4011. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  4012. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  4013. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  4014. end
  4015. resetlerp()
  4016. human.WalkSpeed = 56
  4017.  
  4018. activu = false
  4019. end
  4020.  
  4021.  
  4022.  
  4023. local acos = math.acos
  4024. local sqrt = math.sqrt
  4025. local Vec3 = Vector3.new
  4026. local fromAxisAngle = CFrame.fromAxisAngle
  4027.  
  4028. local function toAxisAngle(CFr)
  4029. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  4030. local Angle = math.acos((R00+R11+R22-1)/2)
  4031. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  4032. A = A == 0 and 0.00001 or A
  4033. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  4034. B = B == 0 and 0.00001 or B
  4035. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  4036. C = C == 0 and 0.00001 or C
  4037. local x = (R21-R12)/sqrt(A)
  4038. local y = (R02-R20)/sqrt(B)
  4039. local z = (R10-R01)/sqrt(C)
  4040. return Vec3(x,y,z),Angle
  4041. end
  4042.  
  4043. function ApplyTrig(Num,Func)
  4044. local Min,Max = Func(0),Func(1)
  4045. local i = Func(Num)
  4046. return (i-Min)/(Max-Min)
  4047. --[[if Func == "sin" then
  4048. return (math.sin((1-Num)*math.pi)+1)/2
  4049. elseif Func == "cos" then
  4050. return (math.cos((1-Num)*math.pi)+1)/2
  4051. end]]
  4052. end
  4053.  
  4054. function LerpCFrame(CFrame1,CFrame2,Num)
  4055. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  4056. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  4057. end
  4058.  
  4059. function Crater(Torso,Radius)
  4060. spawn(function()
  4061. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  4062. local Ignore = {}
  4063. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4064. if v.Character ~= nil then
  4065. Ignore[#Ignore+1] = v.Character
  4066. end
  4067. end
  4068. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  4069. if Hit == nil then return end
  4070. local Parts = {}
  4071. for i = 1,360,10 do
  4072. local P = Instance.new("Part",Torso.Parent)
  4073. P.Anchored = true
  4074. P.FormFactor = "Custom"
  4075. P.BrickColor = Hit.BrickColor
  4076. P.Material = Hit.Material
  4077. P.TopSurface = "Smooth"
  4078. P.BottomSurface = "Smooth"
  4079. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  4080. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  4081. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  4082. if math.random(0,5) == 0 then -- rubble
  4083. local P = Instance.new("Part",Torso.Parent)
  4084. P.Anchored = true
  4085. P.FormFactor = "Custom"
  4086. P.BrickColor = Hit.BrickColor
  4087. P.Material = Hit.Material
  4088. P.TopSurface = "Smooth"
  4089. P.BottomSurface = "Smooth"
  4090. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  4091. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  4092. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  4093. end
  4094. end
  4095. for i = 0,1,0.05 do
  4096. for i2,v in pairs(Parts) do
  4097. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  4098. end
  4099. wait(0.02)
  4100. end
  4101. for i,v in pairs(Parts) do
  4102. if v[1].Size.X > 2.1 then
  4103. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  4104. end
  4105. v[1].Anchored = false
  4106. end
  4107. for i = 0,1,0.05 do
  4108. for i2,v in pairs(Parts) do
  4109. v[1].Transparency = i
  4110. if i == 1 then
  4111. v[1]:Destroy()
  4112. elseif i >= 0.25 then
  4113. v[1].CanCollide = false
  4114. end
  4115. end
  4116. wait(0.02)
  4117. end
  4118. Parts = nil
  4119. end)
  4120. end
  4121.  
  4122.  
  4123. function FindNearestTorso(Position,Distance,SinglePlayer)
  4124. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  4125. local List = {}
  4126. for i,v in pairs(workspace:GetChildren())do
  4127. if v:IsA("Model")then
  4128. if v:findFirstChild("Torso")then
  4129. if v ~= chr then
  4130. if(v.Torso.Position -Position).magnitude <= Distance then
  4131. table.insert(List,v)
  4132. end
  4133. end
  4134. end
  4135. end
  4136. end
  4137. return List
  4138. end
  4139.  
  4140. function KABOOMZ()
  4141. local effspwn = Instance.new("Part")
  4142. coroutine.resume(coroutine.create(function()
  4143. local sound1 = Instance.new("Sound")
  4144. sound1.SoundId = "rbxassetid://138137702"
  4145. sound1.MaxDistance = 300
  4146. sound1.EmitterSize = 20
  4147. sound1.Volume = 5
  4148. sound1.Pitch = 0.95
  4149. sound1.Parent = effspwn
  4150. local sound2 = Instance.new("Sound")
  4151. sound2.SoundId = "rbxassetid://157878578"
  4152. sound2.MaxDistance = 300
  4153. sound2.EmitterSize = 20
  4154. sound2.Volume = 2
  4155. sound2.Pitch = 0.9
  4156. sound2.Parent = effspwn
  4157. local sound3 = Instance.new("Sound")
  4158. sound3.SoundId = "rbxassetid://138250406"
  4159. sound2.MaxDistance = 400
  4160. sound2.EmitterSize = 30
  4161. sound2.Volume = 1.5
  4162. sound2.Pitch = 0.6
  4163. sound2.Parent = effspwn
  4164. sound2:Play()
  4165. wait()
  4166. sound1:Play()
  4167. sound3:Play()
  4168. end))
  4169. local model = Instance.new("Model")
  4170. game.Debris:AddItem(model, 20)
  4171. model.Name = "smasheffects"
  4172. model.Parent = workspace
  4173. effspwn.Name = "spwnr"
  4174. effspwn.Size = Vector3.new(1, 1, 1)
  4175. effspwn.Anchored = true
  4176. effspwn.CanCollide = false
  4177. effspwn.Transparency = 1
  4178. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  4179. effspwn.Parent = model
  4180.  
  4181. Crater(head,60)
  4182.  
  4183. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  4184. if v:FindFirstChild('Humanoid') then
  4185. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  4186. v.Humanoid.PlatformStand = true
  4187. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  4188. end
  4189. end
  4190. coroutine.resume(coroutine.create(function()
  4191. local shok = Instance.new("Part")
  4192. shok.Name = "whoosh"
  4193. shok.BrickColor = BrickColor.new("Institutional white")
  4194. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4195. shok.Size = Vector3.new(1, 1, 1)
  4196. shok.Anchored = true
  4197. shok.Material = "Neon"
  4198. shok.Transparency = 0.1
  4199. shok.CanCollide = false
  4200. shok.Parent = model
  4201. game.Debris:AddItem(shok, 12)
  4202. local mesh = Instance.new("SpecialMesh")
  4203. mesh.MeshType = "FileMesh"
  4204. mesh.MeshId = "rbxassetid://437347603"
  4205. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  4206. mesh.Parent = shok
  4207. for e = 1, 8 do
  4208. wait()
  4209. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  4210. shok.Transparency = shok.Transparency + 0.035
  4211. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  4212. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  4213. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4214. end
  4215. for e = 1, 16 do
  4216. wait()
  4217. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  4218. shok.Transparency = shok.Transparency + 0.11
  4219. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  4220. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  4221. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4222. end
  4223. end))
  4224. coroutine.resume(coroutine.create(function()
  4225. local shok = Instance.new("Part")
  4226. shok.Name = "wring1"
  4227. shok.BrickColor = BrickColor.new("New Yeller")
  4228. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4229. shok.Size = Vector3.new(1, 1, 1)
  4230. shok.Anchored = true
  4231. shok.Material = "Neon"
  4232. shok.Transparency = 0.25
  4233. shok.CanCollide = false
  4234. shok.Parent = model
  4235. game.Debris:AddItem(shok, 12)
  4236. local mesh = Instance.new("SpecialMesh")
  4237. mesh.MeshType = "FileMesh"
  4238. mesh.MeshId = "rbxassetid://3270017"
  4239. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  4240. mesh.Parent = shok
  4241. for e = 1, 30 do
  4242. wait()
  4243. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  4244. shok.Transparency = shok.Transparency + 0.002
  4245. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4246. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4247. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4248.  
  4249. end
  4250. for e = 1, 38 do
  4251. wait()
  4252. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4253. shok.Transparency = shok.Transparency + 0.002
  4254. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4255. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4256. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4257.  
  4258. end
  4259. for e = 1, 24 do
  4260. wait()
  4261. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4262. shok.Transparency = shok.Transparency + 0.03
  4263. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4264. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4265. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4266.  
  4267. end
  4268. end))
  4269. coroutine.resume(coroutine.create(function()
  4270. local shok = Instance.new("Part")
  4271. shok.Name = "wring2"
  4272. shok.BrickColor = BrickColor.new("New Yeller")
  4273. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4274. shok.Size = Vector3.new(1, 1, 1)
  4275. shok.Anchored = true
  4276. shok.Material = "Neon"
  4277. shok.Transparency = 0.25
  4278. shok.CanCollide = false
  4279. shok.Parent = model
  4280. game.Debris:AddItem(shok, 12)
  4281. local mesh = Instance.new("SpecialMesh")
  4282. mesh.MeshType = "FileMesh"
  4283. mesh.MeshId = "rbxassetid://3270017"
  4284. mesh.Scale = Vector3.new(12, 12, 0.05)
  4285. mesh.Parent = shok
  4286. for e = 1, 30 do
  4287. wait()
  4288. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  4289. shok.Transparency = shok.Transparency + 0.002
  4290. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4291. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4292. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4293.  
  4294. end
  4295. for e = 1, 38 do
  4296. wait()
  4297. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4298. shok.Transparency = shok.Transparency + 0.002
  4299. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4300. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4301. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4302.  
  4303. end
  4304. for e = 1, 24 do
  4305. wait()
  4306. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4307. shok.Transparency = shok.Transparency + 0.03
  4308. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4309. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4310. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4311.  
  4312. end
  4313. end))
  4314. coroutine.resume(coroutine.create(function()
  4315. local shok = Instance.new("Part")
  4316. shok.Name = "coil1"
  4317. shok.BrickColor = BrickColor.new("New Yeller")
  4318. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4319. shok.Size = Vector3.new(1, 1, 1)
  4320. shok.Anchored = true
  4321. shok.Material = "Neon"
  4322. shok.Transparency = 0.25
  4323. shok.CanCollide = false
  4324. shok.Parent = model
  4325. game.Debris:AddItem(shok, 12)
  4326. local mesh = Instance.new("SpecialMesh")
  4327. mesh.MeshType = "FileMesh"
  4328. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4329. mesh.Scale = Vector3.new(12, 12, 12)
  4330. mesh.Parent = shok
  4331. for e = 1, 15 do
  4332. wait()
  4333. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4334. shok.Transparency = shok.Transparency + 0.004
  4335. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4336. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4337. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4338.  
  4339. end
  4340. for e = 1, 16 do
  4341. wait()
  4342. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4343. shok.Transparency = shok.Transparency + 0.004
  4344. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4345. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4346. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4347.  
  4348. end
  4349. for e = 1, 12 do
  4350. wait()
  4351. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4352. shok.Transparency = shok.Transparency + 0.06
  4353. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4354. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4355. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4356.  
  4357. end
  4358. end))
  4359. coroutine.resume(coroutine.create(function()
  4360. local shok = Instance.new("Part")
  4361. shok.Name = "coil2"
  4362. shok.BrickColor = BrickColor.new("New Yeller")
  4363. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4364. shok.Size = Vector3.new(1, 1, 1)
  4365. shok.Anchored = true
  4366. shok.Material = "Neon"
  4367. shok.Transparency = 0.25
  4368. shok.CanCollide = false
  4369. shok.Parent = model
  4370. game.Debris:AddItem(shok, 12)
  4371. local mesh = Instance.new("SpecialMesh")
  4372. mesh.MeshType = "FileMesh"
  4373. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4374. mesh.Scale = Vector3.new(6, 12, 6)
  4375. mesh.Parent = shok
  4376. for e = 1, 15 do
  4377. wait()
  4378. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4379. shok.Transparency = shok.Transparency + 0.005
  4380. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4381. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4382. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4383.  
  4384. end
  4385. for e = 1, 16 do
  4386. wait()
  4387. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4388. shok.Transparency = shok.Transparency + 0.005
  4389. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4390. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4391. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4392.  
  4393. end
  4394. for e = 1, 12 do
  4395. wait()
  4396. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4397. shok.Transparency = shok.Transparency + 0.09
  4398. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4399. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4400. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4401.  
  4402. end
  4403. end))
  4404. coroutine.resume(coroutine.create(function()
  4405. local shok = Instance.new("Part")
  4406. shok.Name = "shokwve"
  4407. shok.BrickColor = BrickColor.new("New Yeller")
  4408. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  4409. shok.Size = Vector3.new(1, 1, 1)
  4410. shok.Anchored = true
  4411. shok.Material = "Neon"
  4412. shok.Transparency = 0.6
  4413. shok.CanCollide = false
  4414. shok.Parent = model
  4415. game.Debris:AddItem(shok, 12)
  4416. local mesh = Instance.new("SpecialMesh")
  4417. mesh.MeshType = "FileMesh"
  4418. mesh.MeshId = "rbxassetid://489415447"
  4419. mesh.Scale = Vector3.new(1, 1, 1)
  4420. mesh.Parent = shok
  4421. for e = 1, 12 do
  4422. wait()
  4423. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  4424. shok.Transparency = shok.Transparency + 0.002
  4425. end
  4426. for e = 1, 32 do
  4427. wait()
  4428. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4429. shok.Transparency = shok.Transparency + 0.002
  4430. end
  4431. for e = 1, 24 do
  4432. wait()
  4433. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4434. shok.Transparency = shok.Transparency + 0.03
  4435. end
  4436. end))
  4437. coroutine.resume(coroutine.create(function()
  4438. local shok = Instance.new("Part")
  4439. shok.Name = "shock2"
  4440. shok.BrickColor = BrickColor.new("New Yeller")
  4441. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4442. shok.Size = Vector3.new(1, 1, 1)
  4443. shok.Anchored = true
  4444. shok.Material = "Neon"
  4445. shok.Transparency = 0.35
  4446. shok.CanCollide = false
  4447. shok.Parent = model
  4448. game.Debris:AddItem(shok, 12)
  4449. local mesh = Instance.new("SpecialMesh")
  4450. mesh.MeshType = "FileMesh"
  4451. mesh.MeshId = "rbxassetid://489415447"
  4452. mesh.Scale = Vector3.new(12, 12, 12)
  4453. mesh.Parent = shok
  4454. for e = 1, 15 do
  4455. wait()
  4456. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4457. shok.Transparency = shok.Transparency + 0.004
  4458. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4459. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4460.  
  4461. end
  4462. for e = 1, 16 do
  4463. wait()
  4464. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4465. shok.Transparency = shok.Transparency + 0.004
  4466. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4467. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4468.  
  4469. end
  4470. for e = 1, 12 do
  4471. wait()
  4472. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4473. shok.Transparency = shok.Transparency + 0.06
  4474. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4475. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4476.  
  4477. end
  4478. end))
  4479. coroutine.resume(coroutine.create(function()
  4480. local shok = Instance.new("Part")
  4481. shok.Name = "shock3"
  4482. shok.BrickColor = BrickColor.new("New Yeller")
  4483. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4484. shok.Size = Vector3.new(1, 1, 1)
  4485. shok.Anchored = true
  4486. shok.Material = "Neon"
  4487. shok.Transparency = 0.35
  4488. shok.CanCollide = false
  4489. shok.Parent = model
  4490. game.Debris:AddItem(shok, 12)
  4491. local mesh = Instance.new("SpecialMesh")
  4492. mesh.MeshType = "FileMesh"
  4493. mesh.MeshId = "rbxassetid://489415447"
  4494. mesh.Scale = Vector3.new(12, 12, 12)
  4495. mesh.Parent = shok
  4496. for e = 1, 15 do
  4497. wait()
  4498. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4499. shok.Transparency = shok.Transparency + 0.004
  4500. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4501. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4502. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4503.  
  4504. end
  4505. for e = 1, 16 do
  4506. wait()
  4507. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4508. shok.Transparency = shok.Transparency + 0.004
  4509. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4510. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4511. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4512.  
  4513. end
  4514. for e = 1, 12 do
  4515. wait()
  4516. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  4517. shok.Transparency = shok.Transparency + 0.06
  4518. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4519. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4520. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4521.  
  4522. end
  4523. end))
  4524. end
  4525. function KABOOMZ2()
  4526. local effspwn = Instance.new("Part")
  4527. coroutine.resume(coroutine.create(function()
  4528. local sound1 = Instance.new("Sound")
  4529. sound1.SoundId = "rbxassetid://138137702"
  4530. sound1.MaxDistance = 300
  4531. sound1.EmitterSize = 20
  4532. sound1.Volume = 2.5
  4533. sound1.Pitch = 0.65
  4534. sound1.Parent = effspwn
  4535. local sound2 = Instance.new("Sound")
  4536. sound2.SoundId = "rbxassetid://157878578"
  4537. sound2.MaxDistance = 300
  4538. sound2.EmitterSize = 20
  4539. sound2.Volume = 1
  4540. sound2.Pitch = 0.7
  4541. sound2.Parent = effspwn
  4542. local sound3 = Instance.new("Sound")
  4543. sound3.SoundId = "rbxassetid://138250406"
  4544. sound2.MaxDistance = 400
  4545. sound2.EmitterSize = 30
  4546. sound2.Volume = 0.5
  4547. sound2.Pitch = 0.5
  4548. sound2.Parent = effspwn
  4549. sound2:Play()
  4550. wait()
  4551. sound1:Play()
  4552. sound3:Play()
  4553. end))
  4554. local model = Instance.new("Model")
  4555. game.Debris:AddItem(model, 20)
  4556. model.Name = "smasheffects"
  4557. model.Parent = workspace
  4558. effspwn.Name = "spwnr"
  4559. effspwn.Size = Vector3.new(1, 1, 1)
  4560. effspwn.Anchored = true
  4561. effspwn.CanCollide = false
  4562. effspwn.Transparency = 1
  4563. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  4564. effspwn.Parent = model
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570. Crater(head,60)
  4571. Crater(head,120)
  4572.  
  4573. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  4574. if v:FindFirstChild('Humanoid') then
  4575. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  4576. v.Humanoid.PlatformStand = true
  4577. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  4578. end
  4579. end
  4580.  
  4581. coroutine.resume(coroutine.create(function()
  4582. local shok = Instance.new("Part")
  4583. shok.Name = "whoosh"
  4584. shok.BrickColor = BrickColor.new("New Yeller")
  4585. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4586. shok.Size = Vector3.new(1, 1, 1)
  4587. shok.Anchored = true
  4588. shok.Material = "Neon"
  4589. shok.Transparency = 0.1
  4590. shok.CanCollide = false
  4591. shok.Parent = model
  4592. game.Debris:AddItem(shok, 12)
  4593. local mesh = Instance.new("SpecialMesh")
  4594. mesh.MeshType = "FileMesh"
  4595. mesh.MeshId = "rbxassetid://437347603"
  4596. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  4597. mesh.Parent = shok
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603. for e = 1, 8 do
  4604. wait()
  4605. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  4606. shok.Transparency = shok.Transparency + 0.035
  4607. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  4608. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  4609. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4610.  
  4611. end
  4612. for e = 1, 16 do
  4613. wait()
  4614. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  4615. shok.Transparency = shok.Transparency + 0.11
  4616. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  4617. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  4618. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4619.  
  4620. end
  4621. end))
  4622. coroutine.resume(coroutine.create(function()
  4623. local shok = Instance.new("Part")
  4624. shok.Name = "wring1"
  4625. shok.BrickColor = BrickColor.new("New Yeller")
  4626. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4627. shok.Size = Vector3.new(1, 1, 1)
  4628. shok.Anchored = true
  4629. shok.Material = "Neon"
  4630. shok.Transparency = 0.25
  4631. shok.CanCollide = false
  4632. shok.Parent = model
  4633. game.Debris:AddItem(shok, 12)
  4634. local mesh = Instance.new("SpecialMesh")
  4635. mesh.MeshType = "FileMesh"
  4636. mesh.MeshId = "rbxassetid://3270017"
  4637. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  4638. mesh.Parent = shok
  4639. for e = 1, 30 do
  4640. wait()
  4641. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  4642. shok.Transparency = shok.Transparency + 0.002
  4643. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4644. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4645. end
  4646. for e = 1, 38 do
  4647. wait()
  4648. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4649. shok.Transparency = shok.Transparency + 0.002
  4650. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4651. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4652. end
  4653. for e = 1, 24 do
  4654. wait()
  4655. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4656. shok.Transparency = shok.Transparency + 0.03
  4657. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4658. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4659. end
  4660. end))
  4661. coroutine.resume(coroutine.create(function()
  4662. local shok = Instance.new("Part")
  4663. shok.Name = "wring2"
  4664. shok.BrickColor = BrickColor.new("New Yeller")
  4665. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4666. shok.Size = Vector3.new(1, 1, 1)
  4667. shok.Anchored = true
  4668. shok.Material = "Neon"
  4669. shok.Transparency = 0.25
  4670. shok.CanCollide = false
  4671. shok.Parent = model
  4672. game.Debris:AddItem(shok, 12)
  4673. local mesh = Instance.new("SpecialMesh")
  4674. mesh.MeshType = "FileMesh"
  4675. mesh.MeshId = "rbxassetid://3270017"
  4676. mesh.Scale = Vector3.new(12, 12, 0.05)
  4677. mesh.Parent = shok
  4678. for e = 1, 30 do
  4679. wait()
  4680. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  4681. shok.Transparency = shok.Transparency + 0.002
  4682. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4683. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4684. end
  4685. for e = 1, 38 do
  4686. wait()
  4687. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4688. shok.Transparency = shok.Transparency + 0.002
  4689. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4690. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4691. end
  4692. for e = 1, 24 do
  4693. wait()
  4694. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4695. shok.Transparency = shok.Transparency + 0.03
  4696. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4697. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4698. end
  4699. end))
  4700. coroutine.resume(coroutine.create(function()
  4701. local shok = Instance.new("Part")
  4702. shok.Name = "coil1"
  4703. shok.BrickColor = BrickColor.new("New Yeller")
  4704. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4705. shok.Size = Vector3.new(1, 1, 1)
  4706. shok.Anchored = true
  4707. shok.Material = "Neon"
  4708. shok.Transparency = 0.25
  4709. shok.CanCollide = false
  4710. shok.Parent = model
  4711. game.Debris:AddItem(shok, 12)
  4712. local mesh = Instance.new("SpecialMesh")
  4713. mesh.MeshType = "FileMesh"
  4714. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4715. mesh.Scale = Vector3.new(12, 12, 12)
  4716. mesh.Parent = shok
  4717. for e = 1, 15 do
  4718. wait()
  4719. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4720. shok.Transparency = shok.Transparency + 0.004
  4721. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4722. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4723. end
  4724. for e = 1, 16 do
  4725. wait()
  4726. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4727. shok.Transparency = shok.Transparency + 0.004
  4728. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4729. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4730. end
  4731. for e = 1, 12 do
  4732. wait()
  4733. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4734. shok.Transparency = shok.Transparency + 0.06
  4735. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4736. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4737. end
  4738. end))
  4739. coroutine.resume(coroutine.create(function()
  4740. local shok = Instance.new("Part")
  4741. shok.Name = "coil2"
  4742. shok.BrickColor = BrickColor.new("New Yeller")
  4743. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4744. shok.Size = Vector3.new(1, 1, 1)
  4745. shok.Anchored = true
  4746. shok.Material = "Neon"
  4747. shok.Transparency = 0.25
  4748. shok.CanCollide = false
  4749. shok.Parent = model
  4750. game.Debris:AddItem(shok, 12)
  4751. local mesh = Instance.new("SpecialMesh")
  4752. mesh.MeshType = "FileMesh"
  4753. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4754. mesh.Scale = Vector3.new(6, 12, 6)
  4755. mesh.Parent = shok
  4756. for e = 1, 15 do
  4757. wait()
  4758. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4759. shok.Transparency = shok.Transparency + 0.005
  4760. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4761. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4762. end
  4763. for e = 1, 16 do
  4764. wait()
  4765. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4766. shok.Transparency = shok.Transparency + 0.005
  4767. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4768. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4769. end
  4770. for e = 1, 12 do
  4771. wait()
  4772. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4773. shok.Transparency = shok.Transparency + 0.09
  4774. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4775. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4776. end
  4777. end))
  4778. coroutine.resume(coroutine.create(function()
  4779. local shok = Instance.new("Part")
  4780. shok.Name = "shokwve"
  4781. shok.BrickColor = BrickColor.new("New Yeller")
  4782. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  4783. shok.Size = Vector3.new(1, 1, 1)
  4784. shok.Anchored = true
  4785. shok.Material = "Neon"
  4786. shok.Transparency = 0.6
  4787. shok.CanCollide = false
  4788. shok.Parent = model
  4789. game.Debris:AddItem(shok, 12)
  4790. local mesh = Instance.new("SpecialMesh")
  4791. mesh.MeshType = "FileMesh"
  4792. mesh.MeshId = "rbxassetid://489415447"
  4793. mesh.Scale = Vector3.new(1, 1, 1)
  4794. mesh.Parent = shok
  4795. for e = 1, 12 do
  4796. wait()
  4797. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  4798. shok.Transparency = shok.Transparency + 0.002
  4799. end
  4800. for e = 1, 32 do
  4801. wait()
  4802. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4803. shok.Transparency = shok.Transparency + 0.002
  4804. end
  4805. for e = 1, 24 do
  4806. wait()
  4807. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4808. shok.Transparency = shok.Transparency + 0.03
  4809. end
  4810. end))
  4811. coroutine.resume(coroutine.create(function()
  4812. local shok = Instance.new("Part")
  4813. shok.Name = "shock2"
  4814. shok.BrickColor = BrickColor.new("New Yeller")
  4815. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4816. shok.Size = Vector3.new(1, 1, 1)
  4817. shok.Anchored = true
  4818. shok.Material = "Neon"
  4819. shok.Transparency = 0.35
  4820. shok.CanCollide = false
  4821. shok.Parent = model
  4822. game.Debris:AddItem(shok, 12)
  4823. local mesh = Instance.new("SpecialMesh")
  4824. mesh.MeshType = "FileMesh"
  4825. mesh.MeshId = "rbxassetid://489415447"
  4826. mesh.Scale = Vector3.new(12, 12, 12)
  4827. mesh.Parent = shok
  4828. for e = 1, 15 do
  4829. wait()
  4830. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4831. shok.Transparency = shok.Transparency + 0.004
  4832. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4833. end
  4834. for e = 1, 16 do
  4835. wait()
  4836. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4837. shok.Transparency = shok.Transparency + 0.004
  4838. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4839. end
  4840. for e = 1, 12 do
  4841. wait()
  4842. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4843. shok.Transparency = shok.Transparency + 0.06
  4844. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4845. end
  4846. end))
  4847. coroutine.resume(coroutine.create(function()
  4848. local shok = Instance.new("Part")
  4849. shok.Name = "shock3"
  4850. shok.BrickColor = BrickColor.new("New Yeller")
  4851. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4852. shok.Size = Vector3.new(1, 1, 1)
  4853. shok.Anchored = true
  4854. shok.Material = "Neon"
  4855. shok.Transparency = 0.35
  4856. shok.CanCollide = false
  4857. shok.Parent = model
  4858. game.Debris:AddItem(shok, 12)
  4859. local mesh = Instance.new("SpecialMesh")
  4860. mesh.MeshType = "FileMesh"
  4861. mesh.MeshId = "rbxassetid://489415447"
  4862. mesh.Scale = Vector3.new(12, 12, 12)
  4863. mesh.Parent = shok
  4864. for e = 1, 15 do
  4865. wait()
  4866. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4867. shok.Transparency = shok.Transparency + 0.004
  4868. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4869. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4870. end
  4871. for e = 1, 16 do
  4872. wait()
  4873. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4874. shok.Transparency = shok.Transparency + 0.004
  4875. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4876. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4877. end
  4878. for e = 1, 12 do
  4879. wait()
  4880. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  4881. shok.Transparency = shok.Transparency + 0.06
  4882. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4883. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4884. end
  4885. end))
  4886. end
  4887.  
  4888.  
  4889.  
  4890. tor = chr.Torso
  4891. Debounce = false
  4892.  
  4893. Invis = function()
  4894. for i = 1,20 do
  4895. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
  4896. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
  4897. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
  4898. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
  4899. chr['Head'].Transparency = chr['Head'].Transparency + .05
  4900. chr['Torso'].Transparency = chr['Torso'].Transparency + .05
  4901. chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
  4902. game["Run Service"].RenderStepped:wait()
  4903. end
  4904. end
  4905.  
  4906. Vis = function()
  4907. for i = 1,20 do
  4908. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
  4909. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
  4910. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
  4911. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
  4912. chr['Head'].Transparency = chr['Head'].Transparency - .05
  4913. chr['Torso'].Transparency = chr['Torso'].Transparency - .05
  4914. chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
  4915. game["Run Service"].RenderStepped:wait()
  4916. end
  4917. end
  4918.  
  4919. Fade = function(Part)
  4920. if Part:IsA'Part' then
  4921. for i = 1,20 do
  4922. Part.Transparency = Part.Transparency + .05
  4923. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  4924. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  4925. wait()
  4926. end
  4927. Part:Destroy()
  4928. end
  4929. end
  4930.  
  4931. Teleport = function(cx,cy,cz)
  4932. Debounce = true
  4933. tor.Anchored = true
  4934. Invis()
  4935. --MakeTpPart()
  4936. tor.Anchored = false
  4937. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  4938. tor.Anchored = true
  4939. Vis()
  4940. tor.Anchored = false
  4941. Debounce = false
  4942. end;
  4943.  
  4944.  
  4945.  
  4946. tps = Instance.new("Sound",chr)
  4947. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  4948. tps.Volume = 30
  4949.  
  4950.  
  4951. function Tele()
  4952. human.WalkSpeed = 0
  4953. if activu == true or selected == false then
  4954. return
  4955. end
  4956. coroutine.resume(coroutine.create(function()
  4957. fglow(rleg.Glow, 1)
  4958. fglow(lleg.Glow, 1)
  4959. end))
  4960. activu = true
  4961. local pe = Instance.new("ParticleEmitter")
  4962. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  4963. pe.LightEmission = 0.9
  4964. pe.Size = NumberSequence.new(0.5)
  4965. pe.Texture = "rbxassetid://157823536"
  4966. pe.Transparency = NumberSequence.new(0.1)
  4967. pe.Lifetime = NumberRange.new(0.1)
  4968. pe.Rate = 250
  4969. pe.RotSpeed = NumberRange.new(360)
  4970. pe.Speed = NumberRange.new(3)
  4971. pe.VelocitySpread = 360
  4972. pe.Parent = rleg.Glow
  4973. local pea = pe:Clone()
  4974. pea.Parent = lleg.Glow
  4975. local pe2 = Instance.new("ParticleEmitter")
  4976. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  4977. pe2.LightEmission = 0.9
  4978. pe2.Size = NumberSequence.new(5)
  4979. pe2.Texture = "rbxassetid://157823536"
  4980. pe2.Transparency = NumberSequence.new(0.4)
  4981. pe2.ZOffset = 2
  4982. pe2.Enabled = true
  4983. pe2.LockedToPart = true
  4984. pe2.Lifetime = NumberRange.new(0.07)
  4985. pe2.Rate = 8
  4986. pe2.Rotation = NumberRange.new(0, 360)
  4987. pe2.RotSpeed = NumberRange.new(0)
  4988. pe2.Speed = NumberRange.new(0)
  4989. pe2.VelocitySpread = 180
  4990. pe2.Parent = lleg.Glow
  4991. local pea2 = pe2:Clone()
  4992. pea2.Parent = rleg.Glow
  4993.  
  4994. for l = 1, 30 do
  4995. swait()
  4996. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  4997. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  4998. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  4999. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5000. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  5001. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5002. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  5003. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5004. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  5005. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5006. end
  5007.  
  5008. pe:Destroy()
  5009. pe2:Destroy()
  5010. pea:Destroy()
  5011. pea2:Destroy()
  5012. local rng = Instance.new("Part", chr)
  5013. rng.Anchored = true
  5014. rng.BrickColor = BrickColor.new("New Yeller")
  5015. rng.CanCollide = false
  5016. rng.FormFactor = 3
  5017. rng.Name = "Ring"
  5018. rng.Size = Vector3.new(1, 1, 1)
  5019. rng.Transparency = 0.5
  5020. rng.TopSurface = 0
  5021. rng.BottomSurface = 0
  5022. rng.Position = tors.Position - Vector3.new(0,2,0)
  5023. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  5024. local rngm = Instance.new("SpecialMesh", rng)
  5025. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5026. rngm.Scale = Vector3.new(1, 1, 2)
  5027. coroutine.wrap(function()
  5028. for i = 1, 60, 8 do
  5029. rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
  5030. rng.Transparency = i/60
  5031. wait()
  5032. end
  5033. wait()
  5034. rng:Destroy()
  5035. end)()
  5036. tps:Play()
  5037. Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
  5038. resetlerp()
  5039. human.WalkSpeed = 16
  5040. activu = false
  5041.  
  5042. end
  5043.  
  5044.  
  5045.  
  5046.  
  5047. boom3 = Instance.new("Sound",chr)
  5048. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  5049. boom3.Volume = 50
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055. gprop = {}
  5056. function materialhit(hit)
  5057. if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  5058. gprop = {hit.BrickColor,hit.Material}
  5059. end
  5060. end
  5061. chr["Left Leg"].Touched:connect(materialhit)
  5062. chr["Right Leg"].Touched:connect(materialhit)
  5063.  
  5064.  
  5065. function KickBoom()
  5066. local effspwn = Instance.new("Part")
  5067. local model = Instance.new("Model")
  5068. game.Debris:AddItem(model, 20)
  5069. model.Name = "smasheffects"
  5070. model.Parent = chr
  5071. effspwn.Name = "spwnr"
  5072. effspwn.Size = Vector3.new(1, 1, 1)
  5073. effspwn.Anchored = true
  5074. effspwn.CanCollide = false
  5075. effspwn.Transparency = 1
  5076. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  5077. effspwn.Parent = model
  5078.  
  5079. for i = 1, 15 do
  5080. local gtrace = Instance.new("Part",game.Workspace)
  5081. gtrace.BrickColor = gprop[1]
  5082. gtrace.Material = gprop[2]
  5083. gtrace.Size = Vector3.new(16,16,16)
  5084. gtrace.Anchored = true
  5085. gtrace.CanCollide = false
  5086. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5087. local gdisp = coroutine.wrap(function()
  5088. wait(3)
  5089. for i = 1, 9 do
  5090. wait(.1)
  5091. gtrace.Transparency = gtrace.Transparency + .1
  5092. end
  5093. gtrace:Destroy()
  5094. end)
  5095. gdisp()
  5096. end
  5097.  
  5098. Crater(head,67)
  5099.  
  5100. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  5101. if v:FindFirstChild('Humanoid') then
  5102. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  5103. v.Humanoid.PlatformStand = true
  5104. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
  5105. end
  5106. end
  5107.  
  5108. coroutine.resume(coroutine.create(function()
  5109. local shok = Instance.new("Part")
  5110. shok.Name = "shock3"
  5111. shok.BrickColor = BrickColor.new("New Yeller")
  5112. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  5113. shok.Size = Vector3.new(1, 1, 1)
  5114. shok.Anchored = true
  5115. shok.Material = "Neon"
  5116. shok.Transparency = 0.35
  5117. shok.CanCollide = false
  5118. shok.Parent = model
  5119. game.Debris:AddItem(shok, 12)
  5120. local mesh = Instance.new("SpecialMesh")
  5121. mesh.MeshType = "FileMesh"
  5122. mesh.MeshId = "rbxassetid://489415447"
  5123. mesh.Scale = Vector3.new(19, 19, 19)
  5124. mesh.Parent = shok
  5125. for e = 1, 15 do
  5126. wait()
  5127. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5128. shok.Transparency = shok.Transparency + 0.004
  5129. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5130. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5131. end
  5132. for e = 1, 16 do
  5133. wait()
  5134. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5135. shok.Transparency = shok.Transparency + 0.004
  5136. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5137. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5138. end
  5139. for e = 1, 12 do
  5140. wait()
  5141. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  5142. shok.Transparency = shok.Transparency + 0.06
  5143. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5144. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5145. end
  5146. end))
  5147.  
  5148.  
  5149. coroutine.resume(coroutine.create(function()
  5150. local shok = Instance.new("Part")
  5151. shok.Name = "shock3"
  5152. shok.BrickColor = BrickColor.new("New Yeller")
  5153. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  5154. shok.Size = Vector3.new(1, 1, 1)
  5155. shok.Anchored = true
  5156. shok.Material = "Neon"
  5157. shok.Transparency = 0.35
  5158. shok.CanCollide = false
  5159. shok.Parent = model
  5160. game.Debris:AddItem(shok, 12)
  5161. local mesh = Instance.new("SpecialMesh")
  5162. mesh.MeshType = "FileMesh"
  5163. mesh.MeshId = "rbxassetid://489415447"
  5164. mesh.Scale = Vector3.new(47, 47, 47)
  5165. mesh.Parent = shok
  5166. for e = 1, 15 do
  5167. wait()
  5168. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5169. shok.Transparency = shok.Transparency + 0.004
  5170. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5171. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5172. end
  5173. for e = 1, 16 do
  5174. wait()
  5175. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5176. shok.Transparency = shok.Transparency + 0.004
  5177. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5178. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5179. end
  5180. for e = 1, 12 do
  5181. wait()
  5182. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  5183. shok.Transparency = shok.Transparency + 0.06
  5184. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5185. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5186. end
  5187. end))
  5188.  
  5189. coroutine.resume(coroutine.create(function()
  5190. local shok = Instance.new("Part")
  5191. shok.Name = "shock3"
  5192. shok.BrickColor = BrickColor.new("New Yeller")
  5193. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  5194. shok.Size = Vector3.new(1, 1, 1)
  5195. shok.Anchored = true
  5196. shok.Material = "Neon"
  5197. shok.Transparency = 0.35
  5198. shok.CanCollide = false
  5199. shok.Parent = model
  5200. game.Debris:AddItem(shok, 12)
  5201. local mesh = Instance.new("SpecialMesh")
  5202. mesh.MeshType = "FileMesh"
  5203. mesh.MeshId = "rbxassetid://489415447"
  5204. mesh.Scale = Vector3.new(79, 79, 79)
  5205. mesh.Parent = shok
  5206. for e = 1, 15 do
  5207. wait()
  5208. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5209. shok.Transparency = shok.Transparency + 0.004
  5210. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5211. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5212. end
  5213. for e = 1, 16 do
  5214. wait()
  5215. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  5216. shok.Transparency = shok.Transparency + 0.004
  5217. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5218. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5219. end
  5220. for e = 1, 12 do
  5221. wait()
  5222. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  5223. shok.Transparency = shok.Transparency + 0.06
  5224. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  5225. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  5226. end
  5227. end))
  5228. end
  5229.  
  5230.  
  5231.  
  5232.  
  5233. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  5234. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5235. end
  5236. cam = workspace.CurrentCamera
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245. function NoOutline(Part)
  5246. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  5247. end
  5248.  
  5249.  
  5250.  
  5251.  
  5252. it = Instance.new
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263. so = function(id,par,vol,pit)
  5264. coroutine.resume(coroutine.create(function()
  5265. local sou = Instance.new("Sound",par or workspace)
  5266. sou.Volume=vol
  5267. sou.Pitch=pit or 1
  5268. sou.SoundId=id
  5269. swait()
  5270. sou:play()
  5271. game:GetService("Debris"):AddItem(sou,6)
  5272. end))
  5273. end
  5274.  
  5275.  
  5276. function Stom()
  5277.  
  5278. cf=CFrame.new
  5279. angles=CFrame.Angles
  5280. euler=CFrame.fromEulerAnglesXYZ
  5281. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  5282. RootPart=chr.HumanoidRootPart
  5283. RootJoint=RootPart.RootJoint
  5284. RootCF=euler(-1.57,0,3.14)
  5285.  
  5286. function QuaternionFromCFrame(cf)
  5287. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  5288. local trace = m00 + m11 + m22
  5289. if trace > 0 then
  5290. local s = math.sqrt(1 + trace)
  5291. local recip = 0.5/s
  5292. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  5293. else
  5294. local i = 0
  5295. if m11 > m00 then
  5296. i = 1
  5297. end
  5298. if m22 > (i == 0 and m00 or m11) then
  5299. i = 2
  5300. end
  5301. if i == 0 then
  5302. local s = math.sqrt(m00-m11-m22+1)
  5303. local recip = 0.5/s
  5304. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  5305. elseif i == 1 then
  5306. local s = math.sqrt(m11-m22-m00+1)
  5307. local recip = 0.5/s
  5308. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  5309. elseif i == 2 then
  5310. local s = math.sqrt(m22-m00-m11+1)
  5311. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  5312. end
  5313. end
  5314. end
  5315.  
  5316. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  5317. local xs, ys, zs = x + x, y + y, z + z
  5318. local wx, wy, wz = w*xs, w*ys, w*zs
  5319. local xx = x*xs
  5320. local xy = x*ys
  5321. local xz = x*zs
  5322. local yy = y*ys
  5323. local yz = y*zs
  5324. local zz = z*zs
  5325. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  5326. end
  5327.  
  5328. function QuaternionSlerp(a, b, t)
  5329. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  5330. local startInterp, finishInterp;
  5331. if cosTheta >= 0.0001 then
  5332. if (1 - cosTheta) > 0.0001 then
  5333. local theta = math.acos(cosTheta)
  5334. local invSinTheta = 1/math.sin(theta)
  5335. startInterp = math.sin((1-t)*theta)*invSinTheta
  5336. finishInterp = math.sin(t*theta)*invSinTheta
  5337. else
  5338. startInterp = 1-t
  5339. finishInterp = t
  5340. end
  5341. else
  5342. if (1+cosTheta) > 0.0001 then
  5343. local theta = math.acos(-cosTheta)
  5344. local invSinTheta = 1/math.sin(theta)
  5345. startInterp = math.sin((t-1)*theta)*invSinTheta
  5346. finishInterp = math.sin(t*theta)*invSinTheta
  5347. else
  5348. startInterp = t-1
  5349. finishInterp = t
  5350. end
  5351. end
  5352. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  5353. end
  5354.  
  5355. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  5356. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5357. end
  5358.  
  5359. function clerp(a,b,t)
  5360. local qa = {QuaternionFromCFrame(a)}
  5361. local qb = {QuaternionFromCFrame(b)}
  5362. local ax, ay, az = a.x, a.y, a.z
  5363. local bx, by, bz = b.x, b.y, b.z
  5364. local _t = 1-t
  5365. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  5366. end
  5367.  
  5368.  
  5369.  
  5370. if activu == true or selected == false then
  5371. return
  5372. end
  5373. coroutine.resume(coroutine.create(function()
  5374. fglow(lleg.Glow, 6)
  5375. end))
  5376. activu = true
  5377. local pe = Instance.new("ParticleEmitter")
  5378. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5379. pe.LightEmission = 0.9
  5380. pe.Size = NumberSequence.new(0.5)
  5381. pe.Texture = "rbxassetid://157823536"
  5382. pe.Transparency = NumberSequence.new(0.1)
  5383. pe.Lifetime = NumberRange.new(0.1)
  5384. pe.Rate = 250
  5385. pe.RotSpeed = NumberRange.new(360)
  5386. pe.Speed = NumberRange.new(3)
  5387. pe.VelocitySpread = 360
  5388. pe.Parent = lleg.Glow
  5389. local pea = pe:Clone()
  5390. pea.Parent = lleg.Glow
  5391. wait(0.5)
  5392. local pe2 = Instance.new("ParticleEmitter")
  5393. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5394. pe2.LightEmission = 0.9
  5395. pe2.Size = NumberSequence.new(5)
  5396. pe2.Texture = "rbxassetid://157823536"
  5397. pe2.Transparency = NumberSequence.new(0.4)
  5398. pe2.ZOffset = 2
  5399. pe2.Enabled = true
  5400. pe2.LockedToPart = true
  5401. pe2.Lifetime = NumberRange.new(0.07)
  5402. pe2.Rate = 8
  5403. pe2.Rotation = NumberRange.new(0, 360)
  5404. pe2.RotSpeed = NumberRange.new(0)
  5405. pe2.Speed = NumberRange.new(0)
  5406. pe2.VelocitySpread = 180
  5407. pe2.Parent = lleg.Glow
  5408. local pea2 = pe2:Clone()
  5409. pea2.Parent = lleg.Glow
  5410. local Mus = Instance.new("Sound",workspace)
  5411. Mus.SoundId = "rbxassetid://802518140"
  5412. Mus.Pitch = 1
  5413. Mus.Volume = 90000
  5414. Mus.Looped = false
  5415. wait(0.9)
  5416. Mus:Play()
  5417.  
  5418.  
  5419.  
  5420. human.WalkSpeed = 0
  5421. for i = 0,1,0.1 do
  5422. swait()
  5423. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5424. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  5425. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  5426. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5427. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  5428. LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  5429. end
  5430. wait(1)
  5431. for i = 0,1,0.1 do
  5432. swait()
  5433. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  5434. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5435. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  5436. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  5437. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  5438. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  5439. end
  5440. KickBoom()
  5441. so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
  5442. so("http://roblox.com/asset/?id=321321137",lleg,1,1)
  5443. so("http://roblox.com/asset/?id=506384002",lleg,1,1)
  5444. so("http://roblox.com/asset/?id=157878578",lleg,25,1)
  5445. so("http://roblox.com/asset/?id=165970126",lleg,25,1)
  5446.  
  5447. wait(3)
  5448. human.WalkSpeed = 16
  5449. pe:Destroy()
  5450. pe2:Destroy()
  5451. pea:Destroy()
  5452. pea2:Destroy()
  5453. resetlerp()
  5454. activu = false
  5455. end
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461. function Smash()
  5462. for i = 1, 15 do
  5463. local gtrace = Instance.new("Part",game.Workspace)
  5464. gtrace.BrickColor = gprop[1]
  5465. gtrace.Material = gprop[2]
  5466. gtrace.Size = Vector3.new(19,19,19)
  5467. gtrace.Anchored = true
  5468. gtrace.CanCollide = false
  5469. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5470. local gdisp = coroutine.wrap(function()
  5471. wait(7)
  5472. for i = 1, 9 do
  5473. wait(.1)
  5474. gtrace.Transparency = gtrace.Transparency + .1
  5475. end
  5476. gtrace:Destroy()
  5477. end)
  5478. gdisp()
  5479. end
  5480.  
  5481. Crater(head,67)
  5482. end
  5483.  
  5484. function Smash2()
  5485. for i = 1, 15 do
  5486. local gtrace = Instance.new("Part",game.Workspace)
  5487. gtrace.BrickColor = gprop[1]
  5488. gtrace.Material = gprop[2]
  5489. gtrace.Size = Vector3.new(19,19,19)
  5490. gtrace.Anchored = true
  5491. gtrace.CanCollide = false
  5492. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5493. local gdisp = coroutine.wrap(function()
  5494. wait(7)
  5495. for i = 1, 9 do
  5496. wait(.1)
  5497. gtrace.Transparency = gtrace.Transparency + .1
  5498. end
  5499. gtrace:Destroy()
  5500. end)
  5501. gdisp()
  5502. end
  5503.  
  5504. end
  5505.  
  5506. function Smash3()
  5507. for i = 1, 15 do
  5508. local gtrace = Instance.new("Part",game.Workspace)
  5509. gtrace.BrickColor = gprop[1]
  5510. gtrace.Material = gprop[2]
  5511. gtrace.Size = Vector3.new(19,19,19)
  5512. gtrace.Anchored = true
  5513. gtrace.CanCollide = false
  5514. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5515. local gdisp = coroutine.wrap(function()
  5516. wait(7)
  5517. for i = 1, 9 do
  5518. wait(.1)
  5519. gtrace.Transparency = gtrace.Transparency + .1
  5520. end
  5521. gtrace:Destroy()
  5522. end)
  5523. gdisp()
  5524. end
  5525.  
  5526. end
  5527.  
  5528.  
  5529. function Smash4()
  5530. for i = 1, 15 do
  5531. local gtrace = Instance.new("Part",game.Workspace)
  5532. gtrace.BrickColor = gprop[1]
  5533. gtrace.Material = gprop[2]
  5534. gtrace.Size = Vector3.new(19,19,19)
  5535. gtrace.Anchored = true
  5536. gtrace.CanCollide = false
  5537. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5538. local gdisp = coroutine.wrap(function()
  5539. wait(7)
  5540. for i = 1, 9 do
  5541. wait(.1)
  5542. gtrace.Transparency = gtrace.Transparency + .1
  5543. end
  5544. gtrace:Destroy()
  5545. end)
  5546. gdisp()
  5547. end
  5548.  
  5549. end
  5550.  
  5551. function Smash5()
  5552. for i = 1, 15 do
  5553. local gtrace = Instance.new("Part",game.Workspace)
  5554. gtrace.BrickColor = gprop[1]
  5555. gtrace.Material = gprop[2]
  5556. gtrace.Size = Vector3.new(19,19,19)
  5557. gtrace.Anchored = true
  5558. gtrace.CanCollide = false
  5559. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5560. local gdisp = coroutine.wrap(function()
  5561. wait(7)
  5562. for i = 1, 9 do
  5563. wait(.1)
  5564. gtrace.Transparency = gtrace.Transparency + .1
  5565. end
  5566. gtrace:Destroy()
  5567. end)
  5568. gdisp()
  5569. end
  5570.  
  5571. end
  5572.  
  5573. function Smash6()
  5574. for i = 1, 15 do
  5575. local gtrace = Instance.new("Part",game.Workspace)
  5576. gtrace.BrickColor = gprop[1]
  5577. gtrace.Material = gprop[2]
  5578. gtrace.Size = Vector3.new(19,19,19)
  5579. gtrace.Anchored = true
  5580. gtrace.CanCollide = false
  5581. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  5582. local gdisp = coroutine.wrap(function()
  5583. wait(7)
  5584. for i = 1, 9 do
  5585. wait(.1)
  5586. gtrace.Transparency = gtrace.Transparency + .1
  5587. end
  5588. gtrace:Destroy()
  5589. end)
  5590. gdisp()
  5591. end
  5592.  
  5593. end
  5594.  
  5595.  
  5596. for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
  5597. if v:FindFirstChild('Humanoid') then
  5598. v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
  5599. v.Humanoid.PlatformStand = true
  5600. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
  5601. end
  5602. end
  5603.  
  5604.  
  5605. function HeavenSmash()
  5606.  
  5607.  
  5608. if activu == true or selected == false then
  5609. return
  5610. end
  5611. coroutine.resume(coroutine.create(function()
  5612. fglow(lleg.Glow, 19)
  5613. fglow(rleg.Glow, 19)
  5614. fglow(rarm.Glow, 19)
  5615. fglow(larm.Glow, 19)
  5616. fglow(head.Glow, 19)
  5617. fglow(tors.Glow, 19)
  5618. end))
  5619. activu = true
  5620. local pe = Instance.new("ParticleEmitter")
  5621. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5622. pe.LightEmission = 0.9
  5623. pe.Size = NumberSequence.new(0.5)
  5624. pe.Texture = "rbxassetid://157823536"
  5625. pe.Transparency = NumberSequence.new(0.1)
  5626. pe.Lifetime = NumberRange.new(0.1)
  5627. pe.Rate = 250
  5628. pe.RotSpeed = NumberRange.new(360)
  5629. pe.Speed = NumberRange.new(3)
  5630. pe.VelocitySpread = 360
  5631. pe.Parent = lleg.Glow
  5632. local pea = pe:Clone()
  5633. pea.Parent = lleg.Glow
  5634. local pe2 = Instance.new("ParticleEmitter")
  5635. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5636. pe2.LightEmission = 0.9
  5637. pe2.Size = NumberSequence.new(5)
  5638. pe2.Texture = "rbxassetid://157823536"
  5639. pe2.Transparency = NumberSequence.new(0.4)
  5640. pe2.ZOffset = 2
  5641. pe2.Enabled = true
  5642. pe2.LockedToPart = true
  5643. pe2.Lifetime = NumberRange.new(0.07)
  5644. pe2.Rate = 8
  5645. pe2.Rotation = NumberRange.new(0, 360)
  5646. pe2.RotSpeed = NumberRange.new(0)
  5647. pe2.Speed = NumberRange.new(0)
  5648. pe2.VelocitySpread = 180
  5649. pe2.Parent = lleg.Glow
  5650. local pea2 = pe2:Clone()
  5651. pea2.Parent = lleg.Glow
  5652.  
  5653.  
  5654.  
  5655. local pet = Instance.new("ParticleEmitter")
  5656. pet.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5657. pet.LightEmission = 0.9
  5658. pet.Size = NumberSequence.new(0.5)
  5659. pet.Texture = "rbxassetid://157823536"
  5660. pet.Transparency = NumberSequence.new(0.1)
  5661. pet.Lifetime = NumberRange.new(0.1)
  5662. pet.Rate = 1
  5663. pet.RotSpeed = NumberRange.new(360)
  5664. pet.Speed = NumberRange.new(3)
  5665. pet.VelocitySpread = 360
  5666. pet.Parent = rarm.Glow
  5667. local pet2 = Instance.new("ParticleEmitter")
  5668. pet2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5669. pet2.LightEmission = 0.9
  5670. pet2.Size = NumberSequence.new(5)
  5671. pet2.Texture = "rbxassetid://157823536"
  5672. pet2.Transparency = NumberSequence.new(0.4)
  5673. pet2.ZOffset = 2
  5674. pet2.Enabled = false
  5675. pet2.LockedToPart = true
  5676. pet2.Lifetime = NumberRange.new(0.07)
  5677. pet2.Rate = 8
  5678. pet2.Rotation = NumberRange.new(0, 360)
  5679. pet2.RotSpeed = NumberRange.new(0)
  5680. pet2.Speed = NumberRange.new(0)
  5681. pet2.VelocitySpread = 180
  5682. pet2.Parent = rarm.Glow
  5683.  
  5684.  
  5685.  
  5686. local petl = Instance.new("ParticleEmitter")
  5687. petl.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5688. petl.LightEmission = 0.9
  5689. petl.Size = NumberSequence.new(0.5)
  5690. petl.Texture = "rbxassetid://157823536"
  5691. petl.Transparency = NumberSequence.new(0.1)
  5692. petl.Lifetime = NumberRange.new(0.1)
  5693. petl.Rate = 1
  5694. petl.RotSpeed = NumberRange.new(360)
  5695. petl.Speed = NumberRange.new(3)
  5696. petl.VelocitySpread = 360
  5697. petl.Parent = larm.Glow
  5698. local petl2 = Instance.new("ParticleEmitter")
  5699. petl2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5700. petl2.LightEmission = 0.9
  5701. petl2.Size = NumberSequence.new(5)
  5702. petl2.Texture = "rbxassetid://157823536"
  5703. petl2.Transparency = NumberSequence.new(0.4)
  5704. petl2.ZOffset = 2
  5705. petl2.Enabled = false
  5706. petl2.LockedToPart = true
  5707. petl2.Lifetime = NumberRange.new(0.07)
  5708. petl2.Rate = 8
  5709. petl2.Rotation = NumberRange.new(0, 360)
  5710. petl2.RotSpeed = NumberRange.new(0)
  5711. petl2.Speed = NumberRange.new(0)
  5712. petl2.VelocitySpread = 180
  5713. petl2.Parent = larm.Glow
  5714.  
  5715.  
  5716. local petl3 = Instance.new("ParticleEmitter")
  5717. petl3.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5718. petl3.LightEmission = 0.9
  5719. petl3.Size = NumberSequence.new(0.5)
  5720. petl3.Texture = "rbxassetid://157823536"
  5721. petl3.Transparency = NumberSequence.new(0.1)
  5722. petl3.Lifetime = NumberRange.new(0.1)
  5723. petl3.Rate = 1
  5724. petl3.RotSpeed = NumberRange.new(360)
  5725. petl3.Speed = NumberRange.new(3)
  5726. petl3.VelocitySpread = 360
  5727. petl3.Parent = head.Glow
  5728. local petl23 = Instance.new("ParticleEmitter")
  5729. petl23.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5730. petl23.LightEmission = 0.9
  5731. petl23.Size = NumberSequence.new(5)
  5732. petl23.Texture = "rbxassetid://157823536"
  5733. petl23.Transparency = NumberSequence.new(0.4)
  5734. petl23.ZOffset = 2
  5735. petl23.Enabled = false
  5736. petl23.LockedToPart = true
  5737. petl23.Lifetime = NumberRange.new(0.07)
  5738. petl23.Rate = 8
  5739. petl23.Rotation = NumberRange.new(0, 360)
  5740. petl23.RotSpeed = NumberRange.new(0)
  5741. petl23.Speed = NumberRange.new(0)
  5742. petl23.VelocitySpread = 180
  5743. petl23.Parent = head.Glow
  5744.  
  5745.  
  5746.  
  5747. local petl34 = Instance.new("ParticleEmitter")
  5748. petl34.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5749. petl34.LightEmission = 0.9
  5750. petl34.Size = NumberSequence.new(0.5)
  5751. petl34.Texture = "rbxassetid://157823536"
  5752. petl34.Transparency = NumberSequence.new(0.1)
  5753. petl34.Lifetime = NumberRange.new(0.1)
  5754. petl34.Rate = 1
  5755. petl34.RotSpeed = NumberRange.new(360)
  5756. petl34.Speed = NumberRange.new(3)
  5757. petl34.VelocitySpread = 360
  5758. petl34.Parent = rleg.Glow
  5759. local petl234 = Instance.new("ParticleEmitter")
  5760. petl234.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5761. petl234.LightEmission = 0.9
  5762. petl234.Size = NumberSequence.new(5)
  5763. petl234.Texture = "rbxassetid://157823536"
  5764. petl234.Transparency = NumberSequence.new(0.4)
  5765. petl234.ZOffset = 2
  5766. petl234.Enabled = false
  5767. petl234.LockedToPart = true
  5768. petl234.Rate = 8
  5769. petl234.Rotation = NumberRange.new(0, 360)
  5770. petl234.RotSpeed = NumberRange.new(0)
  5771. petl234.Speed = NumberRange.new(0)
  5772. petl234.VelocitySpread = 180
  5773. petl234.Parent = rleg.Glow
  5774.  
  5775.  
  5776. local petl345 = Instance.new("ParticleEmitter")
  5777. petl345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5778. petl345.LightEmission = 0.9
  5779. petl345.Size = NumberSequence.new(0.5)
  5780. petl345.Texture = "rbxassetid://157823536"
  5781. petl345.Transparency = NumberSequence.new(0.1)
  5782. petl345.Lifetime = NumberRange.new(0.1)
  5783. petl345.Rate = 1
  5784. petl345.RotSpeed = NumberRange.new(360)
  5785. petl345.Speed = NumberRange.new(3)
  5786. petl345.VelocitySpread = 360
  5787. petl345.Parent = tors.Glow
  5788. local petl2345 = Instance.new("ParticleEmitter")
  5789. petl2345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  5790. petl2345.LightEmission = 0.9
  5791. petl2345.Size = NumberSequence.new(5)
  5792. petl2345.Texture = "rbxassetid://157823536"
  5793. petl2345.Transparency = NumberSequence.new(0.4)
  5794. petl2345.ZOffset = 2
  5795. petl2345.Enabled = false
  5796. petl2345.LockedToPart = true
  5797. petl2345.Rate = 8
  5798. petl2345.Rotation = NumberRange.new(0, 360)
  5799. petl2345.RotSpeed = NumberRange.new(0)
  5800. petl2345.Speed = NumberRange.new(0)
  5801. petl2345.VelocitySpread = 180
  5802. petl2345.Parent = tors.Glow
  5803. human.WalkSpeed = 56
  5804. so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
  5805. so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
  5806. for l = 1, 30 do
  5807. swait()
  5808. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  5809. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  5810. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  5811. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5812. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  5813. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5814. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  5815. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5816. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  5817. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  5818. end
  5819.  
  5820.  
  5821. resetlerp()
  5822.  
  5823. BV = Instance.new("BodyVelocity", tors)
  5824. BV.maxForce = Vector3.new(0,200000,0)
  5825. BV.P = 100000
  5826. BV.velocity = Vector3.new(0,150,0)
  5827. local rng = Instance.new("Part", chr)
  5828. rng.Anchored = true
  5829. rng.BrickColor = BrickColor.new("New Yeller")
  5830. rng.CanCollide = false
  5831. rng.FormFactor = 3
  5832. rng.Name = "Ring"
  5833. rng.Size = Vector3.new(1, 1, 1)
  5834. rng.Transparency = 0.5
  5835. rng.TopSurface = 0
  5836. rng.BottomSurface = 0
  5837. rng.Position = tors.Position - Vector3.new(0,2,0)
  5838. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  5839. local rngm = Instance.new("SpecialMesh", rng)
  5840. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5841. rngm.Scale = Vector3.new(10, 10, 20)
  5842. x = Instance.new("Sound",tors)
  5843. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  5844. x.Looped = false
  5845. x.Pitch = .7
  5846. x.Volume = 30
  5847. x:Play()
  5848. coroutine.wrap(function()
  5849. for i = 1, 60, 8 do
  5850. rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
  5851. rng.Transparency = i/60
  5852. wait()
  5853. end
  5854. wait()
  5855. rng:Destroy()
  5856. end)()
  5857. wait(2.6)
  5858. BV:Destroy()
  5859. tors.Anchored = true
  5860. wait(3.2)
  5861. tors.Anchored = false
  5862. BV = Instance.new("BodyVelocity", tors)
  5863. BV.maxForce = Vector3.new(0,-20000,0)
  5864. BV.P = 1000
  5865. BV.velocity = Vector3.new(0,-150,0)
  5866. wait(1)
  5867. BV:Destroy()
  5868. wait(0.01)
  5869.  
  5870. human.WalkSpeed = 0
  5871. boom3:Play()
  5872.  
  5873. Smash()
  5874. Smash2()
  5875. Smash3()
  5876. Ring()
  5877. pe:Destroy()
  5878. pea:Destroy()
  5879. pea2:Destroy()
  5880. pe2:Destroy()
  5881. wait(2)
  5882. human.WalkSpeed = 16
  5883. activu = false
  5884. end
  5885.  
  5886.  
  5887.  
  5888. sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  5889. sound.SoundId = "rbxassetid://220025776"
  5890. sound.Volume = 6
  5891.  
  5892. sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
  5893. sound2.SoundId = "rbxassetid://386946017"
  5894. sound2.Volume = 6
  5895.  
  5896. sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  5897. sound3.SoundId = "rbxassetid://165969964"
  5898. sound3.Volume = 6
  5899.  
  5900. function rip()
  5901. activu = true
  5902. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  5903. detect.Size = Vector3.new(1,1,1)
  5904. detect:BreakJoints()
  5905. detect.CanCollide = false
  5906. local weld = Instance.new("Weld", detect)
  5907. weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  5908. weld.Part1 = detect
  5909. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  5910.  
  5911.  
  5912.  
  5913. local function attack(prt)
  5914. local humanoid = prt.Parent:findFirstChild("Humanoid")
  5915. if humanoid ~= nil then
  5916. local torso = prt.Parent:findFirstChild("Torso")
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924. function KABOOMZ3()
  5925. local effspwn = Instance.new("Part")
  5926. coroutine.resume(coroutine.create(function()
  5927. local sound1 = Instance.new("Sound")
  5928. sound1.SoundId = "rbxassetid://138137702"
  5929. sound1.MaxDistance = 300
  5930. sound1.EmitterSize = 20
  5931. sound1.Volume = 2.5
  5932. sound1.Pitch = 0.65
  5933. sound1.Parent = effspwn
  5934. local sound2 = Instance.new("Sound")
  5935. sound2.SoundId = "rbxassetid://157878578"
  5936. sound2.MaxDistance = 300
  5937. sound2.EmitterSize = 20
  5938. sound2.Volume = 1
  5939. sound2.Pitch = 0.7
  5940. sound2.Parent = effspwn
  5941. local sound3 = Instance.new("Sound")
  5942. sound3.SoundId = "rbxassetid://138250406"
  5943. sound2.MaxDistance = 400
  5944. sound2.EmitterSize = 30
  5945. sound2.Volume = 0.5
  5946. sound2.Pitch = 0.5
  5947. sound2.Parent = effspwn
  5948. sound2:Play()
  5949. wait()
  5950. sound1:Play()
  5951. sound3:Play()
  5952. end))
  5953. local model = Instance.new("Model")
  5954. game.Debris:AddItem(model, 20)
  5955. model.Name = "smasheffects"
  5956. model.Parent = workspace
  5957. effspwn.Name = "spwnr"
  5958. effspwn.Size = Vector3.new(1, 1, 1)
  5959. effspwn.Anchored = true
  5960. effspwn.CanCollide = false
  5961. effspwn.Transparency = 1
  5962. effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  5963. effspwn.Parent = model
  5964.  
  5965.  
  5966.  
  5967.  
  5968.  
  5969. Crater(head,60)
  5970. Crater(head,120)
  5971.  
  5972. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  5973. if v:FindFirstChild('Humanoid') then
  5974. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  5975. v.Humanoid.PlatformStand = true
  5976. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  5977. end
  5978. end
  5979.  
  5980. coroutine.resume(coroutine.create(function()
  5981. local shok = Instance.new("Part")
  5982. shok.Name = "whoosh"
  5983. shok.BrickColor = BrickColor.new("New Yeller")
  5984. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  5985. shok.Size = Vector3.new(1, 1, 1)
  5986. shok.Anchored = true
  5987. shok.Material = "Neon"
  5988. shok.Transparency = 0.1
  5989. shok.CanCollide = false
  5990. shok.Parent = model
  5991. game.Debris:AddItem(shok, 12)
  5992. local mesh = Instance.new("SpecialMesh")
  5993. mesh.MeshType = "FileMesh"
  5994. mesh.MeshId = "rbxassetid://437347603"
  5995. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  5996. mesh.Parent = shok
  5997.  
  5998.  
  5999.  
  6000.  
  6001.  
  6002. for e = 1, 8 do
  6003. wait()
  6004. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  6005. shok.Transparency = shok.Transparency + 0.035
  6006. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  6007. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  6008. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  6009.  
  6010. end
  6011. for e = 1, 16 do
  6012. wait()
  6013. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  6014. shok.Transparency = shok.Transparency + 0.11
  6015. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  6016. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  6017. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  6018.  
  6019. end
  6020. end))
  6021. coroutine.resume(coroutine.create(function()
  6022. local shok = Instance.new("Part")
  6023. shok.Name = "wring1"
  6024. shok.BrickColor = BrickColor.new("New Yeller")
  6025. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  6026. shok.Size = Vector3.new(1, 1, 1)
  6027. shok.Anchored = true
  6028. shok.Material = "Neon"
  6029. shok.Transparency = 0.25
  6030. shok.CanCollide = false
  6031. shok.Parent = model
  6032. game.Debris:AddItem(shok, 12)
  6033. local mesh = Instance.new("SpecialMesh")
  6034. mesh.MeshType = "FileMesh"
  6035. mesh.MeshId = "rbxassetid://3270017"
  6036. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  6037. mesh.Parent = shok
  6038. for e = 1, 30 do
  6039. wait()
  6040. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  6041. shok.Transparency = shok.Transparency + 0.002
  6042. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  6043. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  6044. end
  6045. for e = 1, 38 do
  6046. wait()
  6047. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  6048. shok.Transparency = shok.Transparency + 0.002
  6049. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6050. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  6051. end
  6052. for e = 1, 24 do
  6053. wait()
  6054. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  6055. shok.Transparency = shok.Transparency + 0.03
  6056. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6057. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  6058. end
  6059. end))
  6060. coroutine.resume(coroutine.create(function()
  6061. local shok = Instance.new("Part")
  6062. shok.Name = "wring2"
  6063. shok.BrickColor = BrickColor.new("Really yellow")
  6064. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  6065. shok.Size = Vector3.new(1, 1, 1)
  6066. shok.Anchored = true
  6067. shok.Material = "Neon"
  6068. shok.Transparency = 0.25
  6069. shok.CanCollide = false
  6070. shok.Parent = model
  6071. game.Debris:AddItem(shok, 12)
  6072. local mesh = Instance.new("SpecialMesh")
  6073. mesh.MeshType = "FileMesh"
  6074. mesh.MeshId = "rbxassetid://3270017"
  6075. mesh.Scale = Vector3.new(12, 12, 0.05)
  6076. mesh.Parent = shok
  6077. for e = 1, 30 do
  6078. wait()
  6079. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  6080. shok.Transparency = shok.Transparency + 0.002
  6081. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  6082. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  6083. end
  6084. for e = 1, 38 do
  6085. wait()
  6086. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  6087. shok.Transparency = shok.Transparency + 0.002
  6088. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6089. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  6090. end
  6091. for e = 1, 24 do
  6092. wait()
  6093. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  6094. shok.Transparency = shok.Transparency + 0.03
  6095. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6096. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  6097. end
  6098. end))
  6099. coroutine.resume(coroutine.create(function()
  6100. local shok = Instance.new("Part")
  6101. shok.Name = "coil1"
  6102. shok.BrickColor = BrickColor.new("New Yeller")
  6103. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6104. shok.Size = Vector3.new(1, 1, 1)
  6105. shok.Anchored = true
  6106. shok.Material = "Neon"
  6107. shok.Transparency = 0.25
  6108. shok.CanCollide = false
  6109. shok.Parent = model
  6110. game.Debris:AddItem(shok, 12)
  6111. local mesh = Instance.new("SpecialMesh")
  6112. mesh.MeshType = "FileMesh"
  6113. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  6114. mesh.Scale = Vector3.new(12, 12, 12)
  6115. mesh.Parent = shok
  6116. for e = 1, 15 do
  6117. wait()
  6118. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6119. shok.Transparency = shok.Transparency + 0.004
  6120. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  6121. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6122. end
  6123. for e = 1, 16 do
  6124. wait()
  6125. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6126. shok.Transparency = shok.Transparency + 0.004
  6127. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6128. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6129. end
  6130. for e = 1, 12 do
  6131. wait()
  6132. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6133. shok.Transparency = shok.Transparency + 0.06
  6134. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6135. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6136. end
  6137. end))
  6138. coroutine.resume(coroutine.create(function()
  6139. local shok = Instance.new("Part")
  6140. shok.Name = "coil2"
  6141. shok.BrickColor = BrickColor.new("New Yeller")
  6142. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  6143. shok.Size = Vector3.new(1, 1, 1)
  6144. shok.Anchored = true
  6145. shok.Material = "Neon"
  6146. shok.Transparency = 0.25
  6147. shok.CanCollide = false
  6148. shok.Parent = model
  6149. game.Debris:AddItem(shok, 12)
  6150. local mesh = Instance.new("SpecialMesh")
  6151. mesh.MeshType = "FileMesh"
  6152. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  6153. mesh.Scale = Vector3.new(6, 12, 6)
  6154. mesh.Parent = shok
  6155. for e = 1, 15 do
  6156. wait()
  6157. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  6158. shok.Transparency = shok.Transparency + 0.005
  6159. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  6160. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  6161. end
  6162. for e = 1, 16 do
  6163. wait()
  6164. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  6165. shok.Transparency = shok.Transparency + 0.005
  6166. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6167. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  6168. end
  6169. for e = 1, 12 do
  6170. wait()
  6171. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  6172. shok.Transparency = shok.Transparency + 0.09
  6173. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  6174. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  6175. end
  6176. end))
  6177. coroutine.resume(coroutine.create(function()
  6178. local shok = Instance.new("Part")
  6179. shok.Name = "shokwve"
  6180. shok.BrickColor = BrickColor.new("New Yeller")
  6181. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  6182. shok.Size = Vector3.new(1, 1, 1)
  6183. shok.Anchored = true
  6184. shok.Material = "Neon"
  6185. shok.Transparency = 0.6
  6186. shok.CanCollide = false
  6187. shok.Parent = model
  6188. game.Debris:AddItem(shok, 12)
  6189. local mesh = Instance.new("SpecialMesh")
  6190. mesh.MeshType = "FileMesh"
  6191. mesh.MeshId = "rbxassetid://489415447"
  6192. mesh.Scale = Vector3.new(1, 1, 1)
  6193. mesh.Parent = shok
  6194. for e = 1, 12 do
  6195. wait()
  6196. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  6197. shok.Transparency = shok.Transparency + 0.002
  6198. end
  6199. for e = 1, 32 do
  6200. wait()
  6201. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  6202. shok.Transparency = shok.Transparency + 0.002
  6203. end
  6204. for e = 1, 24 do
  6205. wait()
  6206. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  6207. shok.Transparency = shok.Transparency + 0.03
  6208. end
  6209. end))
  6210. coroutine.resume(coroutine.create(function()
  6211. local shok = Instance.new("Part")
  6212. shok.Name = "shock2"
  6213. shok.BrickColor = BrickColor.new("New Yeller")
  6214. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  6215. shok.Size = Vector3.new(1, 1, 1)
  6216. shok.Anchored = true
  6217. shok.Material = "Neon"
  6218. shok.Transparency = 0.35
  6219. shok.CanCollide = false
  6220. shok.Parent = model
  6221. game.Debris:AddItem(shok, 12)
  6222. local mesh = Instance.new("SpecialMesh")
  6223. mesh.MeshType = "FileMesh"
  6224. mesh.MeshId = "rbxassetid://489415447"
  6225. mesh.Scale = Vector3.new(12, 12, 12)
  6226. mesh.Parent = shok
  6227. for e = 1, 15 do
  6228. wait()
  6229. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6230. shok.Transparency = shok.Transparency + 0.004
  6231. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6232. end
  6233. for e = 1, 16 do
  6234. wait()
  6235. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6236. shok.Transparency = shok.Transparency + 0.004
  6237. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6238. end
  6239. for e = 1, 12 do
  6240. wait()
  6241. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  6242. shok.Transparency = shok.Transparency + 0.06
  6243. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  6244. end
  6245. end))
  6246. coroutine.resume(coroutine.create(function()
  6247. local shok = Instance.new("Part")
  6248. shok.Name = "shock3"
  6249. shok.BrickColor = BrickColor.new("New Yeller")
  6250. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  6251. shok.Size = Vector3.new(1, 1, 1)
  6252. shok.Anchored = true
  6253. shok.Material = "Neon"
  6254. shok.Transparency = 0.35
  6255. shok.CanCollide = false
  6256. shok.Parent = model
  6257. game.Debris:AddItem(shok, 12)
  6258. local mesh = Instance.new("SpecialMesh")
  6259. mesh.MeshType = "FileMesh"
  6260. mesh.MeshId = "rbxassetid://489415447"
  6261. mesh.Scale = Vector3.new(12, 12, 12)
  6262. mesh.Parent = shok
  6263. for e = 1, 15 do
  6264. wait()
  6265. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  6266. shok.Transparency = shok.Transparency + 0.004
  6267. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  6268. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  6269. end
  6270. for e = 1, 16 do
  6271. wait()
  6272. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  6273. shok.Transparency = shok.Transparency + 0.004
  6274. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  6275. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  6276. end
  6277. for e = 1, 12 do
  6278. wait()
  6279. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  6280. shok.Transparency = shok.Transparency + 0.06
  6281. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  6282. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  6283. end
  6284. end))
  6285. end
  6286.  
  6287.  
  6288.  
  6289. if torso ~= nil then
  6290. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 10
  6291. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 56
  6292. for i = 1,5 do
  6293. wait()
  6294. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
  6295. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
  6296. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
  6297. end
  6298. sound:Play()
  6299. local bodyVel = Instance.new("BodyPosition", torso)
  6300. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
  6301. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  6302. wait(2)
  6303. torso.Anchored = true
  6304. for i = 1,5 do
  6305. wait()
  6306. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  6307. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  6308. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  6309. end
  6310. for i = 1,5 do
  6311. wait()
  6312. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
  6313. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
  6314. end
  6315. wait(1)
  6316. local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
  6317. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  6318. bodyvel.Position = torso.Position
  6319. for i = 1,5 do
  6320. wait()
  6321. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
  6322. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
  6323. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
  6324. end
  6325. wait(2)
  6326. bodyVel:destroy()
  6327. game.Players.LocalPlayer.Character.Torso.Anchored = true
  6328. torso.Anchored = false
  6329. humanoid.PlatformStand = true
  6330. local bodyVel = Instance.new("BodyPosition", torso)
  6331. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
  6332. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  6333. sound2:Play()
  6334.  
  6335. wait(1.2)
  6336. game.Players.LocalPlayer.Character.Torso.Anchored = false
  6337. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  6338. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6339. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6340. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6341. activu = false
  6342. wait(0.5)
  6343. bodyvel:destroy()
  6344. local ROW3 = function(out, trans, s, wt, t, ang, plus)
  6345. for i = 1, 360, 360/t do
  6346. local c = Instance.new("Part", game.Workspace)
  6347. c.FormFactor = 3
  6348. c.TopSurface = 0
  6349. c.BottomSurface = 0
  6350. c.Size = s
  6351. c.Anchored = true
  6352. c.CanCollide = wt
  6353. c.Material=workspace.Base.Material
  6354. c.Transparency = trans
  6355. c.BrickColor = workspace.Base.BrickColor
  6356. c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  6357. c.Locked=true
  6358. game.Debris:AddItem(c,25)
  6359. end
  6360. end
  6361.  
  6362.  
  6363.  
  6364.  
  6365. sound3:Play()
  6366. ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  6367. game.Players.LocalPlayer.Character.Torso.Anchored = true
  6368. KABOOMZ3()
  6369. wait(0.1)
  6370.  
  6371. game.Players.LocalPlayer.Character.Torso.Anchored = false
  6372. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  6373. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  6374.  
  6375.  
  6376. end
  6377. end
  6378. end
  6379. detect.Touched:connect(attack)
  6380. wait(0.1)
  6381. detect:destroy()
  6382. activu = false
  6383. end
  6384.  
  6385.  
  6386.  
  6387. function hito(partoz, magn, dmg, debtim)
  6388. for _, guy in pairs(workspace:GetChildren()) do
  6389. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  6390. do
  6391. local humz = guy:FindFirstChild("Humanoid")
  6392. local hed = guy:FindFirstChild("Head")
  6393. humz:TakeDamage(dmg)
  6394. local db = Instance.new("StringValue")
  6395. db.Name = "alabo"
  6396. db.Parent = hed
  6397. delay(debtim, function()
  6398. db:Destroy()
  6399. end)
  6400. end
  6401. end
  6402. end
  6403. end
  6404. function animo(yep)
  6405. if yep == true then
  6406. anim.Parent = human
  6407. chr.Animate.Disabled = false
  6408. elseif yep == false then
  6409. chr.Animate.Disabled = true
  6410. anim.Parent = nil
  6411. end
  6412. end
  6413. mouse.KeyDown:connect(function(key)
  6414. if key == "e" then
  6415. rsmash()
  6416. end
  6417. if key == "t" then
  6418. jum()
  6419. end
  6420. if key == "r" then
  6421. Tele()
  6422. end
  6423. if key == "q" then
  6424. Stom()
  6425. end
  6426. if key == "f" then
  6427. HeavenSmash()
  6428. end
  6429. if key == "h" then
  6430. rip()
  6431. end
  6432. end)
  6433. tool.Equipped:connect(function()
  6434. selected = true
  6435. end)
  6436. tool.Unequipped:connect(function()
  6437. selected = false
  6438. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement