Advertisement
RoSPLOITkrnl

Gale Fighter (fling part)

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