Advertisement
Synpase_X

Untitled

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