Advertisement
megaluxe

gale

Sep 7th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.94 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy ~= InternalData.RealOwner then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. Mouse:TriggerEvent("Move")
  25. elseif Input.Sound then
  26. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80. if Library == "RbxUtility" then
  81. return setmetatable({},{
  82. __tostring = function() return "RbxUtility" end;
  83. __index = function(self, Index)
  84. if Index:lower() == "create" then
  85. return function(Type)
  86. return function(Data)
  87. Data = Data or {}
  88. local Inst = Instance.new(Type)
  89. for x,y in pairs(Data) do
  90. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91. if y == owner then y = InternalData.RealOwner end
  92. Inst[x] = y
  93. end
  94. return Inst
  95. end
  96. end
  97. end
  98. return InternalData.LoadLibrary(Library)[Index]
  99. end
  100. })
  101. end
  102. return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105. __index = function (self,Index)
  106. if Index:lower() == 'new' then
  107. return function (Type, Parent)
  108. if Parent == owner then Parent = InternalData.RealOwner end
  109. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110. local Real = InternalData.RealInstance.new(Type,Parent)
  111. if not Type then return end
  112. if Type == "BillboardGui" then
  113. local ToReturn = setmetatable({},{
  114. __index = function (self,Index)
  115. if type(Real[Index]) == "function" then
  116. if Index:lower() == "clone" then
  117. return function (self)
  118. local Real = Real:Clone()
  119. local ToReturn = setmetatable({RealObject = Real},{
  120. __index = function (self,Index)
  121. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122. return Real[Index]
  123. end;
  124. __newindex = function (self,Index,Value)
  125. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126. if Value == owner then Value = InternalData.RealOwner end
  127. Real[Index] = Value
  128. end;
  129. __tostring = function(self) return tostring(Real) end;
  130. })
  131. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132. end
  133. end
  134. return function (self,...) return Real[Index](Real,...)end
  135. end
  136. return Real[Index]
  137. end;
  138. __newindex = function (self,Index,Value)
  139. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140. if Value == owner then Value = InternalData.RealOwner end
  141. Real[Index] = Value
  142. end;
  143. __tostring = function(self) return tostring(Real) end;
  144. })
  145. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146. elseif Type:lower() == "sound" then
  147. Real.Parent = owner.Character;
  148. local ToReturn = setmetatable({RealObject = Real},{
  149. __index = function (self,Index)
  150. if Index:lower() == "playbackloudness" then
  151. return InternalData.SoundLoudness[Real] or 0
  152. elseif type(Real[Index]) == "function" then
  153. if Index:lower() == "clone" then
  154. return function (self)
  155. local Real = Real:Clone()
  156. local ToReturn = setmetatable({},{
  157. __index = function (self,Index)
  158. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159. return Real[Index]
  160. end;
  161. __newindex = function (self,Index,Value)
  162. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163. if Value == owner then Value = InternalData.RealOwner end
  164. Real[Index] = Value
  165. end;
  166. __tostring = function(self) return tostring(Real) end;
  167. })
  168. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169. end
  170. end
  171. return function (self,...) return Real[Index](Real,...)end
  172. end
  173. return Real[Index]
  174. end;
  175. __newindex = function (self,Index,Value)
  176. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177. if Value == owner then Value = InternalData.RealOwner end
  178. Real[Index] = Value
  179. end;
  180. __tostring = function(self) return tostring(Real) end;
  181. })
  182. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183. else
  184. local ToReturn = setmetatable({RealObject = Real},{
  185. __index = function (self,Index)
  186. if type(Real[Index]) == "function" then
  187. if Index:lower() == "clone" then
  188. return function (self)
  189. local Real = Real:Clone()
  190. local ToReturn = setmetatable({},{
  191. __index = function (self,Index)
  192. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193. return Real[Index]
  194. end;
  195. __newindex = function (self,Index,Value)
  196. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197. if Value == owner then Value = InternalData.RealOwner end
  198. Real[Index] = Value
  199. end;
  200. __tostring = function(self) return tostring(Real) end;
  201. })
  202. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203. end
  204. end
  205. return function (self,...) return Real[Index](Real,...)end
  206. end
  207. return Real[Index]
  208. end;
  209. __newindex = function (self,Index,Value)
  210. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211. if Value == owner then Value = InternalData.RealOwner end
  212. Real[Index] = Value
  213. end;
  214. __tostring = function(self) return tostring(Real) end;
  215. })
  216. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217. end
  218. end
  219. end
  220. return InternalData.RealInstance[Index]
  221. end;
  222. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225. __index = function (self,Index)
  226. if InternalData.RealGame[Index] then
  227. local Type = type(InternalData.RealGame[Index])
  228. if Type == "function" then
  229. if Index:lower() == "getservice" or Index:lower() == "service" then
  230. return function (self,Service)
  231. local FakeServices = {
  232. ["players"] = function()
  233. return setmetatable({},{
  234. __index = function (self2,Index2)
  235. local RealService = InternalData.RealGame:GetService(Service)
  236. local Type2 = type(RealService[Index2])
  237. if Type2 == "function" then
  238. return function (self,...) return RealService[Index2](RealService,...)end
  239. else
  240. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241. return RealService[Index2]
  242. end
  243. end;
  244. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245. })
  246. end;
  247. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249. ["debris"] = function()
  250. return setmetatable({},{
  251. __index = function(self2,Index2)
  252. local RealService = InternalData.RealGame:GetService(Service)
  253. local Type2 = type(RealService[Index2])
  254. if Type2 == "function" then
  255. if Index2:lower() == "additem" then
  256. return function (self,Item,Time)
  257. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258. return RealService:AddItem(Item,Time)
  259. end
  260. end
  261. return function (self,...) return RealService[Index2](RealService,...) end
  262. end
  263. return RealService[Index2]
  264. end;
  265. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266. })
  267. end;
  268. ["runservice"] = function()
  269. return setmetatable({},{
  270. __index = function(self2,Index2)
  271. local RealService = InternalData.RealGame:GetService(Service)
  272. local Type2 = type(RealService[Index2])
  273. if Type2 == "function" then
  274. return function (self,...) return RealService[Index2](RealService,...) end
  275. else
  276. local RunServices = {
  277. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278. ["renderstepped"] = function() return RealService["Stepped"] end
  279. }
  280. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281. return RealService[Index2]
  282. end
  283. end;
  284. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285. })
  286. end
  287. }
  288. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289. return InternalData.RealGame:GetService(Service)
  290. end
  291. end
  292. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293. else
  294. if game:GetService(Index) then return game:GetService(Index) end
  295. return InternalData.RealGame[Index]
  296. end
  297. end
  298. return nil
  299. end;
  300. __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --//Paste script below this line.
  304. --[[ Name : Gale Fighter ]]--
  305. -------------------------------------------------------
  306. --A Collaboration Between makhail07 and KillerDarkness0105
  307.  
  308. --Base Animaion by makhail07, attacks by KillerDarkness0105
  309. -------------------------------------------------------
  310.  
  311.  
  312. local FavIDs = {
  313. 340106355, --Nefl Crystals
  314. 927529620, --Dimension
  315. 876981900, --Fantasy
  316. 398987889, --Ordinary Days
  317. 1117396305, --Oh wait, it's you.
  318. 885996042, --Action Winter Journey
  319. 919231299, --Sprawling Idiot Effigy
  320. 743466274, --Good Day Sunshine
  321. 727411183, --Knife Fight
  322. 1402748531, --The Earth Is Counting On You!
  323. 595230126 --Robot Language
  324. }
  325.  
  326.  
  327.  
  328. --The reality of my life isn't real but a Universe -makhail07
  329. wait(0.2)
  330. local plr = game:service'Players'.LocalPlayer
  331. print('Local User is '..plr.Name)
  332. print('Gale Fighter Loaded')
  333. print('The Fighter that is as fast as wind, a true Fighter')
  334. local char = plr.Character
  335. local hum = char.Humanoid
  336. local hed = char.Head
  337. local root = char.HumanoidRootPart
  338. local rootj = root.RootJoint
  339. local tors = char.Torso
  340. local ra = char["Right Arm"]
  341. local la = char["Left Arm"]
  342. local rl = char["Right Leg"]
  343. local ll = char["Left Leg"]
  344. local neck = tors["Neck"]
  345. local mouse = plr:GetMouse()
  346. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  347. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  348. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  349. local maincolor = BrickColor.new("Institutional white")
  350. hum.MaxHealth = 200
  351. hum.Health = 200
  352.  
  353. -------------------------------------------------------
  354. --Start Good Stuff--
  355. -------------------------------------------------------
  356. cam = game.Workspace.CurrentCamera
  357. CF = CFrame.new
  358. angles = CFrame.Angles
  359. attack = false
  360. Euler = CFrame.fromEulerAnglesXYZ
  361. Rad = math.rad
  362. IT = Instance.new
  363. BrickC = BrickColor.new
  364. Cos = math.cos
  365. Acos = math.acos
  366. Sin = math.sin
  367. Asin = math.asin
  368. Abs = math.abs
  369. Mrandom = math.random
  370. Floor = math.floor
  371. -------------------------------------------------------
  372. --End Good Stuff--
  373. -------------------------------------------------------
  374. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  375. RSH, LSH = nil, nil
  376. RW = Instance.new("Weld")
  377. LW = Instance.new("Weld")
  378. RH = tors["Right Hip"]
  379. LH = tors["Left Hip"]
  380. RSH = tors["Right Shoulder"]
  381. LSH = tors["Left Shoulder"]
  382. RSH.Parent = nil
  383. LSH.Parent = nil
  384. RW.Name = "RW"
  385. RW.Part0 = tors
  386. RW.C0 = CF(1.5, 0.5, 0)
  387. RW.C1 = CF(0, 0.5, 0)
  388. RW.Part1 = ra
  389. RW.Parent = tors
  390. LW.Name = "LW"
  391. LW.Part0 = tors
  392. LW.C0 = CF(-1.5, 0.5, 0)
  393. LW.C1 = CF(0, 0.5, 0)
  394. LW.Part1 = la
  395. LW.Parent = tors
  396. vt = Vector3.new
  397. Effects = {}
  398. -------------------------------------------------------
  399. --Start HeartBeat--
  400. -------------------------------------------------------
  401. ArtificialHB = Instance.new("BindableEvent", script)
  402. ArtificialHB.Name = "Heartbeat"
  403. script:WaitForChild("Heartbeat")
  404.  
  405. frame = 1 / 90
  406. tf = 0
  407. allowframeloss = false
  408. tossremainder = false
  409.  
  410.  
  411. lastframe = tick()
  412. script.Heartbeat:Fire()
  413.  
  414.  
  415. game:GetService("RunService").Heartbeat:connect(function(s, p)
  416. tf = tf + s
  417. if tf >= frame then
  418. if allowframeloss then
  419. script.Heartbeat:Fire()
  420. lastframe = tick()
  421. else
  422. for i = 1, math.floor(tf / frame) do
  423. script.Heartbeat:Fire()
  424. end
  425. lastframe = tick()
  426. end
  427. if tossremainder then
  428. tf = 0
  429. else
  430. tf = tf - frame * math.floor(tf / frame)
  431. end
  432. end
  433. end)
  434. -------------------------------------------------------
  435. --End HeartBeat--
  436. -------------------------------------------------------
  437.  
  438.  
  439.  
  440. -------------------------------------------------------
  441. --Start Combo Function--
  442. -------------------------------------------------------
  443. local comboing = false
  444. local combohits = 0
  445. local combotime = 0
  446. local maxtime = 65
  447.  
  448.  
  449.  
  450. function sandbox(var,func)
  451. local env = getfenv(func)
  452. local newenv = setmetatable({},{
  453. __index = function(self,k)
  454. if k=="script" then
  455. return var
  456. else
  457. return env[k]
  458. end
  459. end,
  460. })
  461. setfenv(func,newenv)
  462. return func
  463. end
  464. cors = {}
  465. mas = Instance.new("Model",game:GetService("Lighting"))
  466. comboframe = Instance.new("ScreenGui")
  467. Frame1 = Instance.new("Frame")
  468. Frame2 = Instance.new("Frame")
  469. TextLabel3 = Instance.new("TextLabel")
  470. comboframe.Name = "combinserter"
  471. comboframe.Parent = mas
  472. Frame1.Name = "combtimegui"
  473. Frame1.Parent = comboframe
  474. Frame1.Size = UDim2.new(0, 300, 0, 14)
  475. Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
  476. Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
  477. Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
  478. Frame1.BorderSizePixel = 5
  479. Frame2.Name = "combtimeoverlay"
  480. Frame2.Parent = Frame1
  481. Frame2.Size = UDim2.new(0, 0, 0, 14)
  482. Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
  483. Frame2.ZIndex = 2
  484. TextLabel3.Parent = Frame2
  485. TextLabel3.Transparency = 0
  486. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  487. TextLabel3.Text ="Hits: "..combohits
  488. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  489. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  490. TextLabel3.BackgroundTransparency = 1
  491. TextLabel3.Font = Enum.Font.Bodoni
  492. TextLabel3.FontSize = Enum.FontSize.Size60
  493. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  494. TextLabel3.TextStrokeTransparency = 0
  495. gui = game:GetService("Players").LocalPlayer.PlayerGui
  496. for i,v in pairs(mas:GetChildren()) do
  497. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  498. pcall(function() v:MakeJoints() end)
  499. end
  500. mas:Destroy()
  501. for i,v in pairs(cors) do
  502. spawn(function()
  503. pcall(v)
  504. end)
  505. end
  506.  
  507.  
  508.  
  509.  
  510.  
  511. coroutine.resume(coroutine.create(function()
  512. while true do
  513. wait()
  514.  
  515.  
  516. if combotime>65 then
  517. combotime = 65
  518. end
  519.  
  520.  
  521.  
  522.  
  523.  
  524. if combotime>.1 and comboing == true then
  525. TextLabel3.Transparency = 0
  526. TextLabel3.TextStrokeTransparency = 0
  527. TextLabel3.BackgroundTransparency = 1
  528. Frame1.Transparency = 0
  529. Frame2.Transparency = 0
  530. TextLabel3.Text ="Hits: "..combohits
  531. combotime = combotime - .34
  532. Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
  533. end
  534.  
  535.  
  536.  
  537.  
  538. if combotime<.1 then
  539. TextLabel3.BackgroundTransparency = 1
  540. TextLabel3.Transparency = 1
  541. TextLabel3.TextStrokeTransparency = 1
  542.  
  543. Frame2.Size = UDim2.new(0, 0, 0, 14)
  544. combotime = 0
  545. comboing = false
  546. Frame1.Transparency = 1
  547. Frame2.Transparency = 1
  548. combohits = 0
  549.  
  550. end
  551. end
  552. end))
  553.  
  554.  
  555.  
  556. -------------------------------------------------------
  557. --End Combo Function--
  558. -------------------------------------------------------
  559.  
  560. -------------------------------------------------------
  561. --Start Important Functions--
  562. -------------------------------------------------------
  563. function swait(num)
  564. if num == 0 or num == nil then
  565. game:service("RunService").Stepped:wait(0)
  566. else
  567. for i = 0, num do
  568. game:service("RunService").Stepped:wait(0)
  569. end
  570. end
  571. end
  572. function thread(f)
  573. coroutine.resume(coroutine.create(f))
  574. end
  575. function clerp(a, b, t)
  576. local qa = {
  577. QuaternionFromCFrame(a)
  578. }
  579. local qb = {
  580. QuaternionFromCFrame(b)
  581. }
  582. local ax, ay, az = a.x, a.y, a.z
  583. local bx, by, bz = b.x, b.y, b.z
  584. local _t = 1 - t
  585. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  586. end
  587. function QuaternionFromCFrame(cf)
  588. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  589. local trace = m00 + m11 + m22
  590. if trace > 0 then
  591. local s = math.sqrt(1 + trace)
  592. local recip = 0.5 / s
  593. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  594. else
  595. local i = 0
  596. if m00 < m11 then
  597. i = 1
  598. end
  599. if m22 > (i == 0 and m00 or m11) then
  600. i = 2
  601. end
  602. if i == 0 then
  603. local s = math.sqrt(m00 - m11 - m22 + 1)
  604. local recip = 0.5 / s
  605. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  606. elseif i == 1 then
  607. local s = math.sqrt(m11 - m22 - m00 + 1)
  608. local recip = 0.5 / s
  609. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  610. elseif i == 2 then
  611. local s = math.sqrt(m22 - m00 - m11 + 1)
  612. local recip = 0.5 / s
  613. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  614. end
  615. end
  616. end
  617. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  618. local xs, ys, zs = x + x, y + y, z + z
  619. local wx, wy, wz = w * xs, w * ys, w * zs
  620. local xx = x * xs
  621. local xy = x * ys
  622. local xz = x * zs
  623. local yy = y * ys
  624. local yz = y * zs
  625. local zz = z * zs
  626. 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))
  627. end
  628. function QuaternionSlerp(a, b, t)
  629. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  630. local startInterp, finishInterp
  631. if cosTheta >= 1.0E-4 then
  632. if 1 - cosTheta > 1.0E-4 then
  633. local theta = math.acos(cosTheta)
  634. local invSinTheta = 1 / Sin(theta)
  635. startInterp = Sin((1 - t) * theta) * invSinTheta
  636. finishInterp = Sin(t * theta) * invSinTheta
  637. else
  638. startInterp = 1 - t
  639. finishInterp = t
  640. end
  641. elseif 1 + cosTheta > 1.0E-4 then
  642. local theta = math.acos(-cosTheta)
  643. local invSinTheta = 1 / Sin(theta)
  644. startInterp = Sin((t - 1) * theta) * invSinTheta
  645. finishInterp = Sin(t * theta) * invSinTheta
  646. else
  647. startInterp = t - 1
  648. finishInterp = t
  649. end
  650. 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
  651. end
  652. function rayCast(Position, Direction, Range, Ignore)
  653. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  654. end
  655. local RbxUtility = LoadLibrary("RbxUtility")
  656. local Create = RbxUtility.Create
  657.  
  658. -------------------------------------------------------
  659. --Start Damage Function--
  660. -------------------------------------------------------
  661. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  662. if hit.Parent == nil then
  663. return
  664. end
  665. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  666. for _, v in pairs(hit.Parent:children()) do
  667. if v:IsA("Humanoid") then
  668. h = v
  669. end
  670. end
  671. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  672.  
  673. hit.Parent:FindFirstChild("Head"):BreakJoints()
  674. end
  675.  
  676. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  677. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  678. if hit.Parent.DebounceHit.Value == true then
  679. return
  680. end
  681. end
  682. if insta == true then
  683. hit.Parent:FindFirstChild("Head"):BreakJoints()
  684. end
  685. local c = Create("ObjectValue"){
  686. Name = "creator",
  687. Value = game:service("Players").LocalPlayer,
  688. Parent = h,
  689. }
  690. game:GetService("Debris"):AddItem(c, .5)
  691. if HitSound ~= nil and HitPitch ~= nil then
  692. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  693. end
  694. local Damage = math.random(minim, maxim)
  695. local blocked = false
  696. local block = hit.Parent:findFirstChild("Block")
  697. if block ~= nil then
  698. if block.className == "IntValue" then
  699. if block.Value > 0 then
  700. blocked = true
  701. block.Value = block.Value - 1
  702. print(block.Value)
  703. end
  704. end
  705. end
  706. if blocked == false then
  707. h.Health = h.Health - Damage
  708. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  709. else
  710. h.Health = h.Health - (Damage / 2)
  711. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  712. end
  713. if Type == "Knockdown" then
  714. local hum = hit.Parent.Humanoid
  715. hum.PlatformStand = true
  716. coroutine.resume(coroutine.create(function(HHumanoid)
  717. swait(1)
  718. HHumanoid.PlatformStand = false
  719. end), hum)
  720. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  721. local bodvol = Create("BodyVelocity"){
  722. velocity = angle * knockback,
  723. P = 5000,
  724. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  725. Parent = hit,
  726. }
  727. local rl = Create("BodyAngularVelocity"){
  728. P = 3000,
  729. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  730. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  731. Parent = hit,
  732. }
  733. game:GetService("Debris"):AddItem(bodvol, .5)
  734. game:GetService("Debris"):AddItem(rl, .5)
  735. elseif Type == "Normal" then
  736. local vp = Create("BodyVelocity"){
  737. P = 500,
  738. maxForce = Vector3.new(math.huge, 0, math.huge),
  739. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  740. }
  741. if knockback > 0 then
  742. vp.Parent = hit.Parent.Torso
  743. end
  744. game:GetService("Debris"):AddItem(vp, .5)
  745. elseif Type == "Up" then
  746. local bodyVelocity = Create("BodyVelocity"){
  747. velocity = Vector3.new(0, 20, 0),
  748. P = 5000,
  749. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  750. Parent = hit,
  751. }
  752. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  753. elseif Type == "DarkUp" then
  754. coroutine.resume(coroutine.create(function()
  755. for i = 0, 1, 0.1 do
  756. swait()
  757. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  758. end
  759. end))
  760. local bodyVelocity = Create("BodyVelocity"){
  761. velocity = Vector3.new(0, 20, 0),
  762. P = 5000,
  763. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  764. Parent = hit,
  765. }
  766. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  767. elseif Type == "Snare" then
  768. local bp = Create("BodyPosition"){
  769. P = 2000,
  770. D = 100,
  771. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  772. position = hit.Parent.Torso.Position,
  773. Parent = hit.Parent.Torso,
  774. }
  775. game:GetService("Debris"):AddItem(bp, 1)
  776. elseif Type == "Freeze" then
  777. local BodPos = Create("BodyPosition"){
  778. P = 50000,
  779. D = 1000,
  780. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  781. position = hit.Parent.Torso.Position,
  782. Parent = hit.Parent.Torso,
  783. }
  784. local BodGy = Create("BodyGyro") {
  785. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  786. P = 20e+003,
  787. Parent = hit.Parent.Torso,
  788. cframe = hit.Parent.Torso.CFrame,
  789. }
  790. hit.Parent.Torso.Anchored = true
  791. coroutine.resume(coroutine.create(function(Part)
  792. swait(1.5)
  793. Part.Anchored = false
  794. end), hit.Parent.Torso)
  795. game:GetService("Debris"):AddItem(BodPos, 3)
  796. game:GetService("Debris"):AddItem(BodGy, 3)
  797. end
  798. local debounce = Create("BoolValue"){
  799. Name = "DebounceHit",
  800. Parent = hit.Parent,
  801. Value = true,
  802. }
  803. game:GetService("Debris"):AddItem(debounce, Delay)
  804. c = Create("ObjectValue"){
  805. Name = "creator",
  806. Value = Player,
  807. Parent = h,
  808. }
  809. game:GetService("Debris"):AddItem(c, .5)
  810. end
  811. end
  812.  
  813.  
  814.  
  815.  
  816. kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  817. if hit.Parent==nil then
  818. return
  819. end
  820. h=hit.Parent:FindFirstChild("Humanoid")
  821. for _,v in pairs(hit.Parent:children()) do
  822. if v:IsA("Humanoid") then
  823. h=v
  824. end
  825. end
  826. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  827. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  828. end
  829. if hit.Parent.className=="Hat" then
  830. hit=hit.Parent.Parent:findFirstChild("Head")
  831. end
  832. if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  833. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  834. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  835. return
  836. end]]
  837. -- hs(hit,1.2)
  838. c=Instance.new("ObjectValue")
  839. c.Name="creator"
  840. c.Value=game:service("Players").LocalPlayer
  841. c.Parent=h
  842. game:GetService("Debris"):AddItem(c,.5)
  843. Damage=math.random(minim,maxim)
  844. -- h:TakeDamage(Damage)
  845. blocked=false
  846. block=hit.Parent:findFirstChild("Block")
  847. if block~=nil then
  848. print(block.className)
  849. if block.className=="NumberValue" then
  850. if block.Value>0 then
  851. blocked=true
  852. if decreaseblock==nil then
  853. block.Value=block.Value-1
  854. end
  855. end
  856. end
  857. if block.className=="IntValue" then
  858. if block.Value>0 then
  859. blocked=true
  860. if decreaseblock~=nil then
  861. block.Value=block.Value-1
  862. end
  863. end
  864. end
  865. end
  866. if blocked==false then
  867. -- h:TakeDamage(Damage)
  868. h.Health=h.Health-Damage
  869. kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White"))
  870. else
  871. h.Health=h.Health-(Damage/2)
  872. kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White"))
  873. end
  874. if Type=="Knockdown" then
  875. hum=hit.Parent.Humanoid
  876. hum.PlatformStand=true
  877. coroutine.resume(coroutine.create(function(HHumanoid)
  878. swait(1)
  879. HHumanoid.PlatformStand=false
  880. end),hum)
  881. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  882. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  883. local bodvol=Instance.new("BodyVelocity")
  884. bodvol.velocity=angle*knockback
  885. bodvol.P=5000
  886. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  887. bodvol.Parent=hit
  888. rl=Instance.new("BodyAngularVelocity")
  889. rl.P=3000
  890. rl.maxTorque=Vector3.new(500,500,500)
  891. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  892. rl.Parent=hit
  893. game:GetService("Debris"):AddItem(bodvol,.5)
  894. game:GetService("Debris"):AddItem(rl,.5)
  895. elseif Type=="Normal" then
  896. vp=Instance.new("BodyVelocity")
  897. vp.P=500
  898. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  899. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  900. if KnockbackType==1 then
  901. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  902. elseif KnockbackType==2 then
  903. vp.velocity=Property.CFrame.lookVector*knockback
  904. end
  905. if knockback>0 then
  906. vp.Parent=hit.Parent.Torso
  907. end
  908. game:GetService("Debris"):AddItem(vp,.5)
  909. elseif Type=="Up" then
  910. hit.Parent.Humanoid.PlatformStand = true
  911. local bodyVelocity=Instance.new("BodyVelocity")
  912. bodyVelocity.velocity=vt(0,15,0)
  913. bodyVelocity.P=5000
  914. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  915. bodyVelocity.Parent=hit
  916. game:GetService("Debris"):AddItem(bodyVelocity,1)
  917. rl=Instance.new("BodyAngularVelocity")
  918. rl.P=3000
  919. rl.AngularVelocity = Vector3.new(2000,2000,2000)
  920. rl.MaxTorque = Vector3.new(40000,40000,40000)
  921. rl.Parent=hit
  922. hit.Parent.Humanoid.PlatformStand = false
  923. game:GetService("Debris"):AddItem(rl,.5)
  924. elseif Type=="Snare" then
  925. bp=Instance.new("BodyPosition")
  926. bp.P=2000
  927. bp.D=100
  928. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  929. bp.position=hit.Parent.Torso.Position
  930. bp.Parent=hit.Parent.Torso
  931. game:GetService("Debris"):AddItem(bp,1)
  932. elseif Type=="Float" then
  933. hit.Parent.Humanoid.PlatformStand = true
  934. bp=Instance.new("BodyPosition")
  935. bp.P=2000
  936. bp.D=400
  937. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  938. bp.position=hit.Parent.Torso.Position+vt(0,35,24)
  939. bp.Parent=hit.Parent.Torso
  940.  
  941. local rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso)
  942. rl.P=377705
  943. rl.maxTorque=Vector3.new(1,1,1)*500
  944. rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3))
  945.  
  946. local BF = Instance.new("BodyForce",hit.Parent.Torso)
  947. BF.force = Vector3.new(0, workspace.Gravity/1.10, 0)
  948. game:GetService("Debris"):AddItem(bp,5)
  949. game:GetService("Debris"):AddItem(BF,5)
  950. game:GetService("Debris"):AddItem(rl,5)
  951. elseif Type=="Target" then
  952. if Targetting==false then
  953. ZTarget=hit.Parent.Torso
  954. coroutine.resume(coroutine.create(function(Part)
  955. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  956. swait(5)
  957. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  958. end),ZTarget)
  959. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  960. targetgui=Instance.new("BillboardGui")
  961. targetgui.Parent=ZTarget
  962. targetgui.Size=UDim2.new(10,100,10,100)
  963. targ=Instance.new("ImageLabel")
  964. targ.Parent=targetgui
  965. targ.BackgroundTransparency=1
  966. targ.Image="rbxassetid://4834067"
  967. targ.Size=UDim2.new(1,0,1,0)
  968. cam.CameraType="Scriptable"
  969. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  970. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  971. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  972. Targetting=true
  973. RocketTarget=ZTarget
  974. for i=1,Property do
  975. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  976. if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  977. swait()
  978. end
  979. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  980. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  981. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  982. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  983. end
  984. Targetting=false
  985. RocketTarget=nil
  986. targetgui.Parent=nil
  987. cam.CameraType="Custom"
  988. end
  989. end
  990. debounce=Instance.new("BoolValue")
  991. debounce.Name="DebounceHit"
  992. debounce.Parent=hit.Parent
  993. debounce.Value=true
  994. game:GetService("Debris"):AddItem(debounce,Delay)
  995. c=Instance.new("ObjectValue")
  996. c.Name="creator"
  997. c.Value=Player
  998. c.Parent=h
  999. game:GetService("Debris"):AddItem(c,.5)
  1000. CRIT=false
  1001. hitDeb=true
  1002. AttackPos=6
  1003. comboing = true
  1004. combohits = combohits+1
  1005. combotime = combotime+3.4
  1006.  
  1007.  
  1008.  
  1009. if hitfloor == nil then
  1010.  
  1011. local velo=Instance.new("BodyVelocity")
  1012. velo.velocity=vt(0,5.5,0)
  1013. velo.P=8000
  1014. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  1015. velo.Parent=root
  1016. game:GetService("Debris"):AddItem(velo,0.06)
  1017.  
  1018. local hitvelo=Instance.new("BodyVelocity")
  1019. hitvelo.velocity=vt(0,5.5,0)
  1020. hitvelo.P=8000
  1021. hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  1022. hitvelo.Parent=hit
  1023. game:GetService("Debris"):AddItem(hitvelo,0.06)
  1024.  
  1025. coroutine.resume(coroutine.create(function()
  1026. for i = 0,3.7,0.1 do
  1027. swait()
  1028. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  1029. root.Velocity = root.CFrame.lookVector*0
  1030. hit.Velocity = hit.CFrame.lookVector*130
  1031. end
  1032. end))
  1033. coroutine.resume(coroutine.create(function()
  1034. while ultra == true do
  1035. swait()
  1036. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  1037. end
  1038. end))
  1039.  
  1040.  
  1041. end
  1042.  
  1043.  
  1044. end
  1045. end
  1046.  
  1047. kshowDamage=function(Char,Dealt,du,Color)
  1048. m=Instance.new("Model")
  1049. m.Name=tostring(Dealt)
  1050. h=Instance.new("Humanoid")
  1051. h.Health=0
  1052. h.MaxHealth=0
  1053. h.Parent=m
  1054. c=Instance.new("Part")
  1055. c.Transparency=0
  1056. c.BrickColor=Color
  1057. c.Name="Head"
  1058. c.Material = "Neon"
  1059. c.TopSurface=0
  1060. c.BottomSurface=0
  1061. c.formFactor="Plate"
  1062. c.Size=Vector3.new(1,.4,1)
  1063. ms=Instance.new("CylinderMesh")
  1064. ms.Scale=Vector3.new(.8,.8,.8)
  1065. if CRIT==true then
  1066. ms.Scale=Vector3.new(1,1.25,1)
  1067. end
  1068. ms.Parent=c
  1069. c.Reflectance=0
  1070. Instance.new("BodyGyro").Parent=c
  1071. c.Parent=m
  1072. if Char:findFirstChild("Head")~=nil then
  1073. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1074. elseif Char.Parent:findFirstChild("Head")~=nil then
  1075. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1076. end
  1077. f=Instance.new("BodyPosition")
  1078. f.P=2000
  1079. f.D=220
  1080. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1081. f.position=c.Position+Vector3.new(0,3,0)
  1082. f.Parent=c
  1083. game:GetService("Debris"):AddItem(m,.5+du)
  1084. c.CanCollide=false
  1085. m.Parent=workspace
  1086. c.CanCollide=false
  1087.  
  1088. end
  1089.  
  1090. -------------------------------------------------------
  1091. --End Damage Function--
  1092. -------------------------------------------------------
  1093.  
  1094. -------------------------------------------------------
  1095. --Start Damage Function Customization--
  1096. -------------------------------------------------------
  1097. function ShowDamage(Pos, Text, Time, Color)
  1098. local Rate = (1 / 30)
  1099. local Pos = (Pos or Vector3.new(0, 0, 0))
  1100. local Text = (Text or "")
  1101. local Time = (Time or 2)
  1102. local Color = (Color or Color3.new(1, 0, 1))
  1103. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1104. EffectPart.Anchored = true
  1105. local BillboardGui = Create("BillboardGui"){
  1106. Size = UDim2.new(3, 0, 3, 0),
  1107. Adornee = EffectPart,
  1108. Parent = EffectPart,
  1109. }
  1110. local TextLabel = Create("TextLabel"){
  1111. BackgroundTransparency = 1,
  1112. Size = UDim2.new(1, 0, 1, 0),
  1113. Text = Text,
  1114. Font = "Bodoni",
  1115. TextColor3 = Color,
  1116. TextScaled = true,
  1117. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1118. Parent = BillboardGui,
  1119. }
  1120. game.Debris:AddItem(EffectPart, (Time))
  1121. EffectPart.Parent = game:GetService("Workspace")
  1122. delay(0, function()
  1123. local Frames = (Time / Rate)
  1124. for Frame = 1, Frames do
  1125. wait(Rate)
  1126. local Percent = (Frame / Frames)
  1127. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1128. TextLabel.TextTransparency = Percent
  1129. end
  1130. if EffectPart and EffectPart.Parent then
  1131. EffectPart:Destroy()
  1132. end
  1133. end)
  1134. end
  1135. -------------------------------------------------------
  1136. --End Damage Function Customization--
  1137. -------------------------------------------------------
  1138.  
  1139. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1140. for _, c in pairs(workspace:children()) do
  1141. local hum = c:findFirstChild("Humanoid")
  1142. if hum ~= nil then
  1143. local head = c:findFirstChild("Head")
  1144. if head ~= nil then
  1145. local targ = head.Position - Part.Position
  1146. local mag = targ.magnitude
  1147. if magni >= mag and c.Name ~= plr.Name then
  1148. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154.  
  1155.  
  1156. CFuncs = {
  1157. Part = {
  1158. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1159. local Part = Create("Part")({
  1160. Parent = Parent,
  1161. Reflectance = Reflectance,
  1162. Transparency = Transparency,
  1163. CanCollide = false,
  1164. Locked = true,
  1165. BrickColor = BrickColor.new(tostring(BColor)),
  1166. Name = Name,
  1167. Size = Size,
  1168. Material = Material
  1169. })
  1170. RemoveOutlines(Part)
  1171. return Part
  1172. end
  1173. },
  1174. Mesh = {
  1175. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1176. local Msh = Create(Mesh)({
  1177. Parent = Part,
  1178. Offset = OffSet,
  1179. Scale = Scale
  1180. })
  1181. if Mesh == "SpecialMesh" then
  1182. Msh.MeshType = MeshType
  1183. Msh.MeshId = MeshId
  1184. end
  1185. return Msh
  1186. end
  1187. },
  1188. Mesh = {
  1189. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1190. local Msh = Create(Mesh)({
  1191. Parent = Part,
  1192. Offset = OffSet,
  1193. Scale = Scale
  1194. })
  1195. if Mesh == "SpecialMesh" then
  1196. Msh.MeshType = MeshType
  1197. Msh.MeshId = MeshId
  1198. end
  1199. return Msh
  1200. end
  1201. },
  1202. Weld = {
  1203. Create = function(Parent, Part0, Part1, C0, C1)
  1204. local Weld = Create("Weld")({
  1205. Parent = Parent,
  1206. Part0 = Part0,
  1207. Part1 = Part1,
  1208. C0 = C0,
  1209. C1 = C1
  1210. })
  1211. return Weld
  1212. end
  1213. },
  1214. Sound = {
  1215. Create = function(id, par, vol, pit)
  1216. coroutine.resume(coroutine.create(function()
  1217. local S = Create("Sound")({
  1218. Volume = vol,
  1219. Pitch = pit or 1,
  1220. SoundId = id,
  1221. Parent = par or workspace
  1222. })
  1223. wait()
  1224. S:play()
  1225. game:GetService("Debris"):AddItem(S, 6)
  1226. end))
  1227. end
  1228. },
  1229. ParticleEmitter = {
  1230. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1231. local fp = Create("ParticleEmitter")({
  1232. Parent = Parent,
  1233. Color = ColorSequence.new(Color1, Color2),
  1234. LightEmission = LightEmission,
  1235. Size = Size,
  1236. Texture = Texture,
  1237. Transparency = Transparency,
  1238. ZOffset = ZOffset,
  1239. Acceleration = Accel,
  1240. Drag = Drag,
  1241. LockedToPart = LockedToPart,
  1242. VelocityInheritance = VelocityInheritance,
  1243. EmissionDirection = EmissionDirection,
  1244. Enabled = Enabled,
  1245. Lifetime = LifeTime,
  1246. Rate = Rate,
  1247. Rotation = Rotation,
  1248. RotSpeed = RotSpeed,
  1249. Speed = Speed,
  1250. VelocitySpread = VelocitySpread
  1251. })
  1252. return fp
  1253. end
  1254. }
  1255. }
  1256. function RemoveOutlines(part)
  1257. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1258. end
  1259. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1260. local Part = Create("Part")({
  1261. formFactor = FormFactor,
  1262. Parent = Parent,
  1263. Reflectance = Reflectance,
  1264. Transparency = Transparency,
  1265. CanCollide = false,
  1266. Locked = true,
  1267. BrickColor = BrickColor.new(tostring(BColor)),
  1268. Name = Name,
  1269. Size = Size,
  1270. Material = Material
  1271. })
  1272. RemoveOutlines(Part)
  1273. return Part
  1274. end
  1275. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1276. local Msh = Create(Mesh)({
  1277. Parent = Part,
  1278. Offset = OffSet,
  1279. Scale = Scale
  1280. })
  1281. if Mesh == "SpecialMesh" then
  1282. Msh.MeshType = MeshType
  1283. Msh.MeshId = MeshId
  1284. end
  1285. return Msh
  1286. end
  1287. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1288. local Weld = Create("Weld")({
  1289. Parent = Parent,
  1290. Part0 = Part0,
  1291. Part1 = Part1,
  1292. C0 = C0,
  1293. C1 = C1
  1294. })
  1295. return Weld
  1296. end
  1297.  
  1298.  
  1299. -------------------------------------------------------
  1300. --Start Effect Function--
  1301. -------------------------------------------------------
  1302. EffectModel = Instance.new("Model", char)
  1303. Effects = {
  1304. Block = {
  1305. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1306. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1307. prt.Anchored = true
  1308. prt.CFrame = cframe
  1309. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1310. game:GetService("Debris"):AddItem(prt, 10)
  1311. if Type == 1 or Type == nil then
  1312. table.insert(Effects, {
  1313. prt,
  1314. "Block1",
  1315. delay,
  1316. x3,
  1317. y3,
  1318. z3,
  1319. msh
  1320. })
  1321. elseif Type == 2 then
  1322. table.insert(Effects, {
  1323. prt,
  1324. "Block2",
  1325. delay,
  1326. x3,
  1327. y3,
  1328. z3,
  1329. msh
  1330. })
  1331. else
  1332. table.insert(Effects, {
  1333. prt,
  1334. "Block3",
  1335. delay,
  1336. x3,
  1337. y3,
  1338. z3,
  1339. msh
  1340. })
  1341. end
  1342. end
  1343. },
  1344. Sphere = {
  1345. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1346. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1347. prt.Anchored = true
  1348. prt.CFrame = cframe
  1349. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1350. game:GetService("Debris"):AddItem(prt, 10)
  1351. table.insert(Effects, {
  1352. prt,
  1353. "Cylinder",
  1354. delay,
  1355. x3,
  1356. y3,
  1357. z3,
  1358. msh
  1359. })
  1360. end
  1361. },
  1362. Cylinder = {
  1363. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1364. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1365. prt.Anchored = true
  1366. prt.CFrame = cframe
  1367. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1368. game:GetService("Debris"):AddItem(prt, 10)
  1369. table.insert(Effects, {
  1370. prt,
  1371. "Cylinder",
  1372. delay,
  1373. x3,
  1374. y3,
  1375. z3,
  1376. msh
  1377. })
  1378. end
  1379. },
  1380. Wave = {
  1381. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1382. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1383. prt.Anchored = true
  1384. prt.CFrame = cframe
  1385. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1386. game:GetService("Debris"):AddItem(prt, 10)
  1387. table.insert(Effects, {
  1388. prt,
  1389. "Cylinder",
  1390. delay,
  1391. x3 / 60,
  1392. y3 / 60,
  1393. z3 / 60,
  1394. msh
  1395. })
  1396. end
  1397. },
  1398. Ring = {
  1399. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1400. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1401. prt.Anchored = true
  1402. prt.CFrame = cframe
  1403. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1404. game:GetService("Debris"):AddItem(prt, 10)
  1405. table.insert(Effects, {
  1406. prt,
  1407. "Cylinder",
  1408. delay,
  1409. x3,
  1410. y3,
  1411. z3,
  1412. msh
  1413. })
  1414. end
  1415. },
  1416. Break = {
  1417. Create = function(brickcolor, cframe, x1, y1, z1)
  1418. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1419. prt.Anchored = true
  1420. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1421. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1422. local num = math.random(10, 50) / 1000
  1423. game:GetService("Debris"):AddItem(prt, 10)
  1424. table.insert(Effects, {
  1425. prt,
  1426. "Shatter",
  1427. num,
  1428. prt.CFrame,
  1429. math.random() - math.random(),
  1430. 0,
  1431. math.random(50, 100) / 100
  1432. })
  1433. end
  1434. },
  1435. Spiral = {
  1436. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1437. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1438. prt.Anchored = true
  1439. prt.CFrame = cframe
  1440. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1441. game:GetService("Debris"):AddItem(prt, 10)
  1442. table.insert(Effects, {
  1443. prt,
  1444. "Cylinder",
  1445. delay,
  1446. x3,
  1447. y3,
  1448. z3,
  1449. msh
  1450. })
  1451. end
  1452. },
  1453. Push = {
  1454. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1455. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1456. prt.Anchored = true
  1457. prt.CFrame = cframe
  1458. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1459. game:GetService("Debris"):AddItem(prt, 10)
  1460. table.insert(Effects, {
  1461. prt,
  1462. "Cylinder",
  1463. delay,
  1464. x3,
  1465. y3,
  1466. z3,
  1467. msh
  1468. })
  1469. end
  1470. }
  1471. }
  1472. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1473. local fp = IT("Part")
  1474. fp.formFactor = formfactor
  1475. fp.Parent = parent
  1476. fp.Reflectance = reflectance
  1477. fp.Transparency = transparency
  1478. fp.CanCollide = false
  1479. fp.Locked = true
  1480. fp.BrickColor = brickcolor
  1481. fp.Name = name
  1482. fp.Size = size
  1483. fp.Position = tors.Position
  1484. RemoveOutlines(fp)
  1485. fp.Material = "SmoothPlastic"
  1486. fp:BreakJoints()
  1487. return fp
  1488. end
  1489.  
  1490. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1491. local mesh = IT(Mesh)
  1492. mesh.Parent = part
  1493. if Mesh == "SpecialMesh" then
  1494. mesh.MeshType = meshtype
  1495. if meshid ~= "nil" then
  1496. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1497. end
  1498. end
  1499. mesh.Offset = offset
  1500. mesh.Scale = scale
  1501. return mesh
  1502. end
  1503.  
  1504. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1505. local type = type
  1506. local rng = Instance.new("Part", char)
  1507. rng.Anchored = true
  1508. rng.BrickColor = color
  1509. rng.CanCollide = false
  1510. rng.FormFactor = 3
  1511. rng.Name = "Ring"
  1512. rng.Material = "Neon"
  1513. rng.Size = Vector3.new(1, 1, 1)
  1514. rng.Transparency = 0
  1515. rng.TopSurface = 0
  1516. rng.BottomSurface = 0
  1517. rng.CFrame = pos
  1518. local rngm = Instance.new("SpecialMesh", rng)
  1519. rngm.MeshType = MType
  1520. rngm.Scale = scale
  1521. local scaler2 = 1
  1522. if type == "Add" then
  1523. scaler2 = 1 * value
  1524. elseif type == "Divide" then
  1525. scaler2 = 1 / value
  1526. end
  1527. coroutine.resume(coroutine.create(function()
  1528. for i = 0, 10 / bonuspeed, 0.1 do
  1529. swait()
  1530. if type == "Add" then
  1531. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1532. elseif type == "Divide" then
  1533. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1534. end
  1535. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1536. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1537. end
  1538. rng:Destroy()
  1539. end))
  1540. end
  1541.  
  1542. function Eviscerate(dude)
  1543. if dude.Name ~= char then
  1544. local bgf = IT("BodyGyro", dude.Head)
  1545. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1546. local val = IT("BoolValue", dude)
  1547. val.Name = "IsHit"
  1548. local ds = coroutine.wrap(function()
  1549. dude:WaitForChild("Head"):BreakJoints()
  1550. wait(0.5)
  1551. target = nil
  1552. coroutine.resume(coroutine.create(function()
  1553. for i, v in pairs(dude:GetChildren()) do
  1554. if v:IsA("Accessory") then
  1555. v:Destroy()
  1556. end
  1557. if v:IsA("Humanoid") then
  1558. v:Destroy()
  1559. end
  1560. if v:IsA("CharacterMesh") then
  1561. v:Destroy()
  1562. end
  1563. if v:IsA("Model") then
  1564. v:Destroy()
  1565. end
  1566. if v:IsA("Part") or v:IsA("MeshPart") then
  1567. for x, o in pairs(v:GetChildren()) do
  1568. if o:IsA("Decal") then
  1569. o:Destroy()
  1570. end
  1571. end
  1572. coroutine.resume(coroutine.create(function()
  1573. v.Material = "Neon"
  1574. v.CanCollide = false
  1575. local PartEmmit1 = IT("ParticleEmitter", v)
  1576. PartEmmit1.LightEmission = 1
  1577. PartEmmit1.Texture = "rbxassetid://284205403"
  1578. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1579. PartEmmit1.Rate = 150
  1580. PartEmmit1.Lifetime = NumberRange.new(1)
  1581. PartEmmit1.Size = NumberSequence.new({
  1582. NumberSequenceKeypoint.new(0, 0.75, 0),
  1583. NumberSequenceKeypoint.new(1, 0, 0)
  1584. })
  1585. PartEmmit1.Transparency = NumberSequence.new({
  1586. NumberSequenceKeypoint.new(0, 0, 0),
  1587. NumberSequenceKeypoint.new(1, 1, 0)
  1588. })
  1589. PartEmmit1.Speed = NumberRange.new(0, 0)
  1590. PartEmmit1.VelocitySpread = 30000
  1591. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1592. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1593. local BodPoss = IT("BodyPosition", v)
  1594. BodPoss.P = 3000
  1595. BodPoss.D = 1000
  1596. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1597. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1598. v.Color = maincolor.Color
  1599. coroutine.resume(coroutine.create(function()
  1600. for i = 0, 49 do
  1601. swait(1)
  1602. v.Transparency = v.Transparency + 0.08
  1603. end
  1604. wait(0.5)
  1605. PartEmmit1.Enabled = false
  1606. wait(3)
  1607. v:Destroy()
  1608. dude:Destroy()
  1609. end))
  1610. end))
  1611. end
  1612. end
  1613. end))
  1614. end)
  1615. ds()
  1616. end
  1617. end
  1618.  
  1619. function FindNearestHead(Position, Distance, SinglePlayer)
  1620. if SinglePlayer then
  1621. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1622. end
  1623. local List = {}
  1624. for i, v in pairs(workspace:GetChildren()) do
  1625. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1626. table.insert(List, v)
  1627. end
  1628. end
  1629. return List
  1630. end
  1631.  
  1632. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1633. local type = type
  1634. local rng = Instance.new("Part", char)
  1635. rng.Anchored = true
  1636. rng.BrickColor = color
  1637. rng.CanCollide = false
  1638. rng.FormFactor = 3
  1639. rng.Name = "Ring"
  1640. rng.Material = "Neon"
  1641. rng.Size = Vector3.new(1, 1, 1)
  1642. rng.Transparency = 0
  1643. rng.TopSurface = 0
  1644. rng.BottomSurface = 0
  1645. rng.CFrame = pos
  1646. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1647. local rngm = Instance.new("SpecialMesh", rng)
  1648. rngm.MeshType = MType
  1649. rngm.Scale = Vector3.new(x1, y1, z1)
  1650. local scaler2 = 1
  1651. local speeder = FastSpeed
  1652. if type == "Add" then
  1653. scaler2 = 1 * value
  1654. elseif type == "Divide" then
  1655. scaler2 = 1 / value
  1656. end
  1657. coroutine.resume(coroutine.create(function()
  1658. for i = 0, 10 / bonuspeed, 0.1 do
  1659. swait()
  1660. if type == "Add" then
  1661. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1662. elseif type == "Divide" then
  1663. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1664. end
  1665. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1666. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1667. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1668. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1669. end
  1670. rng:Destroy()
  1671. end))
  1672. end
  1673.  
  1674. function SoulSteal(dude)
  1675. if dude.Name ~= char then
  1676. local bgf = IT("BodyGyro", dude.Head)
  1677. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1678. local val = IT("BoolValue", dude)
  1679. val.Name = "IsHit"
  1680. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1681. local soulst = coroutine.wrap(function()
  1682. local soul = Instance.new("Part",dude)
  1683. soul.Size = Vector3.new(1,1,1)
  1684. soul.CanCollide = false
  1685. soul.Anchored = false
  1686. soul.Position = torso.Position
  1687. soul.Transparency = 1
  1688. local PartEmmit1 = IT("ParticleEmitter", soul)
  1689. PartEmmit1.LightEmission = 1
  1690. PartEmmit1.Texture = "rbxassetid://569507414"
  1691. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1692. PartEmmit1.Rate = 250
  1693. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1694. PartEmmit1.Size = NumberSequence.new({
  1695. NumberSequenceKeypoint.new(0, 1, 0),
  1696. NumberSequenceKeypoint.new(1, 0, 0)
  1697. })
  1698. PartEmmit1.Transparency = NumberSequence.new({
  1699. NumberSequenceKeypoint.new(0, 0, 0),
  1700. NumberSequenceKeypoint.new(1, 1, 0)
  1701. })
  1702. PartEmmit1.Speed = NumberRange.new(0, 0)
  1703. PartEmmit1.VelocitySpread = 30000
  1704. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1705. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1706. local BodPoss = IT("BodyPosition", soul)
  1707. BodPoss.P = 3000
  1708. BodPoss.D = 1000
  1709. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1710. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1711. wait(1.6)
  1712. soul.Touched:connect(function(hit)
  1713. if hit.Parent == char then
  1714. soul:Destroy()
  1715. end
  1716. end)
  1717. wait(1.2)
  1718. while soul do
  1719. swait()
  1720. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1721. BodPoss.Position = tors.Position
  1722. end
  1723. end)
  1724. soulst()
  1725. end
  1726. end
  1727.  
  1728.  
  1729.  
  1730.  
  1731. --killer's effects
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1738. local Part = Create("Part"){
  1739. Parent = Parent,
  1740. Reflectance = Reflectance,
  1741. Transparency = Transparency,
  1742. CanCollide = false,
  1743. Locked = true,
  1744. BrickColor = BrickColor.new(tostring(BColor)),
  1745. Name = Name,
  1746. Size = Size,
  1747. Material = Material,
  1748. }
  1749. RemoveOutlines(Part)
  1750. return Part
  1751. end
  1752.  
  1753. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1754. local Msh = Create(Mesh){
  1755. Parent = Part,
  1756. Offset = OffSet,
  1757. Scale = Scale,
  1758. }
  1759. if Mesh == "SpecialMesh" then
  1760. Msh.MeshType = MeshType
  1761. Msh.MeshId = MeshId
  1762. end
  1763. return Msh
  1764. end
  1765.  
  1766.  
  1767.  
  1768. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1769. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1770. prt.Anchored = true
  1771. prt.CFrame = cframe
  1772. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1773. game:GetService("Debris"):AddItem(prt, 10)
  1774. if Type == 1 or Type == nil then
  1775. table.insert(Effects, {
  1776. prt,
  1777. "Block1",
  1778. delay,
  1779. x3,
  1780. y3,
  1781. z3,
  1782. msh
  1783. })
  1784. elseif Type == 2 then
  1785. table.insert(Effects, {
  1786. prt,
  1787. "Block2",
  1788. delay,
  1789. x3,
  1790. y3,
  1791. z3,
  1792. msh
  1793. })
  1794. end
  1795. end
  1796.  
  1797. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1798. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1799. prt.Anchored = true
  1800. prt.CFrame = cframe
  1801. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1802. game:GetService("Debris"):AddItem(prt, 10)
  1803. table.insert(Effects, {
  1804. prt,
  1805. "Cylinder",
  1806. delay,
  1807. x3,
  1808. y3,
  1809. z3,
  1810. msh
  1811. })
  1812. end
  1813.  
  1814. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1815. 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))
  1816. prt.Anchored=true
  1817. prt.CFrame=cframe
  1818. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1819. game:GetService("Debris"):AddItem(prt,2)
  1820. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1821. for i=0,1,delay do
  1822. swait()
  1823. Part.Transparency=i
  1824. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1825. end
  1826. Part.Parent=nil
  1827. end),prt,msh,(math.random(0,1)+math.random())/5)
  1828. end
  1829.  
  1830. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1831. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1832. prt.Anchored = true
  1833. prt.CFrame = cframe
  1834. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1835. game:GetService("Debris"):AddItem(prt, 10)
  1836. table.insert(Effects, {
  1837. prt,
  1838. "Cylinder",
  1839. delay,
  1840. x3,
  1841. y3,
  1842. z3,
  1843. msh
  1844. })
  1845. end
  1846.  
  1847. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1848. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1849. prt.Anchored = true
  1850. prt.CFrame = cframe
  1851. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1852. game:GetService("Debris"):AddItem(prt, 10)
  1853. table.insert(Effects, {
  1854. prt,
  1855. "Cylinder",
  1856. delay,
  1857. x3,
  1858. y3,
  1859. z3,
  1860. msh
  1861. })
  1862. end
  1863.  
  1864. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1865. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1866. prt.Anchored = true
  1867. prt.CFrame = cframe
  1868. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1869. game:GetService("Debris"):AddItem(prt, 10)
  1870. table.insert(Effects, {
  1871. prt,
  1872. "Cylinder",
  1873. delay,
  1874. x3,
  1875. y3,
  1876. z3,
  1877. msh
  1878. })
  1879. end
  1880.  
  1881.  
  1882. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1883. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1884. prt.Anchored = true
  1885. prt.CFrame = cframe
  1886. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1887. game:GetService("Debris"):AddItem(prt, 10)
  1888. table.insert(Effects, {
  1889. prt,
  1890. "Cylinder",
  1891. delay,
  1892. x3,
  1893. y3,
  1894. z3,
  1895. msh
  1896. })
  1897. end
  1898.  
  1899. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1900. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1901. prt.Anchored = true
  1902. prt.CFrame = cframe
  1903. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1904. game:GetService("Debris"):AddItem(prt, 10)
  1905. table.insert(Effects, {
  1906. prt,
  1907. "Cylinder",
  1908. delay,
  1909. x3,
  1910. y3,
  1911. z3,
  1912. msh
  1913. })
  1914. end
  1915.  
  1916. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1917. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1918. prt.Anchored = true
  1919. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1920. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1921. local num = math.random(10, 50) / 1000
  1922. game:GetService("Debris"):AddItem(prt, 10)
  1923. table.insert(Effects, {
  1924. prt,
  1925. "Shatter",
  1926. num,
  1927. prt.CFrame,
  1928. math.random() - math.random(),
  1929. 0,
  1930. math.random(50, 100) / 100
  1931. })
  1932. end
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938. so = function(id,par,vol,pit)
  1939. coroutine.resume(coroutine.create(function()
  1940. local sou = Instance.new("Sound",par or workspace)
  1941. sou.Volume=vol
  1942. sou.Pitch=pit or 1
  1943. sou.SoundId=id
  1944. sou:play()
  1945. game:GetService("Debris"):AddItem(sou,8)
  1946. end))
  1947. end
  1948.  
  1949.  
  1950. --end of killer's effects
  1951.  
  1952.  
  1953. function FaceMouse()
  1954. local Cam = workspace.CurrentCamera
  1955. return {
  1956. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1957. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1958. }
  1959. end
  1960. -------------------------------------------------------
  1961. --End Effect Function--
  1962. -------------------------------------------------------
  1963. function Cso(ID, PARENT, VOLUME, PITCH)
  1964. local NSound = nil
  1965. coroutine.resume(coroutine.create(function()
  1966. NSound = IT("Sound", PARENT)
  1967. NSound.Volume = VOLUME
  1968. NSound.Pitch = PITCH
  1969. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1970. swait()
  1971. NSound:play()
  1972. game:GetService("Debris"):AddItem(NSound, 10)
  1973. end))
  1974. return NSound
  1975. end
  1976. function CameraEnshaking(Length, Intensity)
  1977. coroutine.resume(coroutine.create(function()
  1978. local intensity = 1 * Intensity
  1979. local rotM = 0.01 * Intensity
  1980. for i = 0, Length, 0.1 do
  1981. swait()
  1982. intensity = intensity - 0.05 * Intensity / Length
  1983. rotM = rotM - 5.0E-4 * Intensity / Length
  1984. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1985. 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)
  1986. end
  1987. hum.CameraOffset = Vector3.new(0, 0, 0)
  1988. end))
  1989. end
  1990. -------------------------------------------------------
  1991. --End Important Functions--
  1992. -------------------------------------------------------
  1993.  
  1994.  
  1995. -------------------------------------------------------
  1996. --Start Customization--
  1997. -------------------------------------------------------
  1998. local Player_Size = 1
  1999. if Player_Size ~= 1 then
  2000. root.Size = root.Size * Player_Size
  2001. tors.Size = tors.Size * Player_Size
  2002. hed.Size = hed.Size * Player_Size
  2003. ra.Size = ra.Size * Player_Size
  2004. la.Size = la.Size * Player_Size
  2005. rl.Size = rl.Size * Player_Size
  2006. ll.Size = ll.Size * Player_Size
  2007. ----------------------------------------------------------------------------------
  2008. rootj.Parent = root
  2009. neck.Parent = tors
  2010. RW.Parent = tors
  2011. LW.Parent = tors
  2012. RH.Parent = tors
  2013. LH.Parent = tors
  2014. ----------------------------------------------------------------------------------
  2015. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2016. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2017. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2018. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2019. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2020. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2021. ----------------------------------------------------------------------------------
  2022. 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))
  2023. 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))
  2024. 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))
  2025. 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))
  2026. --hat.Parent = Character
  2027. end
  2028. ----------------------------------------------------------------------------------
  2029. local SONG = 900817147 --900817147
  2030. local SONG2 = 0
  2031. local Music = Instance.new("Sound",tors)
  2032. Music.Volume = 0.7
  2033. Music.Looped = true
  2034. Music.Pitch = 1 --Pitcher
  2035. ----------------------------------------------------------------------------------
  2036. local equipped = false
  2037. local idle = 0
  2038. local change = 1
  2039. local val = 0
  2040. local toim = 0
  2041. local idleanim = 0.4
  2042. local sine = 0
  2043. local Sit = 1
  2044. local attacktype = 1
  2045. local attackdebounce = false
  2046. local euler = CFrame.fromEulerAnglesXYZ
  2047. local cankick = false
  2048. ----------------------------------------------------------------------------------
  2049. hum.WalkSpeed = 8
  2050. hum.JumpPower = 57
  2051. --[[
  2052. local ROBLOXIDLEANIMATION = IT("Animation")
  2053. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2054. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2055. ]]
  2056. local ANIMATOR = hum.Animator
  2057. local ANIMATE = char.Animate
  2058. ANIMATE.Parent = nil
  2059. ANIMATOR.Parent = nil
  2060. -------------------------------------------------------
  2061. --End Customization--
  2062. -------------------------------------------------------
  2063.  
  2064.  
  2065. -------------------------------------------------------
  2066. --Start Attacks N Stuff--
  2067. -------------------------------------------------------
  2068.  
  2069. --pls be proud mak i did my best
  2070.  
  2071.  
  2072.  
  2073. function attackone()
  2074.  
  2075. attack = true
  2076.  
  2077. for i = 0, 1.35, 0.1 do
  2078. swait()
  2079. 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)
  2080. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
  2081. 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)
  2082. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
  2083. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  2084. 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)
  2085. end
  2086.  
  2087. so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
  2088.  
  2089.  
  2090. con5=ra.Touched:connect(function(hit)
  2091. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2092. if attackdebounce == false then
  2093. attackdebounce = true
  2094.  
  2095. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  2096.  
  2097. so("http://roblox.com/asset/?id=636494529",ra,2,1)
  2098.  
  2099. 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)
  2100. 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)
  2101. 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)
  2102.  
  2103.  
  2104. coroutine.resume(coroutine.create(function()
  2105. for i = 0,1,0.1 do
  2106. swait()
  2107. 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)
  2108. end
  2109. end))
  2110.  
  2111.  
  2112. wait(0.34)
  2113. attackdebounce = false
  2114.  
  2115. end
  2116. end
  2117. end)
  2118. for i = 0, 1.12, 0.1 do
  2119. swait()
  2120. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  2121. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  2122. 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)
  2123. 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)
  2124. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  2125. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  2126. end
  2127.  
  2128. con5:Disconnect()
  2129. attack = false
  2130.  
  2131. end
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144. function attacktwo()
  2145.  
  2146. attack = true
  2147.  
  2148. for i = 0, 1.35, 0.1 do
  2149. swait()
  2150. 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)
  2151. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2152. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  2153. 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)
  2154. 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)
  2155. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  2156. end
  2157.  
  2158. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  2159.  
  2160.  
  2161. con5=la.Touched:connect(function(hit)
  2162. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2163. if attackdebounce == false then
  2164. attackdebounce = true
  2165.  
  2166. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  2167.  
  2168. so("http://roblox.com/asset/?id=636494529",la,2,1)
  2169.  
  2170. 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)
  2171. 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)
  2172. 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)
  2173.  
  2174.  
  2175. coroutine.resume(coroutine.create(function()
  2176. for i = 0,1,0.1 do
  2177. swait()
  2178. 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)
  2179. end
  2180. end))
  2181.  
  2182.  
  2183. wait(0.34)
  2184. attackdebounce = false
  2185.  
  2186. end
  2187. end
  2188. end)
  2189.  
  2190.  
  2191.  
  2192.  
  2193. for i = 0, 1.12, 0.1 do
  2194. swait()
  2195. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  2196. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  2197. 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)
  2198. 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)
  2199. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  2200. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  2201. end
  2202.  
  2203. con5:Disconnect()
  2204. attack = false
  2205.  
  2206. end
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212. function attackthree()
  2213.  
  2214. attack = true
  2215.  
  2216.  
  2217. for i = 0, 1.14, 0.1 do
  2218. swait()
  2219. 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)
  2220. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2221. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  2222. 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)
  2223. 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)
  2224. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  2225. end
  2226.  
  2227. con5=hum.Touched:connect(function(hit)
  2228. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2229. if attackdebounce == false then
  2230. attackdebounce = true
  2231.  
  2232. kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
  2233. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  2234.  
  2235. 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)
  2236. 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)
  2237. 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)
  2238.  
  2239.  
  2240. coroutine.resume(coroutine.create(function()
  2241. for i = 0,1,0.1 do
  2242. swait()
  2243. 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)
  2244. end
  2245. end))
  2246.  
  2247.  
  2248. wait(0.34)
  2249. attackdebounce = false
  2250.  
  2251. end
  2252. end
  2253. end)
  2254.  
  2255. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2256. for i = 0, 9.14, 0.3 do
  2257. swait()
  2258. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2259. 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)
  2260. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2261. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2262. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2263. 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)
  2264. 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)
  2265. end
  2266. attack = false
  2267. con5:disconnect()
  2268. end
  2269.  
  2270.  
  2271.  
  2272. function attackfour()
  2273.  
  2274. attack = true
  2275. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2276. 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)
  2277. for i = 0, 5.14, 0.1 do
  2278. swait()
  2279. 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)
  2280. 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)
  2281. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  2282. 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)
  2283. 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)
  2284. 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)
  2285. 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)
  2286. end
  2287. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2288. local velo=Instance.new("BodyVelocity")
  2289. velo.velocity=vt(0,25,0)
  2290. velo.P=8000
  2291. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2292. velo.Parent=root
  2293. game:GetService("Debris"):AddItem(velo,0.7)
  2294.  
  2295.  
  2296.  
  2297. con5=hum.Touched:connect(function(hit)
  2298. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2299. if attackdebounce == false then
  2300. attackdebounce = true
  2301. coroutine.resume(coroutine.create(function()
  2302. for i = 0,1.5,0.1 do
  2303. swait()
  2304. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2305. end
  2306. end))
  2307. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2308. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2309. 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)
  2310. 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)
  2311. 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)
  2312.  
  2313.  
  2314.  
  2315. coroutine.resume(coroutine.create(function()
  2316. for i = 0,1,0.1 do
  2317. swait()
  2318. 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)
  2319. end
  2320. end))
  2321.  
  2322.  
  2323. wait(0.14)
  2324. attackdebounce = false
  2325. end
  2326. end
  2327. end)
  2328.  
  2329. for i = 0, 5.11, 0.15 do
  2330. swait()
  2331. BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2332. 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)
  2333. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2334. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2335. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2336. 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)
  2337. 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)
  2338. end
  2339.  
  2340.  
  2341. attack = false
  2342. con5:disconnect()
  2343. end
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349. local cooldown = false
  2350. function quickkick()
  2351. attack = true
  2352.  
  2353.  
  2354. con5=hum.Touched:connect(function(hit)
  2355. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2356. if attackdebounce == false then
  2357. attackdebounce = true
  2358.  
  2359. coroutine.resume(coroutine.create(function()
  2360. for i = 0,1.5,0.1 do
  2361. swait()
  2362. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2363. end
  2364. end))
  2365.  
  2366. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2367. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2368. 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)
  2369. 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)
  2370. 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)
  2371.  
  2372.  
  2373.  
  2374. coroutine.resume(coroutine.create(function()
  2375. for i = 0,1,0.1 do
  2376. swait()
  2377. 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)
  2378. end
  2379. end))
  2380.  
  2381.  
  2382. wait(0.08)
  2383. attackdebounce = false
  2384. end
  2385. end
  2386. end)
  2387.  
  2388. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2389. for i = 0, 11.14, 0.3 do
  2390. swait()
  2391. root.Velocity = root.CFrame.lookVector * 30
  2392. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2393. 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)
  2394. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2396. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2397. 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)
  2398. 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)
  2399. end
  2400. attack = false
  2401. con5:disconnect()
  2402. end
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411. function Taunt()
  2412. attack = true
  2413. hum.WalkSpeed = 0
  2414. Cso("1535995570", hed, 8.45, 1)
  2415. for i = 0, 8.2, 0.1 do
  2416. swait()
  2417. hum.WalkSpeed = 0
  2418. 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)
  2419. 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)
  2420. 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)
  2421. 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)
  2422. 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)
  2423. 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)
  2424. end
  2425. attack = false
  2426. hum.WalkSpeed = 8
  2427. end
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435. function Hyperkickcombo()
  2436.  
  2437. attack = true
  2438. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2439. 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)
  2440. for i = 0, 7.14, 0.1 do
  2441. swait()
  2442. 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)
  2443. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2444. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2445. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2446. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
  2447. 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)
  2448. 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)
  2449. end
  2450. local Cracking = Cso("292536356", tors, 10, 1)
  2451. for i = 0, 7.14, 0.1 do
  2452. swait()
  2453. 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)
  2454. 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")
  2455. 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)
  2456. 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)
  2457. 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)
  2458. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2459. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  2460. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
  2461. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
  2462. 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)
  2463. 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)
  2464. end
  2465. Cracking.Playing = false
  2466. so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
  2467. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2468. 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)
  2469. local velo=Instance.new("BodyVelocity")
  2470. velo.velocity=vt(0,27,0)
  2471. velo.P=11000
  2472. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2473. velo.Parent=root
  2474. game:GetService("Debris"):AddItem(velo,1.24)
  2475.  
  2476.  
  2477.  
  2478. con5=hum.Touched:connect(function(hit)
  2479. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2480. if attackdebounce == false then
  2481. attackdebounce = true
  2482. coroutine.resume(coroutine.create(function()
  2483. for i = 0,1.5,0.1 do
  2484. swait()
  2485. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
  2486. end
  2487. end))
  2488. kDamagefunc(hit,2,3,math.random(0,0),"Normal",root,0,1)
  2489. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2490. 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)
  2491. 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)
  2492. 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)
  2493.  
  2494.  
  2495.  
  2496. coroutine.resume(coroutine.create(function()
  2497. for i = 0,1,0.1 do
  2498. swait()
  2499. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.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)
  2500. end
  2501. end))
  2502.  
  2503.  
  2504. wait(0.09)
  2505. attackdebounce = false
  2506. end
  2507. end
  2508. end)
  2509.  
  2510. for i = 0, 9.11, 0.2 do
  2511. swait()
  2512. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2513. 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)
  2514. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2515. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2516. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2517. 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)
  2518. 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)
  2519. end
  2520.  
  2521.  
  2522.  
  2523.  
  2524. con5:disconnect()
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531. con5=hum.Touched:connect(function(hit)
  2532. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2533. if attackdebounce == false then
  2534. attackdebounce = true
  2535. coroutine.resume(coroutine.create(function()
  2536. for i = 0,1.5,0.1 do
  2537. swait()
  2538. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2539. end
  2540. end))
  2541. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2542.  
  2543. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2544. 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)
  2545. 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)
  2546. 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)
  2547.  
  2548.  
  2549.  
  2550. coroutine.resume(coroutine.create(function()
  2551. for i = 0,1,0.1 do
  2552. swait()
  2553. 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)
  2554. end
  2555. end))
  2556.  
  2557.  
  2558. wait(0.08)
  2559. attackdebounce = false
  2560. end
  2561. end
  2562. end)
  2563.  
  2564.  
  2565.  
  2566. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2567. for i = 0, 9.14, 0.3 do
  2568. swait()
  2569. root.Velocity = root.CFrame.lookVector * 20
  2570. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2571. 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)
  2572. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2573. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2574. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2575. 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)
  2576. 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)
  2577. end
  2578.  
  2579.  
  2580.  
  2581. con5:disconnect()
  2582.  
  2583.  
  2584.  
  2585. con5=hum.Touched:connect(function(hit)
  2586. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2587. if attackdebounce == false then
  2588. attackdebounce = true
  2589. coroutine.resume(coroutine.create(function()
  2590. for i = 0,1.5,0.1 do
  2591. swait()
  2592. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2593. end
  2594. end))
  2595. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2596. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2597. 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)
  2598. 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)
  2599. 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)
  2600.  
  2601.  
  2602.  
  2603. coroutine.resume(coroutine.create(function()
  2604. for i = 0,1,0.1 do
  2605. swait()
  2606. 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)
  2607. end
  2608. end))
  2609.  
  2610.  
  2611. wait(0.05)
  2612. attackdebounce = false
  2613. end
  2614. end
  2615. end)
  2616.  
  2617.  
  2618. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2619. for i = 0, 15.14, 0.32 do
  2620. swait()
  2621. root.Velocity = root.CFrame.lookVector * 20
  2622. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2623. 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)
  2624. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2625. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2626. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2627. 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)
  2628. 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)
  2629. end
  2630.  
  2631. attack = false
  2632. con5:disconnect()
  2633.  
  2634. end
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640. local ultra = false
  2641.  
  2642. function Galekicks()
  2643.  
  2644. attack = true
  2645. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2646. for i = 0, 1.65, 0.1 do
  2647. swait()
  2648. root.Velocity = root.CFrame.lookVector * 0
  2649. 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)
  2650. 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)
  2651. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2652. 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)
  2653. 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)
  2654. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2655. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2656. end
  2657.  
  2658.  
  2659. for i = 1, 17 do
  2660.  
  2661. con5=hum.Touched:connect(function(hit)
  2662. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2663. if attackdebounce == false then
  2664. attackdebounce = true
  2665. coroutine.resume(coroutine.create(function()
  2666. for i = 0,1.5,0.1 do
  2667. swait()
  2668. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2669. end
  2670. end))
  2671. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2672. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2673. 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)
  2674. 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)
  2675. 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)
  2676.  
  2677.  
  2678.  
  2679. coroutine.resume(coroutine.create(function()
  2680. for i = 0,1,0.1 do
  2681. swait()
  2682. 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)
  2683. end
  2684. end))
  2685.  
  2686.  
  2687. wait(0.05)
  2688. attackdebounce = false
  2689. end
  2690. end
  2691. end)
  2692.  
  2693. for i = 0, .1, 0.2 do
  2694. swait()
  2695. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2696. root.Velocity = root.CFrame.lookVector * 10
  2697. 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)
  2698. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2699. 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)
  2700. 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)
  2701. 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)
  2702. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2703. end
  2704.  
  2705. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2706.  
  2707. for i = 0, 0.4, 0.2 do
  2708. swait()
  2709. 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)
  2710. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2711. 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)
  2712. 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)
  2713. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2714. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2715. end
  2716. con5:disconnect()
  2717. end
  2718.  
  2719.  
  2720. u = mouse.KeyDown:connect(function(key)
  2721. if key == 'r' and combohits >= 150 then
  2722. ultra = true
  2723. 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)
  2724. end
  2725. end)
  2726. wait(0.3)
  2727. if ultra == true then
  2728. combohits = 0
  2729. wait(0.1)
  2730. for i = 0, 1.65, 0.1 do
  2731. swait()
  2732. root.Velocity = root.CFrame.lookVector * 0
  2733. 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)
  2734. 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)
  2735. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2736. 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)
  2737. 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)
  2738. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2739. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2740. end
  2741.  
  2742.  
  2743. so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
  2744.  
  2745. for i = 1, 65 do
  2746. --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")
  2747. con5=hum.Touched:connect(function(hit)
  2748. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2749. if attackdebounce == false then
  2750. attackdebounce = true
  2751. coroutine.resume(coroutine.create(function()
  2752. for i = 0,1.5,0.1 do
  2753. swait()
  2754. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2755. end
  2756. end))
  2757. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2758.  
  2759.  
  2760.  
  2761.  
  2762. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2763. 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)
  2764. 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)
  2765. 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)
  2766.  
  2767.  
  2768.  
  2769. coroutine.resume(coroutine.create(function()
  2770. for i = 0,1,0.1 do
  2771. swait()
  2772. 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)
  2773. end
  2774. end))
  2775.  
  2776.  
  2777. wait(0.05)
  2778. attackdebounce = false
  2779. end
  2780. end
  2781. end)
  2782.  
  2783. for i = 0, .03, 0.1 do
  2784. swait()
  2785. BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2786. root.Velocity = root.CFrame.lookVector * 10
  2787. 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)
  2788. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2789. 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)
  2790. 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)
  2791. 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)
  2792. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2793. end
  2794.  
  2795. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2796.  
  2797. for i = 0, 0.07, 0.1 do
  2798. swait()
  2799. 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)
  2800. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2801. 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)
  2802. 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)
  2803. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2804. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2805. end
  2806. con5:disconnect()
  2807. end
  2808.  
  2809. for i = 0, 1.65, 0.1 do
  2810. swait()
  2811. root.Velocity = root.CFrame.lookVector * 0
  2812. 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)
  2813. 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)
  2814. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2815. 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)
  2816. 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)
  2817. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2818. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2819. end
  2820.  
  2821. con5=hum.Touched:connect(function(hit)
  2822. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2823. if attackdebounce == false then
  2824. attackdebounce = true
  2825. coroutine.resume(coroutine.create(function()
  2826. for i = 0,1.5,0.1 do
  2827. swait()
  2828. --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2829. end
  2830. end))
  2831. kDamagefunc(hit, 1, 3, 0,"Normal",root,0,1)
  2832. so("http://roblox.com/asset/?id=636494529",rl,2,.63)
  2833. 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)
  2834. 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)
  2835. 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)
  2836.  
  2837.  
  2838. coroutine.resume(coroutine.create(function()
  2839. for i = 0,1,0.1 do
  2840. swait()
  2841. 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)
  2842. end
  2843. end))
  2844.  
  2845.  
  2846. wait(0.05)
  2847. attackdebounce = false
  2848. end
  2849. end
  2850. end)
  2851.  
  2852. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
  2853. 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)
  2854.  
  2855. for i = 0, 2, 0.1 do
  2856. swait()
  2857. --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2858. 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)
  2859. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2860. 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)
  2861. 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)
  2862. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
  2863. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2864. end
  2865. 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)
  2866.  
  2867. wait(0.25)
  2868. con5:Disconnect()
  2869.  
  2870.  
  2871.  
  2872.  
  2873. con5=hum.Touched:connect(function(hit)
  2874. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2875. if attackdebounce == false then
  2876. attackdebounce = true
  2877.  
  2878. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2879. so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
  2880.  
  2881. 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)
  2882. 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)
  2883. 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)
  2884. 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)
  2885. 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)
  2886. 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)
  2887.  
  2888. coroutine.resume(coroutine.create(function()
  2889. for i = 0,1,0.1 do
  2890. swait()
  2891. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.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)
  2892. end
  2893. end))
  2894.  
  2895. wait(0.06)
  2896. attackdebounce = false
  2897.  
  2898. end
  2899. end
  2900. end)
  2901.  
  2902. coroutine.resume(coroutine.create(function()
  2903. while ultra == true do
  2904. swait()
  2905. root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
  2906. end
  2907. end))
  2908.  
  2909.  
  2910. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2911. for i = 1,3 do
  2912. for i = 0, 9.14, 0.45 do
  2913. swait()
  2914. root.Velocity = root.CFrame.lookVector * 30
  2915. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2916. 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)
  2917. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2918. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2919. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2920. 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)
  2921. 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)
  2922. end
  2923. end
  2924.  
  2925.  
  2926. for i = 1,3 do
  2927. for i = 0, 11.14, 0.45 do
  2928. swait()
  2929. root.Velocity = root.CFrame.lookVector * 30
  2930. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2931. 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)
  2932. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2933. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2934. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2935. 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)
  2936. 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)
  2937. end
  2938.  
  2939.  
  2940.  
  2941. end
  2942. so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
  2943. con5:disconnect()
  2944.  
  2945.  
  2946. end -- combo hit end
  2947. attack = false
  2948. ultra = false
  2949. u:disconnect()
  2950.  
  2951. end
  2952.  
  2953.  
  2954.  
  2955.  
  2956. -------------------------------------------------------
  2957. --End Attacks N Stuff--
  2958. -------------------------------------------------------
  2959. mouse.KeyDown:connect(function(key)
  2960. if string.byte(key) == 48 then
  2961. Swing = 2
  2962. hum.WalkSpeed = 24.82
  2963. end
  2964. end)
  2965. mouse.KeyUp:connect(function(key)
  2966. if string.byte(key) == 48 then
  2967. Swing = 1
  2968. hum.WalkSpeed = 8
  2969. end
  2970. end)
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978. mouse.Button1Down:connect(function()
  2979. if attack==false then
  2980. if attacktype==1 then
  2981. attack=true
  2982. attacktype=2
  2983. attackone()
  2984. elseif attacktype==2 then
  2985. attack=true
  2986. attacktype=3
  2987. attacktwo()
  2988. elseif attacktype==3 then
  2989. attack=true
  2990. attacktype=4
  2991. attackthree()
  2992. elseif attacktype==4 then
  2993. attack=true
  2994. attacktype=1
  2995. attackfour()
  2996. end
  2997. end
  2998. end)
  2999.  
  3000.  
  3001.  
  3002.  
  3003. mouse.KeyDown:connect(function(key)
  3004. if key == 'e' and attack == false and cankick == true and cooldown == false then
  3005. quickkick()
  3006. cooldown = true
  3007.  
  3008. coroutine.resume(coroutine.create(function()
  3009. wait(2)
  3010. cooldown = false
  3011. end))
  3012.  
  3013.  
  3014.  
  3015. end
  3016. end)
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025. mouse.KeyDown:connect(function(key)
  3026. if attack == false then
  3027. if key == 't' then
  3028. Taunt()
  3029. elseif key == 'f' then
  3030. Hyperkickcombo()
  3031. elseif key == 'r' then
  3032. Galekicks()
  3033. end
  3034. end
  3035. end)
  3036.  
  3037. -------------------------------------------------------
  3038. --Start Animations--
  3039. -------------------------------------------------------
  3040. print("By Makhail07 and KillerDarkness0105")
  3041. print("Basic Animations by Makhail07")
  3042. print("Attack Animations by KillerDarkness0105")
  3043. print("This is pretty much our final script together")
  3044. print("--------------------------------")
  3045. print("Attacks")
  3046. print("E in air: Quick Kicks")
  3047. print("Left Mouse: 4 click combo")
  3048. print("F: Hyper Kicks")
  3049. print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
  3050. print("--------------------------------")
  3051. while true do
  3052. swait()
  3053. sine = sine + change
  3054. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3055. local velderp = root.Velocity.y
  3056. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  3057.  
  3058. if hitfloor == nil then
  3059. cankick = true
  3060. else
  3061. cankick = false
  3062. end
  3063.  
  3064.  
  3065. if equipped == true or equipped == false then
  3066. if attack == false then
  3067. idle = idle + 1
  3068. else
  3069. idle = 0
  3070. end
  3071. if 1 < root.Velocity.y and hitfloor == nil then
  3072. Anim = "Jump"
  3073. if attack == false then
  3074. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3075. 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)
  3076. 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)
  3077. 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)
  3078. 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)
  3079. 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)
  3080. 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)
  3081. end
  3082. elseif -1 > root.Velocity.y and hitfloor == nil then
  3083. Anim = "Fall"
  3084. if attack == false then
  3085. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3086. 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)
  3087. 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)
  3088. 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)
  3089. 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)
  3090. 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)
  3091. 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)
  3092. end
  3093. elseif torvel < 1 and hitfloor ~= nil then
  3094. Anim = "Idle"
  3095. change = 1
  3096. if attack == false then
  3097. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3098. 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)
  3099. 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)
  3100. 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)
  3101. 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)
  3102. 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)
  3103. 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)
  3104. end
  3105. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  3106. Anim = "Walk"
  3107. change = 1
  3108. if attack == false then
  3109. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3110. 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)
  3111. 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)
  3112. 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)
  3113. 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)
  3114. 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)
  3115. 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)
  3116. end
  3117. elseif torvel >= 22 and hitfloor ~= nil then
  3118. Anim = "Sprint"
  3119. change = 1.35
  3120. if attack == false then
  3121. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  3122. 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)
  3123. 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)
  3124. 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)
  3125. 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)
  3126. 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)
  3127. 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)
  3128. end
  3129. end
  3130. end
  3131. Music.SoundId = "rbxassetid://"..SONG
  3132. Music.Looped = true
  3133. Music.Pitch = 1
  3134. Music.Volume = 0.7
  3135. Music.Parent = tors
  3136. Music:Resume()
  3137. if 0 < #Effects then
  3138. for e = 1, #Effects do
  3139. if Effects[e] ~= nil then
  3140. local Thing = Effects[e]
  3141. if Thing ~= nil then
  3142. local Part = Thing[1]
  3143. local Mode = Thing[2]
  3144. local Delay = Thing[3]
  3145. local IncX = Thing[4]
  3146. local IncY = Thing[5]
  3147. local IncZ = Thing[6]
  3148. if 1 >= Thing[1].Transparency then
  3149. if Thing[2] == "Block1" then
  3150. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3151. local Mesh = Thing[1].Mesh
  3152. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3153. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3154. elseif Thing[2] == "Block2" then
  3155. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3156. local Mesh = Thing[7]
  3157. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3158. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3159. elseif Thing[2] == "Block3" then
  3160. 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)
  3161. local Mesh = Thing[7]
  3162. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3163. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3164. elseif Thing[2] == "Cylinder" then
  3165. local Mesh = Thing[1].Mesh
  3166. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3167. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3168. elseif Thing[2] == "Blood" then
  3169. local Mesh = Thing[7]
  3170. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3171. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3172. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3173. elseif Thing[2] == "Elec" then
  3174. local Mesh = Thing[1].Mesh
  3175. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3176. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3177. elseif Thing[2] == "Disappear" then
  3178. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3179. elseif Thing[2] == "Shatter" then
  3180. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3181. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3182. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3183. Thing[6] = Thing[6] + Thing[5]
  3184. end
  3185. else
  3186. Part.Parent = nil
  3187. table.remove(Effects, e)
  3188. end
  3189. end
  3190. end
  3191. end
  3192. end
  3193. end
  3194. -------------------------------------------------------
  3195. --End Animations And Script--
  3196. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement