Advertisement
BosSu_006

FE Fighter

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