aikjako

Gale Fighter

Aug 27th, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.35 KB | None | 0 0
  1. --[[ Options ]]--
  2. _G.CharacterBug = false --Set to true if your uppertorso floats when you use the script with R15.
  3. _G.GodMode = true --Set to true if you want godmode.
  4. _G.R6 = true --Set to true if you wanna enable R15 to R6 when your R15.
  5. --[[Reanimate]]--
  6. loadstring(game:HttpGet("https://gist.githubusercontent.com/M6HqVBcddw2qaN4s/fc29cbf0eda6f8b129778b441be3128f/raw/6StQ2n56PnEHMhQ9"))()
  7.  
  8. function LoadLibrary(a)
  9. local t = {}
  10.  
  11. ------------------------------------------------------------------------------------------------------------------------
  12. ------------------------------------------------------------------------------------------------------------------------
  13. ------------------------------------------------------------------------------------------------------------------------
  14. ------------------------------------------------JSON Functions Begin----------------------------------------------------
  15. ------------------------------------------------------------------------------------------------------------------------
  16. ------------------------------------------------------------------------------------------------------------------------
  17. ------------------------------------------------------------------------------------------------------------------------
  18.  
  19. --JSON Encoder and Parser for Lua 5.1
  20.  
  21. --Permission is hereby granted, free of charge, to any person
  22. --obtaining a copy of this software to deal in the Software without
  23. --restriction, including without limitation the rights to use,
  24. --copy, modify, merge, publish, distribute, sublicense, and/or
  25. --sell copies of the Software, and to permit persons to whom the
  26. --Software is furnished to do so, subject to the following conditions:
  27.  
  28. --The above copyright notice and this permission notice shall be
  29. --included in all copies or substantial portions of the Software.
  30. --If you find this software useful please give www.chipmunkav.com a mention.
  31.  
  32. --THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  33. --EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  34. --OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  35. --IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
  36. --ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
  37. --CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  38. --CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  39.  
  40. local string = string
  41. local math = math
  42. local table = table
  43. local error = error
  44. local tonumber = tonumber
  45. local tostring = tostring
  46. local type = type
  47. local setmetatable = setmetatable
  48. local pairs = pairs
  49. local ipairs = ipairs
  50. local assert = assert
  51.  
  52.  
  53. local StringBuilder = {
  54. buffer = {}
  55. }
  56.  
  57. function StringBuilder:New()
  58. local o = {}
  59. setmetatable(o, self)
  60. self.__index = self
  61. o.buffer = {}
  62. return o
  63. end
  64.  
  65. function StringBuilder:Append(s)
  66. self.buffer[#self.buffer+1] = s
  67. end
  68.  
  69. function StringBuilder:ToString()
  70. return table.concat(self.buffer)
  71. end
  72.  
  73. local JsonWriter = {
  74. backslashes = {
  75. ['\b'] = "\\b",
  76. ['\t'] = "\\t",
  77. ['\n'] = "\\n",
  78. ['\f'] = "\\f",
  79. ['\r'] = "\\r",
  80. ['"'] = "\\\"",
  81. ['\\'] = "\\\\",
  82. ['/'] = "\\/"
  83. }
  84. }
  85.  
  86. function JsonWriter:New()
  87. local o = {}
  88. o.writer = StringBuilder:New()
  89. setmetatable(o, self)
  90. self.__index = self
  91. return o
  92. end
  93.  
  94. function JsonWriter:Append(s)
  95. self.writer:Append(s)
  96. end
  97.  
  98. function JsonWriter:ToString()
  99. return self.writer:ToString()
  100. end
  101.  
  102. function JsonWriter:Write(o)
  103. local t = type(o)
  104. if t == "nil" then
  105. self:WriteNil()
  106. elseif t == "boolean" then
  107. self:WriteString(o)
  108. elseif t == "number" then
  109. self:WriteString(o)
  110. elseif t == "string" then
  111. self:ParseString(o)
  112. elseif t == "table" then
  113. self:WriteTable(o)
  114. elseif t == "function" then
  115. self:WriteFunction(o)
  116. elseif t == "thread" then
  117. self:WriteError(o)
  118. elseif t == "userdata" then
  119. self:WriteError(o)
  120. end
  121. end
  122.  
  123. function JsonWriter:WriteNil()
  124. self:Append("null")
  125. end
  126.  
  127. function JsonWriter:WriteString(o)
  128. self:Append(tostring(o))
  129. end
  130.  
  131. function JsonWriter:ParseString(s)
  132. self:Append('"')
  133. self:Append(string.gsub(s, "[%z%c\\\"/]", function(n)
  134. local c = self.backslashes[n]
  135. if c then return c end
  136. return string.format("\\u%.4X", string.byte(n))
  137. end))
  138. self:Append('"')
  139. end
  140.  
  141. function JsonWriter:IsArray(t)
  142. local count = 0
  143. local isindex = function(k)
  144. if type(k) == "number" and k > 0 then
  145. if math.floor(k) == k then
  146. return true
  147. end
  148. end
  149. return false
  150. end
  151. for k,v in pairs(t) do
  152. if not isindex(k) then
  153. return false, '{', '}'
  154. else
  155. count = math.max(count, k)
  156. end
  157. end
  158. return true, '[', ']', count
  159. end
  160.  
  161. function JsonWriter:WriteTable(t)
  162. local ba, st, et, n = self:IsArray(t)
  163. self:Append(st)
  164. if ba then
  165. for i = 1, n do
  166. self:Write(t[i])
  167. if i < n then
  168. self:Append(',')
  169. end
  170. end
  171. else
  172. local first = true;
  173. for k, v in pairs(t) do
  174. if not first then
  175. self:Append(',')
  176. end
  177. first = false;
  178. self:ParseString(k)
  179. self:Append(':')
  180. self:Write(v)
  181. end
  182. end
  183. self:Append(et)
  184. end
  185.  
  186. function JsonWriter:WriteError(o)
  187. error(string.format(
  188. "Encoding of %s unsupported",
  189. tostring(o)))
  190. end
  191.  
  192. function JsonWriter:WriteFunction(o)
  193. if o == Null then
  194. self:WriteNil()
  195. else
  196. self:WriteError(o)
  197. end
  198. end
  199.  
  200. local StringReader = {
  201. s = "",
  202. i = 0
  203. }
  204.  
  205. function StringReader:New(s)
  206. local o = {}
  207. setmetatable(o, self)
  208. self.__index = self
  209. o.s = s or o.s
  210. return o
  211. end
  212.  
  213. function StringReader:Peek()
  214. local i = self.i + 1
  215. if i <= #self.s then
  216. return string.sub(self.s, i, i)
  217. end
  218. return nil
  219. end
  220.  
  221. function StringReader:Next()
  222. self.i = self.i+1
  223. if self.i <= #self.s then
  224. return string.sub(self.s, self.i, self.i)
  225. end
  226. return nil
  227. end
  228.  
  229. function StringReader:All()
  230. return self.s
  231. end
  232.  
  233. local JsonReader = {
  234. escapes = {
  235. ['t'] = '\t',
  236. ['n'] = '\n',
  237. ['f'] = '\f',
  238. ['r'] = '\r',
  239. ['b'] = '\b',
  240. }
  241. }
  242.  
  243. function JsonReader:New(s)
  244. local o = {}
  245. o.reader = StringReader:New(s)
  246. setmetatable(o, self)
  247. self.__index = self
  248. return o;
  249. end
  250.  
  251. function JsonReader:Read()
  252. self:SkipWhiteSpace()
  253. local peek = self:Peek()
  254. if peek == nil then
  255. error(string.format(
  256. "Nil string: '%s'",
  257. self:All()))
  258. elseif peek == '{' then
  259. return self:ReadObject()
  260. elseif peek == '[' then
  261. return self:ReadArray()
  262. elseif peek == '"' then
  263. return self:ReadString()
  264. elseif string.find(peek, "[%+%-%d]") then
  265. return self:ReadNumber()
  266. elseif peek == 't' then
  267. return self:ReadTrue()
  268. elseif peek == 'f' then
  269. return self:ReadFalse()
  270. elseif peek == 'n' then
  271. return self:ReadNull()
  272. elseif peek == '/' then
  273. self:ReadComment()
  274. return self:Read()
  275. else
  276. return nil
  277. end
  278. end
  279.  
  280. function JsonReader:ReadTrue()
  281. self:TestReservedWord{'t','r','u','e'}
  282. return true
  283. end
  284.  
  285. function JsonReader:ReadFalse()
  286. self:TestReservedWord{'f','a','l','s','e'}
  287. return false
  288. end
  289.  
  290. function JsonReader:ReadNull()
  291. self:TestReservedWord{'n','u','l','l'}
  292. return nil
  293. end
  294.  
  295. function JsonReader:TestReservedWord(t)
  296. for i, v in ipairs(t) do
  297. if self:Next() ~= v then
  298. error(string.format(
  299. "Error reading '%s': %s",
  300. table.concat(t),
  301. self:All()))
  302. end
  303. end
  304. end
  305.  
  306. function JsonReader:ReadNumber()
  307. local result = self:Next()
  308. local peek = self:Peek()
  309. while peek ~= nil and string.find(
  310. peek,
  311. "[%+%-%d%.eE]") do
  312. result = result .. self:Next()
  313. peek = self:Peek()
  314. end
  315. result = tonumber(result)
  316. if result == nil then
  317. error(string.format(
  318. "Invalid number: '%s'",
  319. result))
  320. else
  321. return result
  322. end
  323. end
  324.  
  325. function JsonReader:ReadString()
  326. local result = ""
  327. assert(self:Next() == '"')
  328. while self:Peek() ~= '"' do
  329. local ch = self:Next()
  330. if ch == '\\' then
  331. ch = self:Next()
  332. if self.escapes[ch] then
  333. ch = self.escapes[ch]
  334. end
  335. end
  336. result = result .. ch
  337. end
  338. assert(self:Next() == '"')
  339. local fromunicode = function(m)
  340. return string.char(tonumber(m, 16))
  341. end
  342. return string.gsub(
  343. result,
  344. "u%x%x(%x%x)",
  345. fromunicode)
  346. end
  347.  
  348. function JsonReader:ReadComment()
  349. assert(self:Next() == '/')
  350. local second = self:Next()
  351. if second == '/' then
  352. self:ReadSingleLineComment()
  353. elseif second == '*' then
  354. self:ReadBlockComment()
  355. else
  356. error(string.format(
  357. "Invalid comment: %s",
  358. self:All()))
  359. end
  360. end
  361.  
  362. function JsonReader:ReadBlockComment()
  363. local done = false
  364. while not done do
  365. local ch = self:Next()
  366. if ch == '*' and self:Peek() == '/' then
  367. done = true
  368. end
  369. if not done and
  370. ch == '/' and
  371. self:Peek() == "*" then
  372. error(string.format(
  373. "Invalid comment: %s, '/*' illegal.",
  374. self:All()))
  375. end
  376. end
  377. self:Next()
  378. end
  379.  
  380. function JsonReader:ReadSingleLineComment()
  381. local ch = self:Next()
  382. while ch ~= '\r' and ch ~= '\n' do
  383. ch = self:Next()
  384. end
  385. end
  386.  
  387. function JsonReader:ReadArray()
  388. local result = {}
  389. assert(self:Next() == '[')
  390. local done = false
  391. if self:Peek() == ']' then
  392. done = true;
  393. end
  394. while not done do
  395. local item = self:Read()
  396. result[#result+1] = item
  397. self:SkipWhiteSpace()
  398. if self:Peek() == ']' then
  399. done = true
  400. end
  401. if not done then
  402. local ch = self:Next()
  403. if ch ~= ',' then
  404. error(string.format(
  405. "Invalid array: '%s' due to: '%s'",
  406. self:All(), ch))
  407. end
  408. end
  409. end
  410. assert(']' == self:Next())
  411. return result
  412. end
  413.  
  414. function JsonReader:ReadObject()
  415. local result = {}
  416. assert(self:Next() == '{')
  417. local done = false
  418. if self:Peek() == '}' then
  419. done = true
  420. end
  421. while not done do
  422. local key = self:Read()
  423. if type(key) ~= "string" then
  424. error(string.format(
  425. "Invalid non-string object key: %s",
  426. key))
  427. end
  428. self:SkipWhiteSpace()
  429. local ch = self:Next()
  430. if ch ~= ':' then
  431. error(string.format(
  432. "Invalid object: '%s' due to: '%s'",
  433. self:All(),
  434. ch))
  435. end
  436. self:SkipWhiteSpace()
  437. local val = self:Read()
  438. result[key] = val
  439. self:SkipWhiteSpace()
  440. if self:Peek() == '}' then
  441. done = true
  442. end
  443. if not done then
  444. ch = self:Next()
  445. if ch ~= ',' then
  446. error(string.format(
  447. "Invalid array: '%s' near: '%s'",
  448. self:All(),
  449. ch))
  450. end
  451. end
  452. end
  453. assert(self:Next() == "}")
  454. return result
  455. end
  456.  
  457. function JsonReader:SkipWhiteSpace()
  458. local p = self:Peek()
  459. while p ~= nil and string.find(p, "[%s/]") do
  460. if p == '/' then
  461. self:ReadComment()
  462. else
  463. self:Next()
  464. end
  465. p = self:Peek()
  466. end
  467. end
  468.  
  469. function JsonReader:Peek()
  470. return self.reader:Peek()
  471. end
  472.  
  473. function JsonReader:Next()
  474. return self.reader:Next()
  475. end
  476.  
  477. function JsonReader:All()
  478. return self.reader:All()
  479. end
  480.  
  481. function Encode(o)
  482. local writer = JsonWriter:New()
  483. writer:Write(o)
  484. return writer:ToString()
  485. end
  486.  
  487. function Decode(s)
  488. local reader = JsonReader:New(s)
  489. return reader:Read()
  490. end
  491.  
  492. function Null()
  493. return Null
  494. end
  495. -------------------- End JSON Parser ------------------------
  496.  
  497. t.DecodeJSON = function(jsonString)
  498. pcall(function() warn("RbxUtility.DecodeJSON is deprecated, please use Game:GetService('HttpService'):JSONDecode() instead.") end)
  499.  
  500. if type(jsonString) == "string" then
  501. return Decode(jsonString)
  502. end
  503. print("RbxUtil.DecodeJSON expects string argument!")
  504. return nil
  505. end
  506.  
  507. t.EncodeJSON = function(jsonTable)
  508. pcall(function() warn("RbxUtility.EncodeJSON is deprecated, please use Game:GetService('HttpService'):JSONEncode() instead.") end)
  509. return Encode(jsonTable)
  510. end
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519. ------------------------------------------------------------------------------------------------------------------------
  520. ------------------------------------------------------------------------------------------------------------------------
  521. ------------------------------------------------------------------------------------------------------------------------
  522. --------------------------------------------Terrain Utilities Begin-----------------------------------------------------
  523. ------------------------------------------------------------------------------------------------------------------------
  524. ------------------------------------------------------------------------------------------------------------------------
  525. ------------------------------------------------------------------------------------------------------------------------
  526. --makes a wedge at location x, y, z
  527. --sets cell x, y, z to default material if parameter is provided, if not sets cell x, y, z to be whatever material it previously w
  528. --returns true if made a wedge, false if the cell remains a block
  529. t.MakeWedge = function(x, y, z, defaultmaterial)
  530. return game:GetService("Terrain"):AutoWedgeCell(x,y,z)
  531. end
  532.  
  533. t.SelectTerrainRegion = function(regionToSelect, color, selectEmptyCells, selectionParent)
  534. local terrain = game:GetService("Workspace"):FindFirstChild("Terrain")
  535. if not terrain then return end
  536.  
  537. assert(regionToSelect)
  538. assert(color)
  539.  
  540. if not type(regionToSelect) == "Region3" then
  541. error("regionToSelect (first arg), should be of type Region3, but is type",type(regionToSelect))
  542. end
  543. if not type(color) == "BrickColor" then
  544. error("color (second arg), should be of type BrickColor, but is type",type(color))
  545. end
  546.  
  547. -- frequently used terrain calls (speeds up call, no lookup necessary)
  548. local GetCell = terrain.GetCell
  549. local WorldToCellPreferSolid = terrain.WorldToCellPreferSolid
  550. local CellCenterToWorld = terrain.CellCenterToWorld
  551. local emptyMaterial = Enum.CellMaterial.Empty
  552.  
  553. -- container for all adornments, passed back to user
  554. local selectionContainer = Instance.new("Model")
  555. selectionContainer.Name = "SelectionContainer"
  556. selectionContainer.Archivable = false
  557. if selectionParent then
  558. selectionContainer.Parent = selectionParent
  559. else
  560. selectionContainer.Parent = game:GetService("Workspace")
  561. end
  562.  
  563. local updateSelection = nil -- function we return to allow user to update selection
  564. local currentKeepAliveTag = nil -- a tag that determines whether adorns should be destroyed
  565. local aliveCounter = 0 -- helper for currentKeepAliveTag
  566. local lastRegion = nil -- used to stop updates that do nothing
  567. local adornments = {} -- contains all adornments
  568. local reusableAdorns = {}
  569.  
  570. local selectionPart = Instance.new("Part")
  571. selectionPart.Name = "SelectionPart"
  572. selectionPart.Transparency = 1
  573. selectionPart.Anchored = true
  574. selectionPart.Locked = true
  575. selectionPart.CanCollide = false
  576. selectionPart.Size = Vector3.new(4.2,4.2,4.2)
  577.  
  578. local selectionBox = Instance.new("SelectionBox")
  579.  
  580. -- srs translation from region3 to region3int16
  581. local function Region3ToRegion3int16(region3)
  582. local theLowVec = region3.CFrame.p - (region3.Size/2) + Vector3.new(2,2,2)
  583. local lowCell = WorldToCellPreferSolid(terrain,theLowVec)
  584.  
  585. local theHighVec = region3.CFrame.p + (region3.Size/2) - Vector3.new(2,2,2)
  586. local highCell = WorldToCellPreferSolid(terrain, theHighVec)
  587.  
  588. local highIntVec = Vector3int16.new(highCell.x,highCell.y,highCell.z)
  589. local lowIntVec = Vector3int16.new(lowCell.x,lowCell.y,lowCell.z)
  590.  
  591. return Region3int16.new(lowIntVec,highIntVec)
  592. end
  593.  
  594. -- helper function that creates the basis for a selection box
  595. function createAdornment(theColor)
  596. local selectionPartClone = nil
  597. local selectionBoxClone = nil
  598.  
  599. if #reusableAdorns > 0 then
  600. selectionPartClone = reusableAdorns[1]["part"]
  601. selectionBoxClone = reusableAdorns[1]["box"]
  602. table.remove(reusableAdorns,1)
  603.  
  604. selectionBoxClone.Visible = true
  605. else
  606. selectionPartClone = selectionPart:Clone()
  607. selectionPartClone.Archivable = false
  608.  
  609. selectionBoxClone = selectionBox:Clone()
  610. selectionBoxClone.Archivable = false
  611.  
  612. selectionBoxClone.Adornee = selectionPartClone
  613. selectionBoxClone.Parent = selectionContainer
  614.  
  615. selectionBoxClone.Adornee = selectionPartClone
  616.  
  617. selectionBoxClone.Parent = selectionContainer
  618. end
  619.  
  620. if theColor then
  621. selectionBoxClone.Color = theColor
  622. end
  623.  
  624. return selectionPartClone, selectionBoxClone
  625. end
  626.  
  627. -- iterates through all current adornments and deletes any that don't have latest tag
  628. function cleanUpAdornments()
  629. for cellPos, adornTable in pairs(adornments) do
  630.  
  631. if adornTable.KeepAlive ~= currentKeepAliveTag then -- old news, we should get rid of this
  632. adornTable.SelectionBox.Visible = false
  633. table.insert(reusableAdorns,{part = adornTable.SelectionPart, box = adornTable.SelectionBox})
  634. adornments[cellPos] = nil
  635. end
  636. end
  637. end
  638.  
  639. -- helper function to update tag
  640. function incrementAliveCounter()
  641. aliveCounter = aliveCounter + 1
  642. if aliveCounter > 1000000 then
  643. aliveCounter = 0
  644. end
  645. return aliveCounter
  646. end
  647.  
  648. -- finds full cells in region and adorns each cell with a box, with the argument color
  649. function adornFullCellsInRegion(region, color)
  650. local regionBegin = region.CFrame.p - (region.Size/2) + Vector3.new(2,2,2)
  651. local regionEnd = region.CFrame.p + (region.Size/2) - Vector3.new(2,2,2)
  652.  
  653. local cellPosBegin = WorldToCellPreferSolid(terrain, regionBegin)
  654. local cellPosEnd = WorldToCellPreferSolid(terrain, regionEnd)
  655.  
  656. currentKeepAliveTag = incrementAliveCounter()
  657. for y = cellPosBegin.y, cellPosEnd.y do
  658. for z = cellPosBegin.z, cellPosEnd.z do
  659. for x = cellPosBegin.x, cellPosEnd.x do
  660. local cellMaterial = GetCell(terrain, x, y, z)
  661.  
  662. if cellMaterial ~= emptyMaterial then
  663. local cframePos = CellCenterToWorld(terrain, x, y, z)
  664. local cellPos = Vector3int16.new(x,y,z)
  665.  
  666. local updated = false
  667. for cellPosAdorn, adornTable in pairs(adornments) do
  668. if cellPosAdorn == cellPos then
  669. adornTable.KeepAlive = currentKeepAliveTag
  670. if color then
  671. adornTable.SelectionBox.Color = color
  672. end
  673. updated = true
  674. break
  675. end
  676. end
  677.  
  678. if not updated then
  679. local selectionPart, selectionBox = createAdornment(color)
  680. selectionPart.Size = Vector3.new(4,4,4)
  681. selectionPart.CFrame = CFrame.new(cframePos)
  682. local adornTable = {SelectionPart = selectionPart, SelectionBox = selectionBox, KeepAlive = currentKeepAliveTag}
  683. adornments[cellPos] = adornTable
  684. end
  685. end
  686. end
  687. end
  688. end
  689. cleanUpAdornments()
  690. end
  691.  
  692.  
  693. ------------------------------------- setup code ------------------------------
  694. lastRegion = regionToSelect
  695.  
  696. if selectEmptyCells then -- use one big selection to represent the area selected
  697. local selectionPart, selectionBox = createAdornment(color)
  698.  
  699. selectionPart.Size = regionToSelect.Size
  700. selectionPart.CFrame = regionToSelect.CFrame
  701.  
  702. adornments.SelectionPart = selectionPart
  703. adornments.SelectionBox = selectionBox
  704.  
  705. updateSelection =
  706. function (newRegion, color)
  707. if newRegion and newRegion ~= lastRegion then
  708. lastRegion = newRegion
  709. selectionPart.Size = newRegion.Size
  710. selectionPart.CFrame = newRegion.CFrame
  711. end
  712. if color then
  713. selectionBox.Color = color
  714. end
  715. end
  716. else -- use individual cell adorns to represent the area selected
  717. adornFullCellsInRegion(regionToSelect, color)
  718. updateSelection =
  719. function (newRegion, color)
  720. if newRegion and newRegion ~= lastRegion then
  721. lastRegion = newRegion
  722. adornFullCellsInRegion(newRegion, color)
  723. end
  724. end
  725.  
  726. end
  727.  
  728. local destroyFunc = function()
  729. updateSelection = nil
  730. if selectionContainer then selectionContainer:Destroy() end
  731. adornments = nil
  732. end
  733.  
  734. return updateSelection, destroyFunc
  735. end
  736.  
  737. -----------------------------Terrain Utilities End-----------------------------
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745. ------------------------------------------------------------------------------------------------------------------------
  746. ------------------------------------------------------------------------------------------------------------------------
  747. ------------------------------------------------------------------------------------------------------------------------
  748. ------------------------------------------------Signal class begin------------------------------------------------------
  749. ------------------------------------------------------------------------------------------------------------------------
  750. ------------------------------------------------------------------------------------------------------------------------
  751. ------------------------------------------------------------------------------------------------------------------------
  752. --[[
  753. A 'Signal' object identical to the internal RBXScriptSignal object in it's public API and semantics. This function
  754. can be used to create "custom events" for user-made code.
  755. API:
  756. Method :connect( function handler )
  757. Arguments: The function to connect to.
  758. Returns: A new connection object which can be used to disconnect the connection
  759. Description: Connects this signal to the function specified by |handler|. That is, when |fire( ... )| is called for
  760. the signal the |handler| will be called with the arguments given to |fire( ... )|. Note, the functions
  761. connected to a signal are called in NO PARTICULAR ORDER, so connecting one function after another does
  762. NOT mean that the first will be called before the second as a result of a call to |fire|.
  763.  
  764. Method :disconnect()
  765. Arguments: None
  766. Returns: None
  767. Description: Disconnects all of the functions connected to this signal.
  768.  
  769. Method :fire( ... )
  770. Arguments: Any arguments are accepted
  771. Returns: None
  772. Description: Calls all of the currently connected functions with the given arguments.
  773.  
  774. Method :wait()
  775. Arguments: None
  776. Returns: The arguments given to fire
  777. Description: This call blocks until
  778. ]]
  779.  
  780. function t.CreateSignal()
  781. local this = {}
  782.  
  783. local mBindableEvent = Instance.new('BindableEvent')
  784. local mAllCns = {} --all connection objects returned by mBindableEvent::connect
  785.  
  786. --main functions
  787. function this:connect(func)
  788. if self ~= this then error("connect must be called with `:`, not `.`", 2) end
  789. if type(func) ~= 'function' then
  790. error("Argument #1 of connect must be a function, got a "..type(func), 2)
  791. end
  792. local cn = mBindableEvent.Event:Connect(func)
  793. mAllCns[cn] = true
  794. local pubCn = {}
  795. function pubCn:disconnect()
  796. cn:Disconnect()
  797. mAllCns[cn] = nil
  798. end
  799. pubCn.Disconnect = pubCn.disconnect
  800.  
  801. return pubCn
  802. end
  803.  
  804. function this:disconnect()
  805. if self ~= this then error("disconnect must be called with `:`, not `.`", 2) end
  806. for cn, _ in pairs(mAllCns) do
  807. cn:Disconnect()
  808. mAllCns[cn] = nil
  809. end
  810. end
  811.  
  812. function this:wait()
  813. if self ~= this then error("wait must be called with `:`, not `.`", 2) end
  814. return mBindableEvent.Event:Wait()
  815. end
  816.  
  817. function this:fire(...)
  818. if self ~= this then error("fire must be called with `:`, not `.`", 2) end
  819. mBindableEvent:Fire(...)
  820. end
  821.  
  822. this.Connect = this.connect
  823. this.Disconnect = this.disconnect
  824. this.Wait = this.wait
  825. this.Fire = this.fire
  826.  
  827. return this
  828. end
  829.  
  830. ------------------------------------------------- Sigal class End ------------------------------------------------------
  831.  
  832.  
  833.  
  834.  
  835. ------------------------------------------------------------------------------------------------------------------------
  836. ------------------------------------------------------------------------------------------------------------------------
  837. ------------------------------------------------------------------------------------------------------------------------
  838. -----------------------------------------------Create Function Begins---------------------------------------------------
  839. ------------------------------------------------------------------------------------------------------------------------
  840. ------------------------------------------------------------------------------------------------------------------------
  841. ------------------------------------------------------------------------------------------------------------------------
  842. --[[
  843. A "Create" function for easy creation of Roblox instances. The function accepts a string which is the classname of
  844. the object to be created. The function then returns another function which either accepts accepts no arguments, in
  845. which case it simply creates an object of the given type, or a table argument that may contain several types of data,
  846. in which case it mutates the object in varying ways depending on the nature of the aggregate data. These are the
  847. type of data and what operation each will perform:
  848. 1) A string key mapping to some value:
  849. Key-Value pairs in this form will be treated as properties of the object, and will be assigned in NO PARTICULAR
  850. ORDER. If the order in which properties is assigned matter, then they must be assigned somewhere else than the
  851. |Create| call's body.
  852.  
  853. 2) An integral key mapping to another Instance:
  854. Normal numeric keys mapping to Instances will be treated as children if the object being created, and will be
  855. parented to it. This allows nice recursive calls to Create to create a whole hierarchy of objects without a
  856. need for temporary variables to store references to those objects.
  857.  
  858. 3) A key which is a value returned from Create.Event( eventname ), and a value which is a function function
  859. The Create.E( string ) function provides a limited way to connect to signals inside of a Create hierarchy
  860. for those who really want such a functionality. The name of the event whose name is passed to
  861. Create.E( string )
  862.  
  863. 4) A key which is the Create function itself, and a value which is a function
  864. The function will be run with the argument of the object itself after all other initialization of the object is
  865. done by create. This provides a way to do arbitrary things involving the object from withing the create
  866. hierarchy.
  867. Note: This function is called SYNCHRONOUSLY, that means that you should only so initialization in
  868. it, not stuff which requires waiting, as the Create call will block until it returns. While waiting in the
  869. constructor callback function is possible, it is probably not a good design choice.
  870. Note: Since the constructor function is called after all other initialization, a Create block cannot have two
  871. constructor functions, as it would not be possible to call both of them last, also, this would be unnecessary.
  872.  
  873.  
  874. Some example usages:
  875.  
  876. A simple example which uses the Create function to create a model object and assign two of it's properties.
  877. local model = Create'Model'{
  878. Name = 'A New model',
  879. Parent = game.Workspace,
  880. }
  881.  
  882.  
  883. An example where a larger hierarchy of object is made. After the call the hierarchy will look like this:
  884. Model_Container
  885. |-ObjectValue
  886. | |
  887. | `-BoolValueChild
  888. `-IntValue
  889.  
  890. local model = Create'Model'{
  891. Name = 'Model_Container',
  892. Create'ObjectValue'{
  893. Create'BoolValue'{
  894. Name = 'BoolValueChild',
  895. },
  896. },
  897. Create'IntValue'{},
  898. }
  899.  
  900.  
  901. An example using the event syntax:
  902.  
  903. local part = Create'Part'{
  904. [Create.E'Touched'] = function(part)
  905. print("I was touched by "..part.Name)
  906. end,
  907. }
  908.  
  909.  
  910. An example using the general constructor syntax:
  911.  
  912. local model = Create'Part'{
  913. [Create] = function(this)
  914. print("Constructor running!")
  915. this.Name = GetGlobalFoosAndBars(this)
  916. end,
  917. }
  918.  
  919.  
  920. Note: It is also perfectly legal to save a reference to the function returned by a call Create, this will not cause
  921. any unexpected behavior. EG:
  922. local partCreatingFunction = Create'Part'
  923. local part = partCreatingFunction()
  924. ]]
  925.  
  926. --the Create function need to be created as a functor, not a function, in order to support the Create.E syntax, so it
  927. --will be created in several steps rather than as a single function declaration.
  928. local function Create_PrivImpl(objectType)
  929. if type(objectType) ~= 'string' then
  930. error("Argument of Create must be a string", 2)
  931. end
  932. --return the proxy function that gives us the nice Create'string'{data} syntax
  933. --The first function call is a function call using Lua's single-string-argument syntax
  934. --The second function call is using Lua's single-table-argument syntax
  935. --Both can be chained together for the nice effect.
  936. return function(dat)
  937. --default to nothing, to handle the no argument given case
  938. dat = dat or {}
  939.  
  940. --make the object to mutate
  941. local obj = Instance.new(objectType)
  942. local parent = nil
  943.  
  944. --stored constructor function to be called after other initialization
  945. local ctor = nil
  946.  
  947. for k, v in pairs(dat) do
  948. --add property
  949. if type(k) == 'string' then
  950. if k == 'Parent' then
  951. -- Parent should always be set last, setting the Parent of a new object
  952. -- immediately makes performance worse for all subsequent property updates.
  953. parent = v
  954. else
  955. obj[k] = v
  956. end
  957.  
  958.  
  959. --add child
  960. elseif type(k) == 'number' then
  961. if type(v) ~= 'userdata' then
  962. error("Bad entry in Create body: Numeric keys must be paired with children, got a: "..type(v), 2)
  963. end
  964. v.Parent = obj
  965.  
  966.  
  967. --event connect
  968. elseif type(k) == 'table' and k.__eventname then
  969. if type(v) ~= 'function' then
  970. error("Bad entry in Create body: Key `[Create.E\'"..k.__eventname.."\']` must have a function value\
  971. got: "..tostring(v), 2)
  972. end
  973. obj[k.__eventname]:connect(v)
  974.  
  975.  
  976. --define constructor function
  977. elseif k == t.Create then
  978. if type(v) ~= 'function' then
  979. error("Bad entry in Create body: Key `[Create]` should be paired with a constructor function, \
  980. got: "..tostring(v), 2)
  981. elseif ctor then
  982. --ctor already exists, only one allowed
  983. error("Bad entry in Create body: Only one constructor function is allowed", 2)
  984. end
  985. ctor = v
  986.  
  987.  
  988. else
  989. error("Bad entry ("..tostring(k).." => "..tostring(v)..") in Create body", 2)
  990. end
  991. end
  992.  
  993. --apply constructor function if it exists
  994. if ctor then
  995. ctor(obj)
  996. end
  997.  
  998. if parent then
  999. obj.Parent = parent
  1000. end
  1001.  
  1002. --return the completed object
  1003. return obj
  1004. end
  1005. end
  1006.  
  1007. --now, create the functor:
  1008. t.Create = setmetatable({}, {__call = function(tb, ...) return Create_PrivImpl(...) end})
  1009.  
  1010. --and create the "Event.E" syntax stub. Really it's just a stub to construct a table which our Create
  1011. --function can recognize as special.
  1012. t.Create.E = function(eventName)
  1013. return {__eventname = eventName}
  1014. end
  1015.  
  1016. -------------------------------------------------Create function End----------------------------------------------------
  1017.  
  1018.  
  1019.  
  1020.  
  1021. ------------------------------------------------------------------------------------------------------------------------
  1022. ------------------------------------------------------------------------------------------------------------------------
  1023. ------------------------------------------------------------------------------------------------------------------------
  1024. ------------------------------------------------Documentation Begin-----------------------------------------------------
  1025. ------------------------------------------------------------------------------------------------------------------------
  1026. ------------------------------------------------------------------------------------------------------------------------
  1027. ------------------------------------------------------------------------------------------------------------------------
  1028.  
  1029. t.Help =
  1030. function(funcNameOrFunc)
  1031. --input argument can be a string or a function. Should return a description (of arguments and expected side effects)
  1032. if funcNameOrFunc == "DecodeJSON" or funcNameOrFunc == t.DecodeJSON then
  1033. return "Function DecodeJSON. " ..
  1034. "Arguments: (string). " ..
  1035. "Side effect: returns a table with all parsed JSON values"
  1036. end
  1037. if funcNameOrFunc == "EncodeJSON" or funcNameOrFunc == t.EncodeJSON then
  1038. return "Function EncodeJSON. " ..
  1039. "Arguments: (table). " ..
  1040. "Side effect: returns a string composed of argument table in JSON data format"
  1041. end
  1042. if funcNameOrFunc == "MakeWedge" or funcNameOrFunc == t.MakeWedge then
  1043. return "Function MakeWedge. " ..
  1044. "Arguments: (x, y, z, [default material]). " ..
  1045. "Description: Makes a wedge at location x, y, z. Sets cell x, y, z to default material if "..
  1046. "parameter is provided, if not sets cell x, y, z to be whatever material it previously was. "..
  1047. "Returns true if made a wedge, false if the cell remains a block "
  1048. end
  1049. if funcNameOrFunc == "SelectTerrainRegion" or funcNameOrFunc == t.SelectTerrainRegion then
  1050. return "Function SelectTerrainRegion. " ..
  1051. "Arguments: (regionToSelect, color, selectEmptyCells, selectionParent). " ..
  1052. "Description: Selects all terrain via a series of selection boxes within the regionToSelect " ..
  1053. "(this should be a region3 value). The selection box color is detemined by the color argument " ..
  1054. "(should be a brickcolor value). SelectionParent is the parent that the selection model gets placed to (optional)." ..
  1055. "SelectEmptyCells is bool, when true will select all cells in the " ..
  1056. "region, otherwise we only select non-empty cells. Returns a function that can update the selection," ..
  1057. "arguments to said function are a new region3 to select, and the adornment color (color arg is optional). " ..
  1058. "Also returns a second function that takes no arguments and destroys the selection"
  1059. end
  1060. if funcNameOrFunc == "CreateSignal" or funcNameOrFunc == t.CreateSignal then
  1061. return "Function CreateSignal. "..
  1062. "Arguments: None. "..
  1063. "Returns: The newly created Signal object. This object is identical to the RBXScriptSignal class "..
  1064. "used for events in Objects, but is a Lua-side object so it can be used to create custom events in"..
  1065. "Lua code. "..
  1066. "Methods of the Signal object: :connect, :wait, :fire, :disconnect. "..
  1067. "For more info you can pass the method name to the Help function, or view the wiki page "..
  1068. "for this library. EG: Help('Signal:connect')."
  1069. end
  1070. if funcNameOrFunc == "Signal:connect" then
  1071. return "Method Signal:connect. "..
  1072. "Arguments: (function handler). "..
  1073. "Return: A connection object which can be used to disconnect the connection to this handler. "..
  1074. "Description: Connectes a handler function to this Signal, so that when |fire| is called the "..
  1075. "handler function will be called with the arguments passed to |fire|."
  1076. end
  1077. if funcNameOrFunc == "Signal:wait" then
  1078. return "Method Signal:wait. "..
  1079. "Arguments: None. "..
  1080. "Returns: The arguments passed to the next call to |fire|. "..
  1081. "Description: This call does not return until the next call to |fire| is made, at which point it "..
  1082. "will return the values which were passed as arguments to that |fire| call."
  1083. end
  1084. if funcNameOrFunc == "Signal:fire" then
  1085. return "Method Signal:fire. "..
  1086. "Arguments: Any number of arguments of any type. "..
  1087. "Returns: None. "..
  1088. "Description: This call will invoke any connected handler functions, and notify any waiting code "..
  1089. "attached to this Signal to continue, with the arguments passed to this function. Note: The calls "..
  1090. "to handlers are made asynchronously, so this call will return immediately regardless of how long "..
  1091. "it takes the connected handler functions to complete."
  1092. end
  1093. if funcNameOrFunc == "Signal:disconnect" then
  1094. return "Method Signal:disconnect. "..
  1095. "Arguments: None. "..
  1096. "Returns: None. "..
  1097. "Description: This call disconnects all handlers attacched to this function, note however, it "..
  1098. "does NOT make waiting code continue, as is the behavior of normal Roblox events. This method "..
  1099. "can also be called on the connection object which is returned from Signal:connect to only "..
  1100. "disconnect a single handler, as opposed to this method, which will disconnect all handlers."
  1101. end
  1102. if funcNameOrFunc == "Create" then
  1103. return "Function Create. "..
  1104. "Arguments: A table containing information about how to construct a collection of objects. "..
  1105. "Returns: The constructed objects. "..
  1106. "Descrition: Create is a very powerfull function, whose description is too long to fit here, and "..
  1107. "is best described via example, please see the wiki page for a description of how to use it."
  1108. end
  1109. end
  1110.  
  1111. --------------------------------------------Documentation Ends----------------------------------------------------------
  1112.  
  1113. return t
  1114. end
  1115.  
  1116. --[[ Name : Gale Fighter ]]--
  1117. -------------------------------------------------------
  1118. --A Collaboration Between makhail07 and KillerDarkness0105
  1119.  
  1120. --Base Animaion by makhail07, attacks by KillerDarkness0105
  1121. -------------------------------------------------------
  1122.  
  1123.  
  1124. local FavIDs = {
  1125. 340106355, --Nefl Crystals
  1126. 927529620, --Dimension
  1127. 876981900, --Fantasy
  1128. 398987889, --Ordinary Days
  1129. 1117396305, --Oh wait, it's you.
  1130. 885996042, --Action Winter Journey
  1131. 919231299, --Sprawling Idiot Effigy
  1132. 743466274, --Good Day Sunshine
  1133. 727411183, --Knife Fight
  1134. 1402748531, --The Earth Is Counting On You!
  1135. 595230126 --Robot Language
  1136. }
  1137.  
  1138.  
  1139.  
  1140. --The reality of my life isn't real but a Universe -makhail07
  1141. wait(0.2)
  1142. local plr = game:GetService("Players").LocalPlayer
  1143. print('Local User is '..plr.Name)
  1144. print('Gale Fighter Loaded')
  1145. print('The Fighter that is as fast as wind, a true Fighter')
  1146. local char = plr.Character.NullwareReanim
  1147. local hum = char.Humanoid
  1148. local hed = char.Head
  1149. local root = char.HumanoidRootPart
  1150. local rootj = root.RootJoint
  1151. local tors = char.Torso
  1152. local ra = char["Right Arm"]
  1153. local la = char["Left Arm"]
  1154. local rl = char["Right Leg"]
  1155. local ll = char["Left Leg"]
  1156. local neck = tors["Neck"]
  1157. local mouse = plr:GetMouse()
  1158. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1159. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1160. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1161. local maincolor = BrickColor.new("Institutional white")
  1162. hum.MaxHealth = 200
  1163. hum.Health = 200
  1164.  
  1165. local hrp = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  1166.  
  1167. hrp.Name = "HumanoidRootPart"
  1168. hrp.Transparency = 0.5
  1169. hrp.Anchored = false
  1170. if hrp:FindFirstChildOfClass("AlignPosition") then
  1171. hrp:FindFirstChildOfClass("AlignPosition"):Destroy()
  1172. end
  1173. if hrp:FindFirstChildOfClass("AlignOrientation") then
  1174. hrp:FindFirstChildOfClass("AlignOrientation"):Destroy()
  1175. end
  1176. local bp = Instance.new("BodyPosition", hrp)
  1177. bp.Position = hrp.Position
  1178. bp.D = 9999999
  1179. bp.P = 999999999999999
  1180. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1181. local flinger = Instance.new("BodyAngularVelocity",hrp)
  1182. flinger.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1183. flinger.P = 1000000000000000000000000000
  1184. flinger.AngularVelocity = Vector3.new(10000,10000,10000)
  1185.  
  1186. spawn(function()
  1187. while game:GetService("RunService").Heartbeat:Wait() do
  1188. bp.Position = game:GetService("Players").LocalPlayer.Character["NullwareReanim"].Torso.Position
  1189. end
  1190. end)
  1191.  
  1192. -------------------------------------------------------
  1193. --Start Good Stuff--
  1194. -------------------------------------------------------
  1195. cam = game.Workspace.CurrentCamera
  1196. CF = CFrame.new
  1197. angles = CFrame.Angles
  1198. attack = false
  1199. Euler = CFrame.fromEulerAnglesXYZ
  1200. Rad = math.rad
  1201. IT = Instance.new
  1202. BrickC = BrickColor.new
  1203. Cos = math.cos
  1204. Acos = math.acos
  1205. Sin = math.sin
  1206. Asin = math.asin
  1207. Abs = math.abs
  1208. Mrandom = math.random
  1209. Floor = math.floor
  1210. -------------------------------------------------------
  1211. --End Good Stuff--
  1212. -------------------------------------------------------
  1213. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1214. RSH, LSH = nil, nil
  1215. RW = Instance.new("Weld")
  1216. LW = Instance.new("Weld")
  1217. RH = tors["Right Hip"]
  1218. LH = tors["Left Hip"]
  1219. RSH = tors["Right Shoulder"]
  1220. LSH = tors["Left Shoulder"]
  1221. RSH.Parent = nil
  1222. LSH.Parent = nil
  1223. RW.Name = "RW"
  1224. RW.Part0 = tors
  1225. RW.C0 = CF(1.5, 0.5, 0)
  1226. RW.C1 = CF(0, 0.5, 0)
  1227. RW.Part1 = ra
  1228. RW.Parent = tors
  1229. LW.Name = "LW"
  1230. LW.Part0 = tors
  1231. LW.C0 = CF(-1.5, 0.5, 0)
  1232. LW.C1 = CF(0, 0.5, 0)
  1233. LW.Part1 = la
  1234. LW.Parent = tors
  1235. vt = Vector3.new
  1236. Effects = {}
  1237. -------------------------------------------------------
  1238. --Start HeartBeat--
  1239. -------------------------------------------------------
  1240. ArtificialHB = Instance.new("BindableEvent", script)
  1241. ArtificialHB.Name = "Heartbeat"
  1242. script:WaitForChild("Heartbeat")
  1243.  
  1244. frame = 1 / 90
  1245. tf = 0
  1246. allowframeloss = false
  1247. tossremainder = false
  1248.  
  1249.  
  1250. lastframe = tick()
  1251. script.Heartbeat:Fire()
  1252.  
  1253.  
  1254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1255. tf = tf + s
  1256. if tf >= frame then
  1257. if allowframeloss then
  1258. script.Heartbeat:Fire()
  1259. lastframe = tick()
  1260. else
  1261. for i = 1, math.floor(tf / frame) do
  1262. script.Heartbeat:Fire()
  1263. end
  1264. lastframe = tick()
  1265. end
  1266. if tossremainder then
  1267. tf = 0
  1268. else
  1269. tf = tf - frame * math.floor(tf / frame)
  1270. end
  1271. end
  1272. end)
  1273. -------------------------------------------------------
  1274. --End HeartBeat--
  1275. -------------------------------------------------------
  1276.  
  1277.  
  1278.  
  1279. -------------------------------------------------------
  1280. --Start Combo Function--
  1281. -------------------------------------------------------
  1282. local comboing = false
  1283. local combohits = 0
  1284. local combotime = 0
  1285. local maxtime = 65
  1286.  
  1287.  
  1288.  
  1289. function sandbox(var,func)
  1290. local env = getfenv(func)
  1291. local newenv = setmetatable({},{
  1292. __index = function(self,k)
  1293. if k=="script" then
  1294. return var
  1295. else
  1296. return env[k]
  1297. end
  1298. end,
  1299. })
  1300. setfenv(func,newenv)
  1301. return func
  1302. end
  1303. cors = {}
  1304. mas = Instance.new("Model",game:GetService("Lighting"))
  1305. comboframe = Instance.new("ScreenGui")
  1306. Frame1 = Instance.new("Frame")
  1307. Frame2 = Instance.new("Frame")
  1308. TextLabel3 = Instance.new("TextLabel")
  1309. comboframe.Name = "combinserter"
  1310. comboframe.Parent = mas
  1311. Frame1.Name = "combtimegui"
  1312. Frame1.Parent = comboframe
  1313. Frame1.Size = UDim2.new(0, 300, 0, 14)
  1314. Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
  1315. Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
  1316. Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
  1317. Frame1.BorderSizePixel = 5
  1318. Frame2.Name = "combtimeoverlay"
  1319. Frame2.Parent = Frame1
  1320. Frame2.Size = UDim2.new(0, 0, 0, 14)
  1321. Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
  1322. Frame2.ZIndex = 2
  1323. TextLabel3.Parent = Frame2
  1324. TextLabel3.Transparency = 0
  1325. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  1326. TextLabel3.Text ="Hits: "..combohits
  1327. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  1328. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  1329. TextLabel3.BackgroundTransparency = 1
  1330. TextLabel3.Font = Enum.Font.Bodoni
  1331. TextLabel3.FontSize = Enum.FontSize.Size60
  1332. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  1333. TextLabel3.TextStrokeTransparency = 0
  1334. gui = game:GetService("Players").LocalPlayer.PlayerGui
  1335. for i,v in pairs(mas:GetChildren()) do
  1336. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  1337. pcall(function() v:MakeJoints() end)
  1338. end
  1339. mas:Destroy()
  1340. for i,v in pairs(cors) do
  1341. spawn(function()
  1342. pcall(v)
  1343. end)
  1344. end
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350. coroutine.resume(coroutine.create(function()
  1351. while true do
  1352. wait()
  1353.  
  1354.  
  1355. if combotime>65 then
  1356. combotime = 65
  1357. end
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363. if combotime>.1 and comboing == true then
  1364. TextLabel3.Transparency = 0
  1365. TextLabel3.TextStrokeTransparency = 0
  1366. TextLabel3.BackgroundTransparency = 1
  1367. Frame1.Transparency = 0
  1368. Frame2.Transparency = 0
  1369. TextLabel3.Text ="Hits: "..combohits
  1370. combotime = combotime - .34
  1371. Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
  1372. end
  1373.  
  1374.  
  1375.  
  1376.  
  1377. if combotime<.1 then
  1378. TextLabel3.BackgroundTransparency = 1
  1379. TextLabel3.Transparency = 1
  1380. TextLabel3.TextStrokeTransparency = 1
  1381.  
  1382. Frame2.Size = UDim2.new(0, 0, 0, 14)
  1383. combotime = 0
  1384. comboing = false
  1385. Frame1.Transparency = 1
  1386. Frame2.Transparency = 1
  1387. combohits = 0
  1388.  
  1389. end
  1390. end
  1391. end))
  1392.  
  1393.  
  1394.  
  1395. -------------------------------------------------------
  1396. --End Combo Function--
  1397. -------------------------------------------------------
  1398.  
  1399. -------------------------------------------------------
  1400. --Start Important Functions--
  1401. -------------------------------------------------------
  1402. function swait(num)
  1403. if num == 0 or num == nil then
  1404. game:service("RunService").Stepped:wait(0)
  1405. else
  1406. for i = 0, num do
  1407. game:service("RunService").Stepped:wait(0)
  1408. end
  1409. end
  1410. end
  1411. function thread(f)
  1412. coroutine.resume(coroutine.create(f))
  1413. end
  1414. function clerp(a, b, t)
  1415. local qa = {
  1416. QuaternionFromCFrame(a)
  1417. }
  1418. local qb = {
  1419. QuaternionFromCFrame(b)
  1420. }
  1421. local ax, ay, az = a.x, a.y, a.z
  1422. local bx, by, bz = b.x, b.y, b.z
  1423. local _t = 1 - t
  1424. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1425. end
  1426. function QuaternionFromCFrame(cf)
  1427. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1428. local trace = m00 + m11 + m22
  1429. if trace > 0 then
  1430. local s = math.sqrt(1 + trace)
  1431. local recip = 0.5 / s
  1432. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1433. else
  1434. local i = 0
  1435. if m00 < m11 then
  1436. i = 1
  1437. end
  1438. if m22 > (i == 0 and m00 or m11) then
  1439. i = 2
  1440. end
  1441. if i == 0 then
  1442. local s = math.sqrt(m00 - m11 - m22 + 1)
  1443. local recip = 0.5 / s
  1444. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1445. elseif i == 1 then
  1446. local s = math.sqrt(m11 - m22 - m00 + 1)
  1447. local recip = 0.5 / s
  1448. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1449. elseif i == 2 then
  1450. local s = math.sqrt(m22 - m00 - m11 + 1)
  1451. local recip = 0.5 / s
  1452. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1453. end
  1454. end
  1455. end
  1456. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1457. local xs, ys, zs = x + x, y + y, z + z
  1458. local wx, wy, wz = w * xs, w * ys, w * zs
  1459. local xx = x * xs
  1460. local xy = x * ys
  1461. local xz = x * zs
  1462. local yy = y * ys
  1463. local yz = y * zs
  1464. local zz = z * zs
  1465. 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))
  1466. end
  1467. function QuaternionSlerp(a, b, t)
  1468. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1469. local startInterp, finishInterp
  1470. if cosTheta >= 1.0E-4 then
  1471. if 1 - cosTheta > 1.0E-4 then
  1472. local theta = math.acos(cosTheta)
  1473. local invSinTheta = 1 / Sin(theta)
  1474. startInterp = Sin((1 - t) * theta) * invSinTheta
  1475. finishInterp = Sin(t * theta) * invSinTheta
  1476. else
  1477. startInterp = 1 - t
  1478. finishInterp = t
  1479. end
  1480. elseif 1 + cosTheta > 1.0E-4 then
  1481. local theta = math.acos(-cosTheta)
  1482. local invSinTheta = 1 / Sin(theta)
  1483. startInterp = Sin((t - 1) * theta) * invSinTheta
  1484. finishInterp = Sin(t * theta) * invSinTheta
  1485. else
  1486. startInterp = t - 1
  1487. finishInterp = t
  1488. end
  1489. 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
  1490. end
  1491. function rayCast(Position, Direction, Range, Ignore)
  1492. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1493. end
  1494. local RbxUtility = LoadLibrary("RbxUtility")
  1495. local Create = RbxUtility.Create
  1496.  
  1497. -------------------------------------------------------
  1498. --Start Damage Function--
  1499. -------------------------------------------------------
  1500.  
  1501. -------------------------------------------------------
  1502. --End Damage Function--
  1503. -------------------------------------------------------
  1504.  
  1505. -------------------------------------------------------
  1506. --Start Damage Function Customization--
  1507. -------------------------------------------------------
  1508. function ShowDamage(Pos, Text, Time, Color)
  1509. local Rate = (1 / 30)
  1510. local Pos = (Pos or Vector3.new(0, 0, 0))
  1511. local Text = (Text or "")
  1512. local Time = (Time or 2)
  1513. local Color = (Color or Color3.new(1, 0, 1))
  1514. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1515. EffectPart.Anchored = true
  1516. local BillboardGui = Create("BillboardGui"){
  1517. Size = UDim2.new(3, 0, 3, 0),
  1518. Adornee = EffectPart,
  1519. Parent = EffectPart,
  1520. }
  1521. local TextLabel = Create("TextLabel"){
  1522. BackgroundTransparency = 1,
  1523. Size = UDim2.new(1, 0, 1, 0),
  1524. Text = Text,
  1525. Font = "Bodoni",
  1526. TextColor3 = Color,
  1527. TextScaled = true,
  1528. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1529. Parent = BillboardGui,
  1530. }
  1531. game.Debris:AddItem(EffectPart, (Time))
  1532. EffectPart.Parent = game:GetService("Workspace")
  1533. delay(0, function()
  1534. local Frames = (Time / Rate)
  1535. for Frame = 1, Frames do
  1536. wait(Rate)
  1537. local Percent = (Frame / Frames)
  1538. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1539. TextLabel.TextTransparency = Percent
  1540. end
  1541. if EffectPart and EffectPart.Parent then
  1542. EffectPart:Destroy()
  1543. end
  1544. end)
  1545. end
  1546. -------------------------------------------------------
  1547. --End Damage Function Customization--
  1548. -------------------------------------------------------
  1549.  
  1550. CFuncs = {
  1551. Part = {
  1552. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1553. local Part = Create("Part")({
  1554. Parent = Parent,
  1555. Reflectance = Reflectance,
  1556. Transparency = Transparency,
  1557. CanCollide = false,
  1558. Locked = true,
  1559. BrickColor = BrickColor.new(tostring(BColor)),
  1560. Name = Name,
  1561. Size = Size,
  1562. Material = Material
  1563. })
  1564. RemoveOutlines(Part)
  1565. return Part
  1566. end
  1567. },
  1568. Mesh = {
  1569. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1570. local Msh = Create(Mesh)({
  1571. Parent = Part,
  1572. Offset = OffSet,
  1573. Scale = Scale
  1574. })
  1575. if Mesh == "SpecialMesh" then
  1576. Msh.MeshType = MeshType
  1577. Msh.MeshId = MeshId
  1578. end
  1579. return Msh
  1580. end
  1581. },
  1582. Mesh = {
  1583. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1584. local Msh = Create(Mesh)({
  1585. Parent = Part,
  1586. Offset = OffSet,
  1587. Scale = Scale
  1588. })
  1589. if Mesh == "SpecialMesh" then
  1590. Msh.MeshType = MeshType
  1591. Msh.MeshId = MeshId
  1592. end
  1593. return Msh
  1594. end
  1595. },
  1596. Weld = {
  1597. Create = function(Parent, Part0, Part1, C0, C1)
  1598. local Weld = Create("Weld")({
  1599. Parent = Parent,
  1600. Part0 = Part0,
  1601. Part1 = Part1,
  1602. C0 = C0,
  1603. C1 = C1
  1604. })
  1605. return Weld
  1606. end
  1607. },
  1608. Sound = {
  1609. Create = function(id, par, vol, pit)
  1610. coroutine.resume(coroutine.create(function()
  1611. local S = Create("Sound")({
  1612. Volume = vol,
  1613. Pitch = pit or 1,
  1614. SoundId = id,
  1615. Parent = par or workspace
  1616. })
  1617. wait()
  1618. S:play()
  1619. game:GetService("Debris"):AddItem(S, 6)
  1620. end))
  1621. end
  1622. },
  1623. ParticleEmitter = {
  1624. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1625. local fp = Create("ParticleEmitter")({
  1626. Parent = Parent,
  1627. Color = ColorSequence.new(Color1, Color2),
  1628. LightEmission = LightEmission,
  1629. Size = Size,
  1630. Texture = Texture,
  1631. Transparency = Transparency,
  1632. ZOffset = ZOffset,
  1633. Acceleration = Accel,
  1634. Drag = Drag,
  1635. LockedToPart = LockedToPart,
  1636. VelocityInheritance = VelocityInheritance,
  1637. EmissionDirection = EmissionDirection,
  1638. Enabled = Enabled,
  1639. Lifetime = LifeTime,
  1640. Rate = Rate,
  1641. Rotation = Rotation,
  1642. RotSpeed = RotSpeed,
  1643. Speed = Speed,
  1644. VelocitySpread = VelocitySpread
  1645. })
  1646. return fp
  1647. end
  1648. }
  1649. }
  1650. function RemoveOutlines(part)
  1651. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1652. end
  1653. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1654. local Part = Create("Part")({
  1655. formFactor = FormFactor,
  1656. Parent = Parent,
  1657. Reflectance = Reflectance,
  1658. Transparency = Transparency,
  1659. CanCollide = false,
  1660. Locked = true,
  1661. BrickColor = BrickColor.new(tostring(BColor)),
  1662. Name = Name,
  1663. Size = Size,
  1664. Material = Material
  1665. })
  1666. RemoveOutlines(Part)
  1667. return Part
  1668. end
  1669. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1670. local Msh = Create(Mesh)({
  1671. Parent = Part,
  1672. Offset = OffSet,
  1673. Scale = Scale
  1674. })
  1675. if Mesh == "SpecialMesh" then
  1676. Msh.MeshType = MeshType
  1677. Msh.MeshId = MeshId
  1678. end
  1679. return Msh
  1680. end
  1681. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1682. local Weld = Create("Weld")({
  1683. Parent = Parent,
  1684. Part0 = Part0,
  1685. Part1 = Part1,
  1686. C0 = C0,
  1687. C1 = C1
  1688. })
  1689. return Weld
  1690. end
  1691.  
  1692.  
  1693. -------------------------------------------------------
  1694. --Start Effect Function--
  1695. -------------------------------------------------------
  1696. EffectModel = Instance.new("Model", char)
  1697. Effects = {
  1698. Block = {
  1699. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1700. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1701. prt.Anchored = true
  1702. prt.CFrame = cframe
  1703. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1704. game:GetService("Debris"):AddItem(prt, 10)
  1705. if Type == 1 or Type == nil then
  1706. table.insert(Effects, {
  1707. prt,
  1708. "Block1",
  1709. delay,
  1710. x3,
  1711. y3,
  1712. z3,
  1713. msh
  1714. })
  1715. elseif Type == 2 then
  1716. table.insert(Effects, {
  1717. prt,
  1718. "Block2",
  1719. delay,
  1720. x3,
  1721. y3,
  1722. z3,
  1723. msh
  1724. })
  1725. else
  1726. table.insert(Effects, {
  1727. prt,
  1728. "Block3",
  1729. delay,
  1730. x3,
  1731. y3,
  1732. z3,
  1733. msh
  1734. })
  1735. end
  1736. end
  1737. },
  1738. Sphere = {
  1739. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1740. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1741. prt.Anchored = true
  1742. prt.CFrame = cframe
  1743. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1744. game:GetService("Debris"):AddItem(prt, 10)
  1745. table.insert(Effects, {
  1746. prt,
  1747. "Cylinder",
  1748. delay,
  1749. x3,
  1750. y3,
  1751. z3,
  1752. msh
  1753. })
  1754. end
  1755. },
  1756. Cylinder = {
  1757. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1758. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1759. prt.Anchored = true
  1760. prt.CFrame = cframe
  1761. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1762. game:GetService("Debris"):AddItem(prt, 10)
  1763. table.insert(Effects, {
  1764. prt,
  1765. "Cylinder",
  1766. delay,
  1767. x3,
  1768. y3,
  1769. z3,
  1770. msh
  1771. })
  1772. end
  1773. },
  1774. Wave = {
  1775. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1776. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1777. prt.Anchored = true
  1778. prt.CFrame = cframe
  1779. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1780. game:GetService("Debris"):AddItem(prt, 10)
  1781. table.insert(Effects, {
  1782. prt,
  1783. "Cylinder",
  1784. delay,
  1785. x3 / 60,
  1786. y3 / 60,
  1787. z3 / 60,
  1788. msh
  1789. })
  1790. end
  1791. },
  1792. Ring = {
  1793. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1794. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1795. prt.Anchored = true
  1796. prt.CFrame = cframe
  1797. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1798. game:GetService("Debris"):AddItem(prt, 10)
  1799. table.insert(Effects, {
  1800. prt,
  1801. "Cylinder",
  1802. delay,
  1803. x3,
  1804. y3,
  1805. z3,
  1806. msh
  1807. })
  1808. end
  1809. },
  1810. Break = {
  1811. Create = function(brickcolor, cframe, x1, y1, z1)
  1812. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1813. prt.Anchored = true
  1814. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1815. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1816. local num = math.random(10, 50) / 1000
  1817. game:GetService("Debris"):AddItem(prt, 10)
  1818. table.insert(Effects, {
  1819. prt,
  1820. "Shatter",
  1821. num,
  1822. prt.CFrame,
  1823. math.random() - math.random(),
  1824. 0,
  1825. math.random(50, 100) / 100
  1826. })
  1827. end
  1828. },
  1829. Spiral = {
  1830. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1831. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1832. prt.Anchored = true
  1833. prt.CFrame = cframe
  1834. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1835. game:GetService("Debris"):AddItem(prt, 10)
  1836. table.insert(Effects, {
  1837. prt,
  1838. "Cylinder",
  1839. delay,
  1840. x3,
  1841. y3,
  1842. z3,
  1843. msh
  1844. })
  1845. end
  1846. },
  1847. Push = {
  1848. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1849. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1850. prt.Anchored = true
  1851. prt.CFrame = cframe
  1852. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1853. game:GetService("Debris"):AddItem(prt, 10)
  1854. table.insert(Effects, {
  1855. prt,
  1856. "Cylinder",
  1857. delay,
  1858. x3,
  1859. y3,
  1860. z3,
  1861. msh
  1862. })
  1863. end
  1864. }
  1865. }
  1866. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1867. local fp = IT("Part")
  1868. fp.formFactor = formfactor
  1869. fp.Parent = parent
  1870. fp.Reflectance = reflectance
  1871. fp.Transparency = transparency
  1872. fp.CanCollide = false
  1873. fp.Locked = true
  1874. fp.BrickColor = brickcolor
  1875. fp.Name = name
  1876. fp.Size = size
  1877. fp.Position = tors.Position
  1878. RemoveOutlines(fp)
  1879. fp.Material = "SmoothPlastic"
  1880. fp:BreakJoints()
  1881. return fp
  1882. end
  1883.  
  1884. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1885. local mesh = IT(Mesh)
  1886. mesh.Parent = part
  1887. if Mesh == "SpecialMesh" then
  1888. mesh.MeshType = meshtype
  1889. if meshid ~= "nil" then
  1890. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1891. end
  1892. end
  1893. mesh.Offset = offset
  1894. mesh.Scale = scale
  1895. return mesh
  1896. end
  1897.  
  1898. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1899. local type = type
  1900. local rng = Instance.new("Part", char)
  1901. rng.Anchored = true
  1902. rng.BrickColor = color
  1903. rng.CanCollide = false
  1904. rng.FormFactor = 3
  1905. rng.Name = "Ring"
  1906. rng.Material = "Neon"
  1907. rng.Size = Vector3.new(1, 1, 1)
  1908. rng.Transparency = 0
  1909. rng.TopSurface = 0
  1910. rng.BottomSurface = 0
  1911. rng.CFrame = pos
  1912. local rngm = Instance.new("SpecialMesh", rng)
  1913. rngm.MeshType = MType
  1914. rngm.Scale = scale
  1915. local scaler2 = 1
  1916. if type == "Add" then
  1917. scaler2 = 1 * value
  1918. elseif type == "Divide" then
  1919. scaler2 = 1 / value
  1920. end
  1921. coroutine.resume(coroutine.create(function()
  1922. for i = 0, 10 / bonuspeed, 0.1 do
  1923. swait()
  1924. if type == "Add" then
  1925. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1926. elseif type == "Divide" then
  1927. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1928. end
  1929. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1930. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1931. end
  1932. rng:Destroy()
  1933. end))
  1934. end
  1935.  
  1936. function Eviscerate(dude)
  1937. if dude.Name ~= char then
  1938. local bgf = IT("BodyGyro", dude.Head)
  1939. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1940. local val = IT("BoolValue", dude)
  1941. val.Name = "IsHit"
  1942. local ds = coroutine.wrap(function()
  1943. dude:WaitForChild("Head"):BreakJoints()
  1944. wait(0.5)
  1945. target = nil
  1946. coroutine.resume(coroutine.create(function()
  1947. for i, v in pairs(dude:GetChildren()) do
  1948. if v:IsA("Accessory") then
  1949. v:Destroy()
  1950. end
  1951. if v:IsA("Humanoid") then
  1952. v:Destroy()
  1953. end
  1954. if v:IsA("CharacterMesh") then
  1955. v:Destroy()
  1956. end
  1957. if v:IsA("Model") then
  1958. v:Destroy()
  1959. end
  1960. if v:IsA("Part") or v:IsA("MeshPart") then
  1961. for x, o in pairs(v:GetChildren()) do
  1962. if o:IsA("Decal") then
  1963. o:Destroy()
  1964. end
  1965. end
  1966. coroutine.resume(coroutine.create(function()
  1967. v.Material = "Neon"
  1968. v.CanCollide = false
  1969. local PartEmmit1 = IT("ParticleEmitter", v)
  1970. PartEmmit1.LightEmission = 1
  1971. PartEmmit1.Texture = "rbxassetid://284205403"
  1972. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1973. PartEmmit1.Rate = 150
  1974. PartEmmit1.Lifetime = NumberRange.new(1)
  1975. PartEmmit1.Size = NumberSequence.new({
  1976. NumberSequenceKeypoint.new(0, 0.75, 0),
  1977. NumberSequenceKeypoint.new(1, 0, 0)
  1978. })
  1979. PartEmmit1.Transparency = NumberSequence.new({
  1980. NumberSequenceKeypoint.new(0, 0, 0),
  1981. NumberSequenceKeypoint.new(1, 1, 0)
  1982. })
  1983. PartEmmit1.Speed = NumberRange.new(0, 0)
  1984. PartEmmit1.VelocitySpread = 30000
  1985. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1986. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1987. local BodPoss = IT("BodyPosition", v)
  1988. BodPoss.P = 3000
  1989. BodPoss.D = 1000
  1990. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1991. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1992. v.Color = maincolor.Color
  1993. coroutine.resume(coroutine.create(function()
  1994. for i = 0, 49 do
  1995. swait(1)
  1996. v.Transparency = v.Transparency + 0.08
  1997. end
  1998. wait(0.5)
  1999. PartEmmit1.Enabled = false
  2000. wait(3)
  2001. v:Destroy()
  2002. dude:Destroy()
  2003. end))
  2004. end))
  2005. end
  2006. end
  2007. end))
  2008. end)
  2009. ds()
  2010. end
  2011. end
  2012.  
  2013. function FindNearestHead(Position, Distance, SinglePlayer)
  2014. if SinglePlayer then
  2015. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2016. end
  2017. local List = {}
  2018. for i, v in pairs(workspace:GetChildren()) do
  2019. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2020. table.insert(List, v)
  2021. end
  2022. end
  2023. return List
  2024. end
  2025.  
  2026. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2027. local type = type
  2028. local rng = Instance.new("Part", char)
  2029. rng.Anchored = true
  2030. rng.BrickColor = color
  2031. rng.CanCollide = false
  2032. rng.FormFactor = 3
  2033. rng.Name = "Ring"
  2034. rng.Material = "Neon"
  2035. rng.Size = Vector3.new(1, 1, 1)
  2036. rng.Transparency = 0
  2037. rng.TopSurface = 0
  2038. rng.BottomSurface = 0
  2039. rng.CFrame = pos
  2040. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2041. local rngm = Instance.new("SpecialMesh", rng)
  2042. rngm.MeshType = MType
  2043. rngm.Scale = Vector3.new(x1, y1, z1)
  2044. local scaler2 = 1
  2045. local speeder = FastSpeed
  2046. if type == "Add" then
  2047. scaler2 = 1 * value
  2048. elseif type == "Divide" then
  2049. scaler2 = 1 / value
  2050. end
  2051. coroutine.resume(coroutine.create(function()
  2052. for i = 0, 10 / bonuspeed, 0.1 do
  2053. swait()
  2054. if type == "Add" then
  2055. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2056. elseif type == "Divide" then
  2057. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2058. end
  2059. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2060. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2061. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2062. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2063. end
  2064. rng:Destroy()
  2065. end))
  2066. end
  2067.  
  2068. function SoulSteal(dude)
  2069. if dude.Name ~= char then
  2070. local bgf = IT("BodyGyro", dude.Head)
  2071. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2072. local val = IT("BoolValue", dude)
  2073. val.Name = "IsHit"
  2074. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2075. local soulst = coroutine.wrap(function()
  2076. local soul = Instance.new("Part",dude)
  2077. soul.Size = Vector3.new(1,1,1)
  2078. soul.CanCollide = false
  2079. soul.Anchored = false
  2080. soul.Position = torso.Position
  2081. soul.Transparency = 1
  2082. local PartEmmit1 = IT("ParticleEmitter", soul)
  2083. PartEmmit1.LightEmission = 1
  2084. PartEmmit1.Texture = "rbxassetid://569507414"
  2085. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2086. PartEmmit1.Rate = 250
  2087. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2088. PartEmmit1.Size = NumberSequence.new({
  2089. NumberSequenceKeypoint.new(0, 1, 0),
  2090. NumberSequenceKeypoint.new(1, 0, 0)
  2091. })
  2092. PartEmmit1.Transparency = NumberSequence.new({
  2093. NumberSequenceKeypoint.new(0, 0, 0),
  2094. NumberSequenceKeypoint.new(1, 1, 0)
  2095. })
  2096. PartEmmit1.Speed = NumberRange.new(0, 0)
  2097. PartEmmit1.VelocitySpread = 30000
  2098. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2099. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2100. local BodPoss = IT("BodyPosition", soul)
  2101. BodPoss.P = 3000
  2102. BodPoss.D = 1000
  2103. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2104. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2105. wait(1.6)
  2106. soul.Touched:connect(function(hit)
  2107. if hit.Parent == char then
  2108. soul:Destroy()
  2109. end
  2110. end)
  2111. wait(1.2)
  2112. while soul do
  2113. swait()
  2114. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2115. BodPoss.Position = tors.Position
  2116. end
  2117. end)
  2118. soulst()
  2119. end
  2120. end
  2121.  
  2122.  
  2123.  
  2124.  
  2125. --killer's effects
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2132. local Part = Create("Part"){
  2133. Parent = Parent,
  2134. Reflectance = Reflectance,
  2135. Transparency = Transparency,
  2136. CanCollide = false,
  2137. Locked = true,
  2138. BrickColor = BrickColor.new(tostring(BColor)),
  2139. Name = Name,
  2140. Size = Size,
  2141. Material = Material,
  2142. }
  2143. RemoveOutlines(Part)
  2144. return Part
  2145. end
  2146.  
  2147. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2148. local Msh = Create(Mesh){
  2149. Parent = Part,
  2150. Offset = OffSet,
  2151. Scale = Scale,
  2152. }
  2153. if Mesh == "SpecialMesh" then
  2154. Msh.MeshType = MeshType
  2155. Msh.MeshId = MeshId
  2156. end
  2157. return Msh
  2158. end
  2159.  
  2160.  
  2161.  
  2162. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2163. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2164. prt.Anchored = true
  2165. prt.CFrame = cframe
  2166. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2167. game:GetService("Debris"):AddItem(prt, 10)
  2168. if Type == 1 or Type == nil then
  2169. table.insert(Effects, {
  2170. prt,
  2171. "Block1",
  2172. delay,
  2173. x3,
  2174. y3,
  2175. z3,
  2176. msh
  2177. })
  2178. elseif Type == 2 then
  2179. table.insert(Effects, {
  2180. prt,
  2181. "Block2",
  2182. delay,
  2183. x3,
  2184. y3,
  2185. z3,
  2186. msh
  2187. })
  2188. end
  2189. end
  2190.  
  2191. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2192. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2193. prt.Anchored = true
  2194. prt.CFrame = cframe
  2195. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2196. game:GetService("Debris"):AddItem(prt, 10)
  2197. table.insert(Effects, {
  2198. prt,
  2199. "Cylinder",
  2200. delay,
  2201. x3,
  2202. y3,
  2203. z3,
  2204. msh
  2205. })
  2206. end
  2207.  
  2208. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2209. local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2210. prt.Anchored=true
  2211. prt.CFrame=cframe
  2212. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  2213. game:GetService("Debris"):AddItem(prt,2)
  2214. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  2215. for i=0,1,delay do
  2216. swait()
  2217. Part.Transparency=i
  2218. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2219. end
  2220. Part.Parent=nil
  2221. end),prt,msh,(math.random(0,1)+math.random())/5)
  2222. end
  2223.  
  2224. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2225. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2226. prt.Anchored = true
  2227. prt.CFrame = cframe
  2228. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2229. game:GetService("Debris"):AddItem(prt, 10)
  2230. table.insert(Effects, {
  2231. prt,
  2232. "Cylinder",
  2233. delay,
  2234. x3,
  2235. y3,
  2236. z3,
  2237. msh
  2238. })
  2239. end
  2240.  
  2241. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2242. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2243. prt.Anchored = true
  2244. prt.CFrame = cframe
  2245. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2246. game:GetService("Debris"):AddItem(prt, 10)
  2247. table.insert(Effects, {
  2248. prt,
  2249. "Cylinder",
  2250. delay,
  2251. x3,
  2252. y3,
  2253. z3,
  2254. msh
  2255. })
  2256. end
  2257.  
  2258. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2259. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2260. prt.Anchored = true
  2261. prt.CFrame = cframe
  2262. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2263. game:GetService("Debris"):AddItem(prt, 10)
  2264. table.insert(Effects, {
  2265. prt,
  2266. "Cylinder",
  2267. delay,
  2268. x3,
  2269. y3,
  2270. z3,
  2271. msh
  2272. })
  2273. end
  2274.  
  2275.  
  2276. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2277. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2278. prt.Anchored = true
  2279. prt.CFrame = cframe
  2280. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2281. game:GetService("Debris"):AddItem(prt, 10)
  2282. table.insert(Effects, {
  2283. prt,
  2284. "Cylinder",
  2285. delay,
  2286. x3,
  2287. y3,
  2288. z3,
  2289. msh
  2290. })
  2291. end
  2292.  
  2293. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2294. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2295. prt.Anchored = true
  2296. prt.CFrame = cframe
  2297. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2298. game:GetService("Debris"):AddItem(prt, 10)
  2299. table.insert(Effects, {
  2300. prt,
  2301. "Cylinder",
  2302. delay,
  2303. x3,
  2304. y3,
  2305. z3,
  2306. msh
  2307. })
  2308. end
  2309.  
  2310. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2311. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2312. prt.Anchored = true
  2313. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2314. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2315. local num = math.random(10, 50) / 1000
  2316. game:GetService("Debris"):AddItem(prt, 10)
  2317. table.insert(Effects, {
  2318. prt,
  2319. "Shatter",
  2320. num,
  2321. prt.CFrame,
  2322. math.random() - math.random(),
  2323. 0,
  2324. math.random(50, 100) / 100
  2325. })
  2326. end
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332. so = function(id,par,vol,pit)
  2333. coroutine.resume(coroutine.create(function()
  2334. local sou = Instance.new("Sound",par or workspace)
  2335. sou.Volume=vol
  2336. sou.Pitch=pit or 1
  2337. sou.SoundId=id
  2338. sou:play()
  2339. game:GetService("Debris"):AddItem(sou,8)
  2340. end))
  2341. end
  2342.  
  2343.  
  2344. --end of killer's effects
  2345.  
  2346.  
  2347. function FaceMouse()
  2348. local Cam = workspace.CurrentCamera
  2349. return {
  2350. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2351. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2352. }
  2353. end
  2354. -------------------------------------------------------
  2355. --End Effect Function--
  2356. -------------------------------------------------------
  2357. function Cso(ID, PARENT, VOLUME, PITCH)
  2358. local NSound = nil
  2359. coroutine.resume(coroutine.create(function()
  2360. NSound = IT("Sound", PARENT)
  2361. NSound.Volume = VOLUME
  2362. NSound.Pitch = PITCH
  2363. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2364. swait()
  2365. NSound:play()
  2366. game:GetService("Debris"):AddItem(NSound, 10)
  2367. end))
  2368. return NSound
  2369. end
  2370. function CameraEnshaking(Length, Intensity)
  2371. coroutine.resume(coroutine.create(function()
  2372. local intensity = 1 * Intensity
  2373. local rotM = 0.01 * Intensity
  2374. for i = 0, Length, 0.1 do
  2375. swait()
  2376. intensity = intensity - 0.05 * Intensity / Length
  2377. rotM = rotM - 5.0E-4 * Intensity / Length
  2378. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2379. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2380. end
  2381. hum.CameraOffset = Vector3.new(0, 0, 0)
  2382. end))
  2383. end
  2384. -------------------------------------------------------
  2385. --End Important Functions--
  2386. -------------------------------------------------------
  2387.  
  2388.  
  2389. -------------------------------------------------------
  2390. --Start Customization--
  2391. -------------------------------------------------------
  2392. local Player_Size = 1
  2393. if Player_Size ~= 1 then
  2394. root.Size = root.Size * Player_Size
  2395. tors.Size = tors.Size * Player_Size
  2396. hed.Size = hed.Size * Player_Size
  2397. ra.Size = ra.Size * Player_Size
  2398. la.Size = la.Size * Player_Size
  2399. rl.Size = rl.Size * Player_Size
  2400. ll.Size = ll.Size * Player_Size
  2401. ----------------------------------------------------------------------------------
  2402. rootj.Parent = root
  2403. neck.Parent = tors
  2404. RW.Parent = tors
  2405. LW.Parent = tors
  2406. RH.Parent = tors
  2407. LH.Parent = tors
  2408. ----------------------------------------------------------------------------------
  2409. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2410. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2411. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2412. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2413. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2414. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2415. ----------------------------------------------------------------------------------
  2416. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2417. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2418. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2419. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2420. --hat.Parent = Character
  2421. end
  2422. ----------------------------------------------------------------------------------
  2423. local SONG = 900817147 --900817147
  2424. local SONG2 = 0
  2425. local Music = Instance.new("Sound",tors)
  2426. Music.Volume = 0.7
  2427. Music.Looped = true
  2428. Music.Pitch = 1 --Pitcher
  2429. ----------------------------------------------------------------------------------
  2430. local equipped = false
  2431. local idle = 0
  2432. local change = 1
  2433. local val = 0
  2434. local toim = 0
  2435. local idleanim = 0.4
  2436. local sine = 0
  2437. local Sit = 1
  2438. local attacktype = 1
  2439. local attackdebounce = false
  2440. local euler = CFrame.fromEulerAnglesXYZ
  2441. local cankick = false
  2442. ----------------------------------------------------------------------------------
  2443. hum.WalkSpeed = 8
  2444. hum.JumpPower = 57
  2445. --[[
  2446. local ROBLOXIDLEANIMATION = IT("Animation")
  2447. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2448. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2449. ]]
  2450. local ANIMATOR = hum.Animator
  2451. local ANIMATE = char.Animate
  2452. ANIMATE.Parent = nil
  2453. ANIMATOR.Parent = nil
  2454. -------------------------------------------------------
  2455. --End Customization--
  2456. -------------------------------------------------------
  2457.  
  2458.  
  2459. -------------------------------------------------------
  2460. --Start Attacks N Stuff--
  2461. -------------------------------------------------------
  2462.  
  2463. --pls be proud mak i did my best
  2464.  
  2465.  
  2466.  
  2467. function attackone()
  2468.  
  2469. attack = true
  2470.  
  2471. for i = 0, 1.35, 0.1 do
  2472. swait()
  2473. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
  2474. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
  2475. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
  2476. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
  2477. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  2478. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  2479. end
  2480.  
  2481. so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
  2482.  
  2483.  
  2484. con5=ra.Touched:connect(function(hit)
  2485. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2486. if attackdebounce == false then
  2487. attackdebounce = true
  2488.  
  2489. so("http://roblox.com/asset/?id=636494529",ra,2,1)
  2490.  
  2491. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2492. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2493. SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2494.  
  2495.  
  2496. coroutine.resume(coroutine.create(function()
  2497. for i = 0,1,0.1 do
  2498. swait()
  2499. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2500. end
  2501. end))
  2502.  
  2503.  
  2504. wait(0.34)
  2505. attackdebounce = false
  2506.  
  2507. end
  2508. end
  2509. end)
  2510. for i = 0, 1.12, 0.1 do
  2511. swait()
  2512. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  2513. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  2514. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
  2515. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
  2516. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  2517. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  2518. end
  2519.  
  2520. con5:Disconnect()
  2521. attack = false
  2522.  
  2523. end
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536. function attacktwo()
  2537.  
  2538. attack = true
  2539.  
  2540. for i = 0, 1.35, 0.1 do
  2541. swait()
  2542. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  2543. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2544. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  2545. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
  2546. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  2547. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  2548. end
  2549.  
  2550. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  2551.  
  2552.  
  2553. con5=la.Touched:connect(function(hit)
  2554. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2555. if attackdebounce == false then
  2556. attackdebounce = true
  2557.  
  2558. so("http://roblox.com/asset/?id=636494529",la,2,1)
  2559.  
  2560. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2561. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2562. SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2563.  
  2564.  
  2565. coroutine.resume(coroutine.create(function()
  2566. for i = 0,1,0.1 do
  2567. swait()
  2568. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2569. end
  2570. end))
  2571.  
  2572.  
  2573. wait(0.34)
  2574. attackdebounce = false
  2575.  
  2576. end
  2577. end
  2578. end)
  2579.  
  2580.  
  2581.  
  2582.  
  2583. for i = 0, 1.12, 0.1 do
  2584. swait()
  2585. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  2586. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  2587. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
  2588. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
  2589. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  2590. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  2591. end
  2592.  
  2593. con5:Disconnect()
  2594. attack = false
  2595.  
  2596. end
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602. function attackthree()
  2603.  
  2604. attack = true
  2605.  
  2606.  
  2607. for i = 0, 1.14, 0.1 do
  2608. swait()
  2609. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  2610. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2611. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  2612. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
  2613. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  2614. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  2615. end
  2616.  
  2617. con5=hum.Touched:connect(function(hit)
  2618. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2619. if attackdebounce == false then
  2620. attackdebounce = true
  2621.  
  2622. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  2623.  
  2624. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2625. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2626. SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2627.  
  2628.  
  2629. coroutine.resume(coroutine.create(function()
  2630. for i = 0,1,0.1 do
  2631. swait()
  2632. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2633. end
  2634. end))
  2635.  
  2636.  
  2637. wait(0.34)
  2638. attackdebounce = false
  2639.  
  2640. end
  2641. end
  2642. end)
  2643.  
  2644. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2645. for i = 0, 9.14, 0.3 do
  2646. swait()
  2647. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2648. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
  2649. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2650. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2651. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2652. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2653. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2654. end
  2655. attack = false
  2656. con5:disconnect()
  2657. end
  2658.  
  2659.  
  2660.  
  2661. function attackfour()
  2662.  
  2663. attack = true
  2664. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2665. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2666. for i = 0, 5.14, 0.1 do
  2667. swait()
  2668. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2669. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
  2670. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  2671. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
  2672. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
  2673. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
  2674. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
  2675. end
  2676. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2677. local velo=Instance.new("BodyVelocity")
  2678. velo.velocity=vt(0,25,0)
  2679. velo.P=8000
  2680. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2681. velo.Parent=root
  2682. game:GetService("Debris"):AddItem(velo,0.7)
  2683.  
  2684.  
  2685.  
  2686. con5=hum.Touched:connect(function(hit)
  2687. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2688. if attackdebounce == false then
  2689. attackdebounce = true
  2690. coroutine.resume(coroutine.create(function()
  2691. for i = 0,1.5,0.1 do
  2692. swait()
  2693. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2694. end
  2695. end))
  2696. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2697. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2698. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2699. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2700.  
  2701.  
  2702.  
  2703. coroutine.resume(coroutine.create(function()
  2704. for i = 0,1,0.1 do
  2705. swait()
  2706. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
  2707. end
  2708. end))
  2709.  
  2710.  
  2711. wait(0.14)
  2712. attackdebounce = false
  2713. end
  2714. end
  2715. end)
  2716.  
  2717. for i = 0, 5.11, 0.15 do
  2718. swait()
  2719. BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2720. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
  2721. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2722. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2723. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2724. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2725. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2726. end
  2727.  
  2728.  
  2729. attack = false
  2730. con5:disconnect()
  2731. end
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737. local cooldown = false
  2738. function quickkick()
  2739. attack = true
  2740.  
  2741.  
  2742. con5=hum.Touched:connect(function(hit)
  2743. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2744. if attackdebounce == false then
  2745. attackdebounce = true
  2746.  
  2747. coroutine.resume(coroutine.create(function()
  2748. for i = 0,1.5,0.1 do
  2749. swait()
  2750. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2751. end
  2752. end))
  2753.  
  2754. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2755. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2756. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2757. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2758.  
  2759.  
  2760.  
  2761. coroutine.resume(coroutine.create(function()
  2762. for i = 0,1,0.1 do
  2763. swait()
  2764. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
  2765. end
  2766. end))
  2767.  
  2768.  
  2769. wait(0.08)
  2770. attackdebounce = false
  2771. end
  2772. end
  2773. end)
  2774.  
  2775. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2776. for i = 0, 11.14, 0.3 do
  2777. swait()
  2778. root.Velocity = root.CFrame.lookVector * 30
  2779. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2780. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
  2781. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2782. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2783. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2784. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2785. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2786. end
  2787. attack = false
  2788. con5:disconnect()
  2789. end
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798. function Taunt()
  2799. attack = true
  2800. hum.WalkSpeed = 0
  2801. Cso("1535995570", hed, 8.45, 1)
  2802. for i = 0, 8.2, 0.1 do
  2803. swait()
  2804. hum.WalkSpeed = 0
  2805. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2806. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
  2807. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2808. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2809. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  2810. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  2811. end
  2812. attack = false
  2813. hum.WalkSpeed = 8
  2814. end
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822. function Hyperkickcombo()
  2823.  
  2824. attack = true
  2825. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2826. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2827. for i = 0, 7.14, 0.1 do
  2828. swait()
  2829. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2830. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2831. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2832. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2833. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
  2834. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2835. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2836. end
  2837. local Cracking = Cso("292536356", tors, 10, 1)
  2838. for i = 0, 7.14, 0.1 do
  2839. swait()
  2840. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2841. Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
  2842. WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
  2843. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2844. SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2845. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2846. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  2847. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
  2848. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
  2849. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2850. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2851. end
  2852. Cracking.Playing = false
  2853. so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
  2854. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2855. SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  2856. local velo=Instance.new("BodyVelocity")
  2857. velo.velocity=vt(0,27,0)
  2858. velo.P=11000
  2859. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2860. velo.Parent=root
  2861. game:GetService("Debris"):AddItem(velo,1.24)
  2862.  
  2863.  
  2864.  
  2865. con5=hum.Touched:connect(function(hit)
  2866. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2867. if attackdebounce == false then
  2868. attackdebounce = true
  2869. coroutine.resume(coroutine.create(function()
  2870. for i = 0,1.5,0.1 do
  2871. swait()
  2872. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
  2873. end
  2874. end))
  2875. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2876. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2877. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2878. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2879.  
  2880.  
  2881.  
  2882. coroutine.resume(coroutine.create(function()
  2883. for i = 0,1,0.1 do
  2884. swait()
  2885. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2886. end
  2887. end))
  2888.  
  2889.  
  2890. wait(0.09)
  2891. attackdebounce = false
  2892. end
  2893. end
  2894. end)
  2895.  
  2896. for i = 0, 9.11, 0.2 do
  2897. swait()
  2898. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2899. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
  2900. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2901. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2902. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2903. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2904. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2905. end
  2906.  
  2907.  
  2908.  
  2909.  
  2910. con5:disconnect()
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917. con5=hum.Touched:connect(function(hit)
  2918. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2919. if attackdebounce == false then
  2920. attackdebounce = true
  2921. coroutine.resume(coroutine.create(function()
  2922. for i = 0,1.5,0.1 do
  2923. swait()
  2924. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2925. end
  2926. end))
  2927. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2928. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2929. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2930. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2931.  
  2932.  
  2933.  
  2934. coroutine.resume(coroutine.create(function()
  2935. for i = 0,1,0.1 do
  2936. swait()
  2937. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2938. end
  2939. end))
  2940.  
  2941.  
  2942. wait(0.08)
  2943. attackdebounce = false
  2944. end
  2945. end
  2946. end)
  2947.  
  2948.  
  2949.  
  2950. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2951. for i = 0, 9.14, 0.3 do
  2952. swait()
  2953. root.Velocity = root.CFrame.lookVector * 20
  2954. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2955. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
  2956. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2957. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2958. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2959. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2960. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2961. end
  2962.  
  2963.  
  2964.  
  2965. con5:disconnect()
  2966.  
  2967.  
  2968.  
  2969. con5=hum.Touched:connect(function(hit)
  2970. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2971. if attackdebounce == false then
  2972. attackdebounce = true
  2973. coroutine.resume(coroutine.create(function()
  2974. for i = 0,1.5,0.1 do
  2975. swait()
  2976. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2977. end
  2978. end))
  2979. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2980. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2981. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2982. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2983.  
  2984.  
  2985.  
  2986. coroutine.resume(coroutine.create(function()
  2987. for i = 0,1,0.1 do
  2988. swait()
  2989. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2990. end
  2991. end))
  2992.  
  2993.  
  2994. wait(0.05)
  2995. attackdebounce = false
  2996. end
  2997. end
  2998. end)
  2999.  
  3000.  
  3001. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  3002. for i = 0, 15.14, 0.32 do
  3003. swait()
  3004. root.Velocity = root.CFrame.lookVector * 20
  3005. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  3006. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-50*i), math.rad(8+20*i), math.rad(0-90*i)), 0.35)
  3007. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  3008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  3009. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  3010. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  3011. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
  3012. end
  3013.  
  3014. attack = false
  3015. con5:disconnect()
  3016.  
  3017. end
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023. local ultra = false
  3024.  
  3025. function Galekicks()
  3026.  
  3027. attack = true
  3028. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  3029. for i = 0, 1.65, 0.1 do
  3030. swait()
  3031. root.Velocity = root.CFrame.lookVector * 0
  3032. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  3033. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3034. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3035. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3036. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3037. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  3038. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3039. end
  3040.  
  3041.  
  3042. for i = 1, 17 do
  3043.  
  3044. con5=hum.Touched:connect(function(hit)
  3045. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3046. if attackdebounce == false then
  3047. attackdebounce = true
  3048. coroutine.resume(coroutine.create(function()
  3049. for i = 0,1.5,0.1 do
  3050. swait()
  3051. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  3052. end
  3053. end))
  3054. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  3055. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3056. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3057. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  3058.  
  3059.  
  3060.  
  3061. coroutine.resume(coroutine.create(function()
  3062. for i = 0,1,0.1 do
  3063. swait()
  3064. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  3065. end
  3066. end))
  3067.  
  3068.  
  3069. wait(0.05)
  3070. attackdebounce = false
  3071. end
  3072. end
  3073. end)
  3074.  
  3075. for i = 0, .1, 0.2 do
  3076. swait()
  3077. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  3078. root.Velocity = root.CFrame.lookVector * 10
  3079. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  3080. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  3081. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  3082. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  3083. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  3084. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  3085. end
  3086.  
  3087. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  3088.  
  3089. for i = 0, 0.4, 0.2 do
  3090. swait()
  3091. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3092. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3093. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3094. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3095. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  3096. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3097. end
  3098. con5:disconnect()
  3099. end
  3100.  
  3101.  
  3102. u = mouse.KeyDown:connect(function(key)
  3103. if key == 'r' and combohits >= 150 then
  3104. ultra = true
  3105. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
  3106. end
  3107. end)
  3108. wait(0.3)
  3109. if ultra == true then
  3110. combohits = 0
  3111. wait(0.1)
  3112. for i = 0, 1.65, 0.1 do
  3113. swait()
  3114. root.Velocity = root.CFrame.lookVector * 0
  3115. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  3116. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3117. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3118. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3119. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3120. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  3121. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3122. end
  3123.  
  3124.  
  3125. so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
  3126.  
  3127. for i = 1, 65 do
  3128. --Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
  3129. con5=hum.Touched:connect(function(hit)
  3130. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3131. if attackdebounce == false then
  3132. attackdebounce = true
  3133. coroutine.resume(coroutine.create(function()
  3134. for i = 0,1.5,0.1 do
  3135. swait()
  3136. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  3137. end
  3138. end))
  3139. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  3140. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3141. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3142. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  3143.  
  3144.  
  3145.  
  3146. coroutine.resume(coroutine.create(function()
  3147. for i = 0,1,0.1 do
  3148. swait()
  3149. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  3150. end
  3151. end))
  3152.  
  3153.  
  3154. wait(0.05)
  3155. attackdebounce = false
  3156. end
  3157. end
  3158. end)
  3159.  
  3160. for i = 0, .03, 0.1 do
  3161. swait()
  3162. BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  3163. root.Velocity = root.CFrame.lookVector * 10
  3164. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  3165. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  3166. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  3167. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  3168. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  3169. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  3170. end
  3171.  
  3172. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  3173.  
  3174. for i = 0, 0.07, 0.1 do
  3175. swait()
  3176. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3177. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3178. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3179. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3180. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  3181. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3182. end
  3183. con5:disconnect()
  3184. end
  3185.  
  3186. for i = 0, 1.65, 0.1 do
  3187. swait()
  3188. root.Velocity = root.CFrame.lookVector * 0
  3189. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  3190. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3191. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3192. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3193. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3194. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  3195. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3196. end
  3197.  
  3198. con5=hum.Touched:connect(function(hit)
  3199. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3200. if attackdebounce == false then
  3201. attackdebounce = true
  3202. coroutine.resume(coroutine.create(function()
  3203. for i = 0,1.5,0.1 do
  3204. swait()
  3205. --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  3206. end
  3207. end))
  3208. so("http://roblox.com/asset/?id=636494529",rl,2,.63)
  3209. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3210. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  3211. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  3212.  
  3213.  
  3214. coroutine.resume(coroutine.create(function()
  3215. for i = 0,1,0.1 do
  3216. swait()
  3217. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  3218. end
  3219. end))
  3220.  
  3221.  
  3222. wait(0.05)
  3223. attackdebounce = false
  3224. end
  3225. end
  3226. end)
  3227.  
  3228. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
  3229. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  3230.  
  3231. for i = 0, 2, 0.1 do
  3232. swait()
  3233. --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  3234. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  3235. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  3236. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  3237. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  3238. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
  3239. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  3240. end
  3241. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  3242.  
  3243. wait(0.25)
  3244. con5:Disconnect()
  3245.  
  3246.  
  3247.  
  3248.  
  3249. con5=hum.Touched:connect(function(hit)
  3250. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3251. if attackdebounce == false then
  3252. attackdebounce = true
  3253.  
  3254. so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
  3255.  
  3256. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  3257. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  3258. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  3259. SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  3260. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
  3261. WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
  3262.  
  3263. coroutine.resume(coroutine.create(function()
  3264. for i = 0,1,0.1 do
  3265. swait()
  3266. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  3267. end
  3268. end))
  3269.  
  3270. wait(0.06)
  3271. attackdebounce = false
  3272.  
  3273. end
  3274. end
  3275. end)
  3276.  
  3277. coroutine.resume(coroutine.create(function()
  3278. while ultra == true do
  3279. swait()
  3280. root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
  3281. end
  3282. end))
  3283.  
  3284.  
  3285. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  3286. for i = 1,3 do
  3287. for i = 0, 9.14, 0.45 do
  3288. swait()
  3289. root.Velocity = root.CFrame.lookVector * 30
  3290. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  3291. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
  3292. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  3293. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  3294. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  3295. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  3296. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  3297. end
  3298. end
  3299.  
  3300.  
  3301. for i = 1,3 do
  3302. for i = 0, 11.14, 0.45 do
  3303. swait()
  3304. root.Velocity = root.CFrame.lookVector * 30
  3305. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  3306. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
  3307. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  3308. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  3309. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  3310. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
  3311. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  3312. end
  3313.  
  3314.  
  3315.  
  3316. end
  3317. so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
  3318. con5:disconnect()
  3319.  
  3320.  
  3321. end -- combo hit end
  3322. attack = false
  3323. ultra = false
  3324. u:disconnect()
  3325.  
  3326. end
  3327.  
  3328.  
  3329.  
  3330.  
  3331. -------------------------------------------------------
  3332. --End Attacks N Stuff--
  3333. -------------------------------------------------------
  3334. mouse.KeyDown:connect(function(key)
  3335. if string.byte(key) == 48 then
  3336. Swing = 2
  3337. hum.WalkSpeed = 24.82
  3338. end
  3339. end)
  3340. mouse.KeyUp:connect(function(key)
  3341. if string.byte(key) == 48 then
  3342. Swing = 1
  3343. hum.WalkSpeed = 8
  3344. end
  3345. end)
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353. mouse.Button1Down:connect(function()
  3354. if attack==false then
  3355. if attacktype==1 then
  3356. attack=true
  3357. attacktype=2
  3358. attackone()
  3359. elseif attacktype==2 then
  3360. attack=true
  3361. attacktype=3
  3362. attacktwo()
  3363. elseif attacktype==3 then
  3364. attack=true
  3365. attacktype=4
  3366. attackthree()
  3367. elseif attacktype==4 then
  3368. attack=true
  3369. attacktype=1
  3370. attackfour()
  3371. end
  3372. end
  3373. end)
  3374.  
  3375.  
  3376.  
  3377.  
  3378. mouse.KeyDown:connect(function(key)
  3379. if key == 'e' and attack == false and cankick == true and cooldown == false then
  3380. quickkick()
  3381. cooldown = true
  3382.  
  3383. coroutine.resume(coroutine.create(function()
  3384. wait(2)
  3385. cooldown = false
  3386. end))
  3387.  
  3388.  
  3389.  
  3390. end
  3391. end)
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400. mouse.KeyDown:connect(function(key)
  3401. if attack == false then
  3402. if key == 't' then
  3403. Taunt()
  3404. elseif key == 'f' then
  3405. Hyperkickcombo()
  3406. elseif key == 'r' then
  3407. Galekicks()
  3408. end
  3409. end
  3410. end)
  3411.  
  3412. -------------------------------------------------------
  3413. --Start Animations--
  3414. -------------------------------------------------------
  3415. print("By Makhail07 and KillerDarkness0105")
  3416. print("Basic Animations by Makhail07")
  3417. print("Attack Animations by KillerDarkness0105")
  3418. print("This is pretty much our final script together")
  3419. print("--------------------------------")
  3420. print("Attacks")
  3421. print("E in air: Quick Kicks")
  3422. print("Left Mouse: 4 click combo")
  3423. print("F: Hyper Kicks")
  3424. print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
  3425. print("--------------------------------")
  3426. while true do
  3427. swait()
  3428. sine = sine + change
  3429. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3430. local velderp = root.Velocity.y
  3431. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  3432.  
  3433. if hitfloor == nil then
  3434. cankick = true
  3435. else
  3436. cankick = false
  3437. end
  3438.  
  3439.  
  3440. if equipped == true or equipped == false then
  3441. if attack == false then
  3442. idle = idle + 1
  3443. else
  3444. idle = 0
  3445. end
  3446. if 1 < root.Velocity.y and hitfloor == nil then
  3447. Anim = "Jump"
  3448. if attack == false then
  3449. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  3451. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  3452. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3453. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3454. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  3455. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  3456. end
  3457. elseif -1 > root.Velocity.y and hitfloor == nil then
  3458. Anim = "Fall"
  3459. if attack == false then
  3460. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3461. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  3462. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  3463. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  3464. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  3465. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  3466. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  3467. end
  3468. elseif torvel < 1 and hitfloor ~= nil then
  3469. Anim = "Idle"
  3470. change = 1
  3471. if attack == false then
  3472. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3473. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
  3474. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
  3475. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
  3476. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
  3477. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  3478. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  3479. end
  3480. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  3481. Anim = "Walk"
  3482. change = 1
  3483. if attack == false then
  3484. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3485. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  3486. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  3487. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3488. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3489. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  3490. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  3491. end
  3492. elseif torvel >= 22 and hitfloor ~= nil then
  3493. Anim = "Sprint"
  3494. change = 1.35
  3495. if attack == false then
  3496. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3498. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  3499. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3500. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3501. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  3502. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  3503. end
  3504. end
  3505. end
  3506. Music.SoundId = "rbxassetid://"..SONG
  3507. Music.Looped = true
  3508. Music.Pitch = 1
  3509. Music.Volume = 0.7
  3510. Music.Parent = tors
  3511. Music:Resume()
  3512. if 0 < #Effects then
  3513. for e = 1, #Effects do
  3514. if Effects[e] ~= nil then
  3515. local Thing = Effects[e]
  3516. if Thing ~= nil then
  3517. local Part = Thing[1]
  3518. local Mode = Thing[2]
  3519. local Delay = Thing[3]
  3520. local IncX = Thing[4]
  3521. local IncY = Thing[5]
  3522. local IncZ = Thing[6]
  3523. if 1 >= Thing[1].Transparency then
  3524. if Thing[2] == "Block1" then
  3525. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3526. local Mesh = Thing[1].Mesh
  3527. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3528. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3529. elseif Thing[2] == "Block2" then
  3530. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3531. local Mesh = Thing[7]
  3532. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3533. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3534. elseif Thing[2] == "Block3" then
  3535. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3536. local Mesh = Thing[7]
  3537. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3538. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3539. elseif Thing[2] == "Cylinder" then
  3540. local Mesh = Thing[1].Mesh
  3541. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3542. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3543. elseif Thing[2] == "Blood" then
  3544. local Mesh = Thing[7]
  3545. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3546. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3547. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3548. elseif Thing[2] == "Elec" then
  3549. local Mesh = Thing[1].Mesh
  3550. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3551. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3552. elseif Thing[2] == "Disappear" then
  3553. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3554. elseif Thing[2] == "Shatter" then
  3555. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3556. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3557. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3558. Thing[6] = Thing[6] + Thing[5]
  3559. end
  3560. else
  3561. Part.Parent = nil
  3562. table.remove(Effects, e)
  3563. end
  3564. end
  3565. end
  3566. end
  3567. end
  3568. end
  3569. -------------------------------------------------------
  3570. --End Animations And Script--
  3571. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment