Advertisement
refrop

link *noclip*

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