Nudrius

Ravager Of Death Edit

Mar 3rd, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.59 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. --//=========================\\--
  153. --|| CREATED BY SHACKLUSTER ||--
  154. --\\=========================//--
  155.  
  156. wait(0.2)
  157.  
  158. Player = owner
  159. PlayerGui = Player.PlayerGui
  160. Cam = workspace.CurrentCamera
  161. Backpack = Player.Backpack
  162. Character = Player.Character
  163. Humanoid = Character.Humanoid
  164. Mouse = Player:GetMouse()
  165. RootPart = Character["HumanoidRootPart"]
  166. Torso = Character["Torso"]
  167. Head = Character["Head"]
  168. RightArm = Character["Right Arm"]
  169. LeftArm = Character["Left Arm"]
  170. RightLeg = Character["Right Leg"]
  171. LeftLeg = Character["Left Leg"]
  172. RootJoint = RootPart["RootJoint"]
  173. Neck = Torso["Neck"]
  174. RightShoulder = Torso["Right Shoulder"]
  175. LeftShoulder = Torso["Left Shoulder"]
  176. RightHip = Torso["Right Hip"]
  177. LeftHip = Torso["Left Hip"]
  178. local sick = Instance.new("Sound",Character)
  179. sick.SoundId = "rbxassetid://206010478"
  180. sick.Looped = true
  181. sick.Pitch = 1
  182. sick.Volume = 10
  183. sick:Play()
  184. local sick2 = Instance.new("Sound",Character)
  185. sick2.SoundId = "rbxassetid://1143358136"
  186. sick2.Looped = true
  187. sick2.Pitch = 1
  188. sick2.Volume = 10
  189. Humanoid.DisplayDistanceType = "None"
  190. Player:ClearCharacterAppearance()
  191.  
  192. IT = Instance.new
  193. CF = CFrame.new
  194. VT = Vector3.new
  195. RAD = math.rad
  196. C3 = Color3.new
  197. UD2 = UDim2.new
  198. BRICKC = BrickColor.new
  199. ANGLES = CFrame.Angles
  200. EULER = CFrame.fromEulerAnglesXYZ
  201. COS = math.cos
  202. ACOS = math.acos
  203. SIN = math.sin
  204. ASIN = math.asin
  205. ABS = math.abs
  206. MRANDOM = math.random
  207. FLOOR = math.floor
  208.  
  209. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  210. local NEWMESH = IT(MESH)
  211. if MESH == "SpecialMesh" then
  212. NEWMESH.MeshType = MESHTYPE
  213. if MESHID ~= "nil" and MESHID ~= "" then
  214. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  215. end
  216. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  217. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  218. end
  219. end
  220. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  221. NEWMESH.Scale = SCALE
  222. NEWMESH.Parent = PARENT
  223. return NEWMESH
  224. end
  225.  
  226. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  227. local NEWPART = IT("Part")
  228. NEWPART.formFactor = FORMFACTOR
  229. NEWPART.Reflectance = REFLECTANCE
  230. NEWPART.Transparency = TRANSPARENCY
  231. NEWPART.CanCollide = false
  232. NEWPART.Locked = true
  233. NEWPART.Anchored = true
  234. if ANCHOR == false then
  235. NEWPART.Anchored = false
  236. end
  237. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  238. NEWPART.Name = NAME
  239. NEWPART.Size = SIZE
  240. NEWPART.Position = Torso.Position
  241. NEWPART.Material = MATERIAL
  242. NEWPART:BreakJoints()
  243. NEWPART.Parent = PARENT
  244. return NEWPART
  245. end
  246.  
  247.  
  248.  
  249. local HBill = Instance.new("BillboardGui",Head)
  250. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  251. local HName = Instance.new("TextLabel")
  252. HBill.Size = UDim2.new(15,0,2.2,0)
  253. HBill.Name = "Health Display"
  254. HBill.StudsOffset = Vector3.new(3.675,2,0)
  255. HBill.AlwaysOnTop = true
  256. HBill.Enabled = true
  257. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  258. HMain.BackgroundTransparency = 1
  259. HMain.Size = UDim2.new(.5,0,.5,0)
  260. HName.Parent = HMain
  261. HName.BackgroundTransparency = 1
  262. HName.BackgroundColor3 = Color3.new(0,0,0)
  263. HName.BorderColor3 = Color3.new(0,0,0)
  264. HName.BorderSizePixel = 2
  265. HName.Size = UDim2.new(1,0,.75,0)
  266. HName.Font = "SciFi"
  267. HName.Text = "Ruriko Sekozawa"
  268. HName.TextScaled = true
  269. HName.TextColor3 = Color3.new(1,0,0)
  270. HName.TextStrokeColor3 = Color3.new(0,0,0)
  271. HName.TextStrokeTransparency = 0
  272. HName.TextYAlignment = "Bottom"
  273.  
  274.  
  275. --//=================================\\
  276. --|| CUSTOMIZATION
  277. --\\=================================//
  278.  
  279. Class_Name = "SatanBot.exe"
  280. Weapon_Name = "Add-ons"
  281.  
  282. Custom_Colors = {
  283. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  284. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  285.  
  286. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  287. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  288. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  289. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  290. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  291.  
  292. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  293. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  294. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  295. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  296. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  297. }
  298.  
  299.  
  300. Player_Size = 1.1 --Size of the player.
  301. Animation_Speed = 3
  302. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  303.  
  304. local Speed = 35
  305. local Effects2 = {}
  306.  
  307. --//=================================\\
  308. --|| END OF CUSTOMIZATION
  309. --\\=================================//
  310.  
  311. local function weldBetween(a, b)
  312. local weldd = Instance.new("ManualWeld")
  313. weldd.Part0 = a
  314. weldd.Part1 = b
  315. weldd.C0 = CFrame.new()
  316. weldd.C1 = b.CFrame:inverse() * a.CFrame
  317. weldd.Parent = a
  318. return weldd
  319. end
  320.  
  321. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  322. local acs = Instance.new("Part")
  323. acs.CanCollide = false
  324. acs.Anchored = false
  325. acs.Size = Vector3.new(0,0,0)
  326. acs.CFrame = attachmentpart.CFrame
  327. acs.Parent = attachmentpart
  328. acs.BrickColor = color
  329. local meshs = Instance.new("SpecialMesh")
  330. meshs.MeshId = mesh
  331. meshs.TextureId = texture
  332. meshs.Parent = acs
  333. meshs.Scale = scale
  334. meshs.Offset = offset
  335. weldBetween(attachmentpart,acs)
  336. end
  337.  
  338. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  339. if TYPE == "Gem" then
  340. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  341. acs.Anchored = false
  342. acs.CanCollide = false
  343. acs.CFrame = PART.CFrame
  344. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  345. weldBetween(PART,acs)
  346. elseif TYPE == "Skull" then
  347. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  348. acs.Anchored = false
  349. acs.CanCollide = false
  350. acs.CFrame = PART.CFrame
  351. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  352. weldBetween(PART,acs)
  353. elseif TYPE == "Eye" then
  354. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  355. acs.Anchored = false
  356. acs.CanCollide = false
  357. acs.CFrame = PART.CFrame
  358. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  359. weldBetween(PART,acs)
  360. end
  361. end
  362.  
  363. createbodypart("Eye", "Institutional White", Head, VT(0.2, 0, -0.55), VT(2, 6, 2))
  364. createbodypart("Eye", "Institutional White", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  365. createbodypart("Eye", "Institutional white", Head, VT(0, 0, -0.6), VT(2, 8, 2))
  366.  
  367. --//=================================\\
  368. --|| USEFUL VALUES
  369. --\\=================================//
  370.  
  371. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  372. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  373. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  374. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  375. local CO1 = 0
  376. local CO2 = 0
  377. local CO3 = 0
  378. local CO4 = 0
  379. local CHANGEDEFENSE = 0
  380. local CHANGEDAMAGE = 0
  381. local CHANGEMOVEMENT = 0
  382. local ANIM = "Idle"
  383. local ATTACK = false
  384. local EQUIPPED = false
  385. local HOLD = false
  386. local COMBO = 1
  387. local LASTPOINT = nil
  388. local BLCF = nil
  389. local SCFR = nil
  390. local KEYHOLD = false
  391. local STAGGERHITANIM = false
  392. local STAGGERANIM = false
  393. local STUNANIM = false
  394. local CRITCHANCENUMBER = 0
  395. local IDLENUMBER = 0
  396. local DONUMBER = 0
  397. local HANDIDLE = false
  398. local Rooted = false
  399. local SINE = 0
  400. local CHANGE = 2 / Animation_Speed
  401. local WALKINGANIM = false
  402. local WALK = 0
  403. local DANCE = false
  404. local DISABLEJUMPING = false
  405. local ROBLOXIDLEANIMATION = IT("Animation")
  406. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  407. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  408. --ROBLOXIDLEANIMATION.Parent = Humanoid
  409. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  410. WEAPONGUI.Name = "Weapon GUI"
  411. local Weapon = IT("Model")
  412. Weapon.Name = Weapon_Name
  413. local Effects = IT("Folder", Weapon)
  414. Effects.Name = "Effects"
  415. local Bombs = IT("Folder", Weapon)
  416. Bombs.Name = "BombsHolder"
  417. local ANIMATOR = Humanoid.Animator
  418. local ANIMATE = Character.Animate
  419. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  420. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  421. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  422. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  423. local UNANCHOR = true
  424. local MAGICPARTICLE = "655109389"
  425.  
  426. local SKILLTEXTCOLOR = C3(0,0,0)
  427.  
  428. --//=================================\\
  429. --\\=================================//
  430.  
  431.  
  432. --//=================================\\
  433. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  434. --\\=================================//
  435.  
  436. ArtificialHB = Instance.new("BindableEvent", script)
  437. ArtificialHB.Name = "ArtificialHB"
  438.  
  439. script:WaitForChild("ArtificialHB")
  440.  
  441. frame = Frame_Speed
  442. tf = 0
  443. allowframeloss = false
  444. tossremainder = false
  445. lastframe = tick()
  446. script.ArtificialHB:Fire()
  447.  
  448. game:GetService("RunService").Heartbeat:connect(function(s, p)
  449. tf = tf + s
  450. if tf >= frame then
  451. if allowframeloss then
  452. script.ArtificialHB:Fire()
  453. lastframe = tick()
  454. else
  455. for i = 1, math.floor(tf / frame) do
  456. script.ArtificialHB:Fire()
  457. end
  458. lastframe = tick()
  459. end
  460. if tossremainder then
  461. tf = 0
  462. else
  463. tf = tf - frame * math.floor(tf / frame)
  464. end
  465. end
  466. end)
  467.  
  468. --//=================================\\
  469. --\\=================================//
  470.  
  471.  
  472.  
  473.  
  474.  
  475. --//=================================\\
  476. --|| SOME FUNCTIONS
  477. --\\=================================//
  478.  
  479. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  480. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  481. end
  482.  
  483. function PositiveAngle(NUMBER)
  484. if NUMBER >= 0 then
  485. NUMBER = 0
  486. end
  487. return NUMBER
  488. end
  489.  
  490. function NegativeAngle(NUMBER)
  491. if NUMBER <= 0 then
  492. NUMBER = 0
  493. end
  494. return NUMBER
  495. end
  496.  
  497. function Swait(NUMBER)
  498. if NUMBER == 0 or NUMBER == nil then
  499. ArtificialHB.Event:wait()
  500. else
  501. for i = 1, NUMBER do
  502. ArtificialHB.Event:wait()
  503. end
  504. end
  505. end
  506.  
  507. function QuaternionFromCFrame(cf)
  508. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  509. local trace = m00 + m11 + m22
  510. if trace > 0 then
  511. local s = math.sqrt(1 + trace)
  512. local recip = 0.5 / s
  513. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  514. else
  515. local i = 0
  516. if m11 > m00 then
  517. i = 1
  518. end
  519. if m22 > (i == 0 and m00 or m11) then
  520. i = 2
  521. end
  522. if i == 0 then
  523. local s = math.sqrt(m00 - m11 - m22 + 1)
  524. local recip = 0.5 / s
  525. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  526. elseif i == 1 then
  527. local s = math.sqrt(m11 - m22 - m00 + 1)
  528. local recip = 0.5 / s
  529. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  530. elseif i == 2 then
  531. local s = math.sqrt(m22 - m00 - m11 + 1)
  532. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  533. end
  534. end
  535. end
  536.  
  537. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  538. local xs, ys, zs = x + x, y + y, z + z
  539. local wx, wy, wz = w * xs, w * ys, w * zs
  540. local xx = x * xs
  541. local xy = x * ys
  542. local xz = x * zs
  543. local yy = y * ys
  544. local yz = y * zs
  545. local zz = z * zs
  546. 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))
  547. end
  548.  
  549. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  550. local fp=IT("Part")
  551. fp.formFactor=formfactor
  552. fp.Parent=parent
  553. fp.Reflectance=reflectance
  554. fp.Transparency=transparency
  555. fp.CanCollide=false
  556. fp.Locked=true
  557. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  558. fp.Name=name
  559. fp.Size=size
  560. fp.Position=Character.Torso.Position
  561. NoOutlines(fp)
  562. fp.Material=material
  563. fp:BreakJoints()
  564. return fp
  565. end
  566.  
  567. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  568. local mesh=IT(Mesh)
  569. mesh.Parent=part
  570. if Mesh=="SpecialMesh" then
  571. mesh.MeshType=meshtype
  572. mesh.MeshId=meshid
  573. end
  574. mesh.Offset=offset
  575. mesh.Scale=scale
  576. return mesh
  577. end
  578.  
  579. function QuaternionSlerp(a, b, t)
  580. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  581. local startInterp, finishInterp;
  582. if cosTheta >= 0.0001 then
  583. if (1 - cosTheta) > 0.0001 then
  584. local theta = ACOS(cosTheta)
  585. local invSinTheta = 1 / SIN(theta)
  586. startInterp = SIN((1 - t) * theta) * invSinTheta
  587. finishInterp = SIN(t * theta) * invSinTheta
  588. else
  589. startInterp = 1 - t
  590. finishInterp = t
  591. end
  592. else
  593. if (1 + cosTheta) > 0.0001 then
  594. local theta = ACOS(-cosTheta)
  595. local invSinTheta = 1 / SIN(theta)
  596. startInterp = SIN((t - 1) * theta) * invSinTheta
  597. finishInterp = SIN(t * theta) * invSinTheta
  598. else
  599. startInterp = t - 1
  600. finishInterp = t
  601. end
  602. end
  603. 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
  604. end
  605.  
  606. function Clerp(a, b, t)
  607. local qa = {QuaternionFromCFrame(a)}
  608. local qb = {QuaternionFromCFrame(b)}
  609. local ax, ay, az = a.x, a.y, a.z
  610. local bx, by, bz = b.x, b.y, b.z
  611. local _t = 1 - t
  612. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  613. end
  614.  
  615. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  616. local frame = IT("Frame")
  617. frame.BackgroundTransparency = TRANSPARENCY
  618. frame.BorderSizePixel = BORDERSIZEPIXEL
  619. frame.Position = POSITION
  620. frame.Size = SIZE
  621. frame.BackgroundColor3 = COLOR
  622. frame.BorderColor3 = BORDERCOLOR
  623. frame.Name = NAME
  624. frame.Parent = PARENT
  625. return frame
  626. end
  627.  
  628. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  629. local label = IT("TextLabel")
  630. label.BackgroundTransparency = 1
  631. label.Size = UD2(1, 0, 1, 0)
  632. label.Position = UD2(0, 0, 0, 0)
  633. label.TextColor3 = TEXTCOLOR
  634. label.TextStrokeTransparency = STROKETRANSPARENCY
  635. label.TextTransparency = TRANSPARENCY
  636. label.FontSize = TEXTFONTSIZE
  637. label.Font = TEXTFONT
  638. label.BorderSizePixel = BORDERSIZEPIXEL
  639. label.TextScaled = false
  640. label.Text = TEXT
  641. label.Name = NAME
  642. label.Parent = PARENT
  643. return label
  644. end
  645.  
  646. function NoOutlines(PART)
  647. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  648. end
  649.  
  650.  
  651. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  652. local NEWWELD = IT(TYPE)
  653. NEWWELD.Part0 = PART0
  654. NEWWELD.Part1 = PART1
  655. NEWWELD.C0 = C0
  656. NEWWELD.C1 = C1
  657. NEWWELD.Parent = PARENT
  658. return NEWWELD
  659. end
  660.  
  661. function CreateSound(ID, PARENT, VOLUME, PITCH)
  662. local NEWSOUND = nil
  663. coroutine.resume(coroutine.create(function()
  664. NEWSOUND = IT("Sound", PARENT)
  665. NEWSOUND.Volume = VOLUME
  666. NEWSOUND.Pitch = PITCH
  667. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  668. Swait()
  669. NEWSOUND:play()
  670. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  671. end))
  672. return NEWSOUND
  673. end
  674.  
  675. function CFrameFromTopBack(at, top, back)
  676. local right = top:Cross(back)
  677. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  678. end
  679.  
  680. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  681. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  682. local mesh = IT("SpecialMesh",wave)
  683. mesh.MeshType = "FileMesh"
  684. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  685. mesh.Scale = VT(size,size,size)
  686. mesh.Offset = VT(0,0,-size/8)
  687. wave.CFrame = cframe
  688. coroutine.resume(coroutine.create(function(PART)
  689. for i = 1, waitt do
  690. Swait()
  691. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  692. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  693. if doesrotate == true then
  694. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  695. end
  696. wave.Transparency = wave.Transparency + (0.5/waitt)
  697. if wave.Transparency > 0.99 then
  698. wave:remove()
  699. end
  700. end
  701. end))
  702. end
  703.  
  704. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  705. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  706. local mesh = IT("SpecialMesh",wave)
  707. mesh.MeshType = "FileMesh"
  708. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  709. mesh.Scale = VT(size,size,size)
  710. wave.CFrame = cframe
  711. coroutine.resume(coroutine.create(function(PART)
  712. for i = 1, waitt do
  713. Swait()
  714. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  715. if doesrotate == true then
  716. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  717. end
  718. wave.Transparency = wave.Transparency + (0.5/waitt)
  719. if wave.Transparency > 0.99 then
  720. wave:remove()
  721. end
  722. end
  723. end))
  724. end
  725.  
  726. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  727. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  728. local mesh = IT("SpecialMesh",wave)
  729. mesh.MeshType = "FileMesh"
  730. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  731. mesh.Scale = VT(size,size,size)
  732. wave.CFrame = cframe
  733. coroutine.resume(coroutine.create(function(PART)
  734. for i = 1, waitt do
  735. Swait()
  736. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  737. if doesrotate == true then
  738. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  739. end
  740. wave.Transparency = wave.Transparency + (0.5/waitt)
  741. if wave.Transparency > 0.99 then
  742. wave:remove()
  743. end
  744. end
  745. end))
  746. end
  747.  
  748. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  749. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  750. local mesh = IT("SpecialMesh",wave)
  751. mesh.MeshType = "FileMesh"
  752. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  753. mesh.Scale = VT(size,size,size)
  754. mesh.Offset = VT(0,0,0)
  755. wave.CFrame = cframe
  756. coroutine.resume(coroutine.create(function(PART)
  757. for i = 1, waitt do
  758. Swait()
  759. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  760. if doesrotate == true then
  761. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  762. end
  763. wave.Transparency = wave.Transparency + (0.5/waitt)
  764. if wave.Transparency > 0.99 then
  765. wave:remove()
  766. end
  767. end
  768. end))
  769. end
  770.  
  771. function MagicSphere(size,waitt,cframe,color)
  772. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  773. local mesh = IT("SpecialMesh",wave)
  774. mesh.MeshType = "Sphere"
  775. mesh.Scale = VT(size,size,size)
  776. mesh.Offset = VT(0,0,0)
  777. wave.CFrame = cframe
  778. coroutine.resume(coroutine.create(function(PART)
  779. for i = 1, waitt do
  780. Swait()
  781. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  782. wave.Transparency = wave.Transparency + (1/waitt)
  783. if wave.Transparency > 0.99 then
  784. wave:remove()
  785. end
  786. end
  787. end))
  788. end
  789.  
  790. function MagicSphere2(size,waitt,cframe,color)
  791. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  792. local mesh = IT("SpecialMesh",wave)
  793. mesh.MeshType = "Sphere"
  794. mesh.Scale = VT(size,size,size)
  795. mesh.Offset = VT(0,0,0)
  796. wave.CFrame = cframe
  797. coroutine.resume(coroutine.create(function(PART)
  798. for i = 1, waitt do
  799. Swait()
  800. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  801. wave.Transparency = wave.Transparency - (1/waitt)
  802. end
  803. wave:remove()
  804. end))
  805. end
  806.  
  807. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  808. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  809. prt.Anchored=true
  810. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  811. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  812. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  813. CF=Part.CFrame
  814. Numbb=0
  815. randnumb=math.random()-math.random()
  816. for i=0,1,0.05 do
  817. wait()
  818. CF=CF*CF(0,1,0)
  819. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  820. Part.CFrame=CF*EULER(Numbb,0,0)
  821. Part.Transparency=i
  822. Numbb=Numbb+randnumb
  823. end
  824. Part.Parent=nil
  825. end),prt)
  826. end
  827.  
  828. function MagicBlock(size,waitt,cframe,color)
  829. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  830. local mesh = IT("BlockMesh",wave)
  831. wave.CFrame = cframe
  832. coroutine.resume(coroutine.create(function(PART)
  833. for i = 1, waitt do
  834. Swait()
  835. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  836. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  837. wave.Transparency = wave.Transparency + (1/waitt)
  838. if wave.Transparency > 0.99 then
  839. wave:remove()
  840. end
  841. end
  842. end))
  843. end
  844.  
  845. local EyeSizes={
  846. NumberSequenceKeypoint.new(0,1,0),
  847. NumberSequenceKeypoint.new(1,0.2,0)
  848. }
  849. local EyeTrans={
  850. NumberSequenceKeypoint.new(0,0.8,0),
  851. NumberSequenceKeypoint.new(1,1,0)
  852. }
  853. local PE=Instance.new("ParticleEmitter")
  854. PE.LightEmission=0
  855. PE.Size=NumberSequence.new(EyeSizes)
  856. PE.Transparency=NumberSequence.new(EyeTrans)
  857. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  858. PE.Rotation=NumberRange.new(0,360)
  859. PE.Rate=15
  860. PE.Acceleration = Vector3.new(0,75,0)
  861. PE.Drag = 5
  862. PE.Enabled = false
  863. PE.Speed = NumberRange.new(0,0,0)
  864. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  865. PE.ZOffset = 0
  866. PE.Name = "Particles"
  867.  
  868. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  869. local particle = PE:Clone()
  870. particle.Parent = art
  871. particle.Acceleration = accel
  872. PE.Rate = rate
  873. if type == "Fire" then
  874. local EyeSizes={
  875. NumberSequenceKeypoint.new(0,1,0.3),
  876. NumberSequenceKeypoint.new(1,0.2,0.2)
  877. }
  878. PE.Size = NumberSequence.new(EyeSizes)
  879. elseif type == "Smoke" then
  880. local EyeSizes={
  881. NumberSequenceKeypoint.new(0,1,0),
  882. NumberSequenceKeypoint.new(1,5,0.5)
  883. }
  884. PE.Size = NumberSequence.new(EyeSizes)
  885. elseif type == "Solid" then
  886. local EyeSizes={
  887. NumberSequenceKeypoint.new(0,1,0),
  888. NumberSequenceKeypoint.new(1,1,0)
  889. }
  890. PE.Size = NumberSequence.new(EyeSizes)
  891. end
  892. PE.Drag = drag
  893. particle.Texture = "http://www.roblox.com/asset/?id="..text
  894. particle.Enabled = isenabledbydefault
  895. return particle
  896. end
  897.  
  898. function MakeForm(PART,TYPE)
  899. if TYPE == "Cyl" then
  900. local MSH = IT("CylinderMesh",PART)
  901. elseif TYPE == "Ball" then
  902. local MSH = IT("SpecialMesh",PART)
  903. MSH.MeshType = "Sphere"
  904. elseif TYPE == "Wedge" then
  905. local MSH = IT("SpecialMesh",PART)
  906. MSH.MeshType = "Wedge"
  907. end
  908. end
  909.  
  910. --//=================================\\
  911. --\\=================================//
  912.  
  913. function createaddongen(limb,position,size)
  914. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  915. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  916. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Institutional White", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  917. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  918. end
  919.  
  920. function creategauntlet(limb)
  921. --main--
  922. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Institutional White", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  923. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  924. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  925. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  926. MakeForm(part,"Wedge")
  927. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  928. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  929. MakeForm(part,"Wedge")
  930. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  931. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  932. --neon addons
  933. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Institutional White", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  934. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  935. --misc--
  936. createaddongen(limb,0.25,0.75)
  937. createaddongen(limb,-0.2,0.25)
  938. createaddongen(limb,-0.35,0.25)
  939. createaddongen(limb,-0.65,0.45)
  940. end
  941.  
  942. --//=================================\\
  943. --|| WEAPON CREATION
  944. --\\=================================//
  945.  
  946. creategauntlet(RightArm)
  947. creategauntlet(LeftLeg)
  948.  
  949. if Player_Size ~= 1 then
  950. for _, v in pairs (Weapon:GetChildren()) do
  951. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  952. local p1 = v.Part1
  953. v.Part1 = nil
  954. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  955. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  956. v.Part1 = p1
  957. elseif v.ClassName == "Part" then
  958. for _, b in pairs (v:GetChildren()) do
  959. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  960. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  961. end
  962. end
  963. end
  964. end
  965. end
  966.  
  967. for _, c in pairs(Weapon:GetChildren()) do
  968. if c.ClassName == "Part" then
  969. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  970. end
  971. end
  972.  
  973. Weapon.Parent = Character
  974.  
  975. Humanoid.Died:connect(function()
  976. sick:remove()
  977. sick2:remove()
  978. CreateSound("167285348", Head, 3, 1)
  979. ATTACK = true
  980. end)
  981.  
  982. print(Class_Name.." loaded.")
  983.  
  984. --//=================================\\
  985. --|| SPEECH
  986. --\\=================================//
  987.  
  988. function chatfunc(text,waitt)
  989. local chat = coroutine.wrap(function()
  990. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  991. Character:FindFirstChild("TalkingBillBoard"):destroy()
  992. end
  993. local naeeym2 = Instance.new("BillboardGui",Character)
  994. naeeym2.Size = UDim2.new(0,100,0,40)
  995. naeeym2.StudsOffset = Vector3.new(0,5,0)
  996. naeeym2.Adornee = Character.Head
  997. naeeym2.Name = "TalkingBillBoard"
  998. naeeym2.AlwaysOnTop = true
  999. local tecks2 = Instance.new("TextLabel",naeeym2)
  1000. tecks2.BackgroundTransparency = 1
  1001. tecks2.BorderSizePixel = 0
  1002. tecks2.Text = ""
  1003. tecks2.Font = "SciFi"
  1004. tecks2.TextSize = 30
  1005. tecks2.TextStrokeTransparency = 1
  1006. tecks2.TextColor3 = SKILLTEXTCOLOR
  1007. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1008. tecks2.Size = UDim2.new(1,0,0.5,0)
  1009. for i = 1,string.len(text),1 do
  1010. tecks2.Text = string.sub(text,1,i)
  1011. Swait()
  1012. end
  1013. wait(waitt)
  1014. coroutine.resume(coroutine.create(function()
  1015. for i = 1, 10 do
  1016. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  1017. Swait()
  1018. end
  1019. naeeym2:Destroy()
  1020. end))
  1021. end)
  1022. chat()
  1023. end
  1024.  
  1025. --//=================================\\
  1026. --|| DAMAGE FUNCTIONS
  1027. --\\=================================//
  1028.  
  1029. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1030. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Institutional White", "Effect", VT())
  1031. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1032. local BODYGYRO = IT("BodyGyro", STATPART)
  1033. local BODYPOSITION = IT("BodyPosition", STATPART)
  1034. BODYPOSITION.P = 2000
  1035. BODYPOSITION.D = 100
  1036. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1037. if LABELTYPE == "Normal" then
  1038. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1039. elseif LABELTYPE == "Debuff" then
  1040. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1041. elseif LABELTYPE == "Interruption" then
  1042. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1043. end
  1044. game:GetService("Debris"):AddItem(STATPART ,5)
  1045. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1046. BILLBOARDGUI.Adornee = STATPART
  1047. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1048. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1049. BILLBOARDGUI.AlwaysOnTop = false
  1050. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1051. TEXTLABEL.BackgroundTransparency = 1
  1052. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1053. TEXTLABEL.Text = TEXT
  1054. TEXTLABEL.Font = "SciFi"
  1055. TEXTLABEL.FontSize="Size42"
  1056. TEXTLABEL.TextColor3 = COLOR
  1057. TEXTLABEL.TextStrokeTransparency = 1
  1058. TEXTLABEL.TextScaled = true
  1059. TEXTLABEL.TextWrapped = true
  1060. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1061. wait(0.2)
  1062. for i=1, 5 do
  1063. wait()
  1064. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1065. end
  1066. wait(1.2)
  1067. for i=1, 5 do
  1068. wait()
  1069. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1070. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1071. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1072. end
  1073. THEPART.Parent = nil
  1074. end),STATPART, BODYPOSITION, TEXTLABEL)
  1075. end
  1076.  
  1077.  
  1078. --//=================================\\
  1079. --|| DAMAGING
  1080. --\\=================================//
  1081.  
  1082. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1083. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1084. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1085. local dmg = math.random(min,max)
  1086. if humanoid.Health > 0 then
  1087. if beserk == true then
  1088. humanoid.Health = 0
  1089. else
  1090. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1091. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1092. if math.random(1,100) < critrate+1 then
  1093. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1094. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1095. else
  1096. humanoid.Health = humanoid.Health - dmg
  1097. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1098. end
  1099. local defence = Instance.new("BoolValue",hit.Parent)
  1100. defence.Name = ("HitBy"..Player.Name)
  1101. game:GetService("Debris"):AddItem(defence, 0.5)
  1102. end
  1103. end
  1104. end
  1105. end
  1106.  
  1107. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1108. local dmg = math.random(min,max)
  1109. for i,v in ipairs(workspace:GetChildren()) do
  1110. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1111. local body = v:GetChildren()
  1112. for part = 1, #body do
  1113. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1114. if(body[part].Position - position).Magnitude < radius then
  1115. if v.ClassName == "Model" then
  1116. if v:FindFirstChild("Humanoid") then
  1117. if v.Humanoid.Health ~= 0 then
  1118. if CanBeDodgedByJumping == true then
  1119. if body[part].Position.Y < position.Y+5 then
  1120. if math.random(1,100) < critrate+1 then
  1121. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1122. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1123. else
  1124. v.Humanoid.Health = v.Humanoid.Health - dmg
  1125. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1126. end
  1127. local defence = Instance.new("BoolValue",v)
  1128. defence.Name = ("HitBy"..Player.Name)
  1129. game:GetService("Debris"):AddItem(defence, 0.5)
  1130. end
  1131. else
  1132. if beserk == true then
  1133. v.Humanoid.Health = 0
  1134. end
  1135. if math.random(1,100) < critrate+1 then
  1136. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1137. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1138. else
  1139. v.Humanoid.Health = v.Humanoid.Health - dmg
  1140. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1141. end
  1142. local defence = Instance.new("BoolValue",v)
  1143. defence.Name = ("HitBy"..Player.Name)
  1144. game:GetService("Debris"):AddItem(defence, 0.5)
  1145. end
  1146. end
  1147. end
  1148. end
  1149. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1150. end
  1151. end
  1152. end
  1153. if v.ClassName == "Part" then
  1154. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1155. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1156. end
  1157. end
  1158. end
  1159. end
  1160. end
  1161.  
  1162. function killnearest(position,range,maxstrength)
  1163. for i,v in ipairs(workspace:GetChildren()) do
  1164. local body = v:GetChildren()
  1165. for part = 1, #body do
  1166. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1167. if(body[part].Position - position).Magnitude < range then
  1168. if v.ClassName == "Model" then
  1169. v:BreakJoints()
  1170. end
  1171. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1172. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1173. end
  1174. end
  1175. end
  1176. if v.ClassName == "Part" then
  1177. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1178. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1179. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. --//=================================\\
  1186. --|| ATTACK FUNCTIONS AND STUFF
  1187. --\\=================================//
  1188.  
  1189. function CheckTableForString(Table, String)
  1190. for i, v in pairs(Table) do
  1191. if string.find(string.lower(String), string.lower(v)) then
  1192. return true
  1193. end
  1194. end
  1195. return false
  1196. end
  1197.  
  1198. function CheckIntangible(Hit)
  1199. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1200. if Hit and Hit.Parent then
  1201. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1202. return true
  1203. end
  1204. end
  1205. return false
  1206. end
  1207.  
  1208. Debris = game:GetService("Debris")
  1209.  
  1210. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1211. local Direction = CFrame.new(StartPos, Vec).lookVector
  1212. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1213. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1214. if RayHit and CheckIntangible(RayHit) then
  1215. if DelayIfHit then
  1216. wait()
  1217. end
  1218. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1219. end
  1220. return RayHit, RayPos, RayNormal
  1221. end
  1222.  
  1223. function turnto(position)
  1224. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1225. end
  1226.  
  1227. function ExplodeBomb(b)
  1228. b.Parent = Effects
  1229. b.Anchored = true
  1230. CreateSound("215395285", b, 10, 1)
  1231. MagicSphere(5,50,b.CFrame,"Institutional White")
  1232. b.Transparency = 1
  1233. MagicBlock(3,45,b.CFrame,"Really red")
  1234. --BreakEffect("Institutional White",b.CFrame,2,2,2,"Neon")
  1235. for i = 1, 10 do
  1236. CreateSwirl(0,5,true,-0.2,25,b.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1237. end
  1238. killnearest(b.Position,30,25)
  1239. game:GetService("Debris"):AddItem(b, 5)
  1240. end
  1241.  
  1242. function Detonate()
  1243. bomb = Bombs:GetChildren()
  1244. for lol = 1, #bomb do
  1245. if bomb[lol].ClassName == "Part" then
  1246. local b = bomb[lol]
  1247. ExplodeBomb(b)
  1248. end
  1249. end
  1250. end
  1251.  
  1252.  
  1253.  
  1254. function TyranyCannon()
  1255. ATTACK = true
  1256. for i=0, 1, 0.1 / Animation_Speed do
  1257. Swait()
  1258. turnto(Mouse.Hit.p)
  1259. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed/5)
  1260. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1261. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1262. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1263. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1.25), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1264. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1265. end
  1266. local POS = Mouse.Hit.p
  1267. for i = 1, 5 do
  1268. MagicSphere(2,10,RightArm.CFrame * CF(0,-1,0),"Institutional White")
  1269. Swait(5)
  1270. end
  1271. CreateSound("438666196", RightArm, 5, 1)
  1272. MagicSphere(5,10,RightArm.CFrame * CF(0,-1,0),"Really red")
  1273. local Projectile = CreatePart(3, Bombs, "Neon", 0, 0, "Institutional White", "Bomb-Projectile", VT(5,5,5),false)
  1274. Projectile.CFrame = RightArm.CFrame * CF(0,-1,0)
  1275. Projectile.CanCollide = false
  1276. MakeForm(Projectile,"Ball")
  1277. local grav = Instance.new("BodyPosition",Projectile)
  1278. grav.P = 25000
  1279. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1280. grav.position = POS
  1281. grav.Name = "GravityForce"
  1282. local harm = Projectile.Touched:Connect(function(hit)
  1283. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") and Projectile.Parent ~= Effects then
  1284. ExplodeBomb(Projectile)
  1285. end
  1286. end)
  1287. ATTACK = false
  1288. end
  1289.  
  1290. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1291. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1292. end
  1293.  
  1294. function EarthShatter()
  1295. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1296. if HITFLOOR ~= nil then
  1297. ATTACK = true
  1298. Rooted = true
  1299. for i=0, 1, 0.1 / Animation_Speed/2 do
  1300. Swait()
  1301. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  1302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  1304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  1305. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  1306. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  1307. end
  1308. for i=0, 1, 0.1 / Animation_Speed*5 do
  1309. Swait()
  1310. RootPart.Anchored = true
  1311. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1312. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1313. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1314. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1315. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1316. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1317. end
  1318. local POS = RightArm.CFrame * CF(0,-1,0).p
  1319. for i = 1,10 do
  1320. CreateWave(0,10,true,0.05,25,CF(POS),"Institutional White")
  1321. CreateWave(0,6,true,-0.05,25,CF(POS),"Institutional White")
  1322. CreateWave(0,2,true,0.05,25,CF(POS),"Institutional White")
  1323. killnearest(POS,15,25)
  1324. CreateSound("438666141", RightArm, 5, 1)
  1325. for i = 1, 40 do
  1326. local angle = math.random(-180,180)
  1327. coroutine.resume(coroutine.create(function()
  1328. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1329. local SpawnPosition = RayPos
  1330. local floor = RayHit
  1331. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1332. local LastPosition = RayPos
  1333. local Delay = 1
  1334. if floor ~= nil then
  1335. for i = 1, 5 do
  1336. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1337. local End = RayPos
  1338. LastPosition = End
  1339. killnearest(End,15,25)
  1340. local locatepart = Instance.new("Part",Effects)
  1341. locatepart.Size = VT(0.5,0.5,0.5)
  1342. locatepart.Position = End
  1343. locatepart.CanCollide = false
  1344. locatepart.Anchored = true
  1345. locatepart.Name = "L0"
  1346. locatepart.Transparency = 1
  1347. if SpawnPosition then
  1348. CreateSwirl(0,2,false,0.05,25,CF(End),"Institutional White")
  1349. local spike = Instance.new("CornerWedgePart")
  1350. spike.Size = Vector3.new(1,15,1)
  1351. spike.Material = "Neon"
  1352. spike.Color = "Institutional White"
  1353. spike.Anchored = true
  1354. spike.CanCollide = false
  1355. spike.CFrame = CFrame.new(End.X,SpawnPosition.Y+2,End.Z)
  1356. spike.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1357. spike.Name = HITFLOOR.Name.."Spike"
  1358. CreateSound("341300954", spike, 1, (math.random(8,12)/10))
  1359. for i = 1, 3 do
  1360. local overlay = spike:Clone()
  1361. overlay.Size = overlay.Size + Vector3.new(0.2,0.2*2,0.2)
  1362. overlay.CFrame = spike.CFrame
  1363. overlay.Parent = nil
  1364. overlay.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1365. overlay.Parent = Effects
  1366. table.insert(Effects2,{overlay,"Disappear",0.01,0,0,0,0})
  1367. end
  1368. spike.Size = Vector3.new(2,25,2)
  1369. spike.Parent = Effects
  1370. table.insert(Effects2,{spike,"Disappear",0.01,0,0,0,0})
  1371. end
  1372. Swait(5)
  1373. game:GetService("Debris"):AddItem(locatepart, 5)
  1374. end
  1375. end
  1376. end))
  1377. end
  1378. wait(0.05)
  1379. end
  1380. for i=0, 6, 0.1 / Animation_Speed*5 do
  1381. Swait()
  1382. RootPart.Anchored = true
  1383. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1387. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1389. end
  1390. ATTACK = false
  1391. Rooted = false
  1392. end
  1393. end
  1394.  
  1395. function RavagingOverthrower()
  1396. ATTACK = true
  1397. Rooted = true
  1398. chatfunc("I will show you what is death!!!",4)
  1399. for i=0, 1, 0.1 / Animation_Speed do
  1400. Swait()
  1401. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1402. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1403. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1404. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1405. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1406. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1407. end
  1408. CreateSound("348663022", Torso, 5, 1)
  1409. local StartPos = RootPart.CFrame * CF(0,0,-10).p
  1410. for i = 1, 5 do
  1411. MagicSphere2(25,25,CF(StartPos),"Institutional White")
  1412. Swait(15)
  1413. end
  1414. local soundeffect = IT("Sound",Torso)
  1415. soundeffect.SoundId = "rbxassetid://487186990"
  1416. soundeffect.Looped = true
  1417. soundeffect.Volume = 10
  1418. soundeffect.Playing = true
  1419. repeat
  1420. turnto(Mouse.Hit.p)
  1421. MagicSphere2(25,25,CF(StartPos),"Institutional White")
  1422. MagicSphere(25/10,25,CF(StartPos),"Institutional White")
  1423. for i = 1, 3 do
  1424. CreateSwirl(0,25,true,-0.2,5,CF(StartPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Institutional White")
  1425. end
  1426. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  1427. local distance = (StartPos - RayPos).magnitude
  1428. local RayBeam = IT("Part",Effects)
  1429. RayBeam.Material = "Neon"
  1430. RayBeam.Anchored = true
  1431. RayBeam.BrickColor = BRICKC"Institutional White"
  1432. local mesh = IT("SpecialMesh",RayBeam)
  1433. mesh.MeshType = "Cylinder"
  1434. RayBeam.Size = Vector3.new(distance+10, math.random(10,15), math.random(10,15))
  1435. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  1436. MagicSphere(15,5,CF(RayPos),"Really red")
  1437. killnearest(RayPos,15,100)
  1438. for i = 1, 3 do
  1439. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Institutional White")
  1440. end
  1441. Swait()
  1442. if KEYHOLD == false then
  1443. coroutine.resume(coroutine.create(function()
  1444. for i = 1, 30 do
  1445. RayBeam.Transparency = i/30
  1446. Swait()
  1447. end
  1448. RayBeam:remove()
  1449. end))
  1450. else
  1451. RayBeam:remove()
  1452. end
  1453. until KEYHOLD == false
  1454. soundeffect:remove()
  1455. ATTACK = false
  1456. Rooted = false
  1457. end
  1458.  
  1459. function dodadance()
  1460. ATTACK = true
  1461. Rooted = true
  1462. DANCE = true
  1463. sick:Stop()
  1464. sick2:Play()
  1465. local Animation_Speed2 = 1.5
  1466. HName.Text = "Dance!"
  1467. repeat
  1468. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1469. Swait()
  1470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
  1471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-180)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1474. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1476. end
  1477. MagicSphere(5,15,Torso.CFrame,"Institutional White")
  1478. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1479. Swait()
  1480. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed2)
  1481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1484. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(-35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1486. end
  1487. MagicSphere(5,15,Torso.CFrame,"Institutional White")
  1488. until DANCE == false
  1489. HName.Text = "Ruriko Sekozawa"
  1490. sick:Play()
  1491. sick2:Stop()
  1492. ATTACK = false
  1493. Rooted = false
  1494. end
  1495.  
  1496. function Warp()
  1497. MagicSphere2(10,5,Torso.CFrame,"Institutional White")
  1498. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z))
  1499. CreateSound("282061340", Torso, 2, 1)
  1500. MagicSphere(5,5,Torso.CFrame,"Institutional White")
  1501. for i = 1, 3 do
  1502. CreateSwirl(0,5,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Institutional White")
  1503. end
  1504. killnearest(Torso.Position,12,25)
  1505. Swait()
  1506. turnto(Mouse.Hit.p)
  1507. end
  1508.  
  1509. --//=================================\\
  1510. --|| ASSIGN THINGS TO KEYS
  1511. --\\=================================//
  1512.  
  1513. Humanoid.Changed:connect(function(Jump)
  1514. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1515. Humanoid.Jump = false
  1516. end
  1517. end)
  1518.  
  1519. function MouseDown(Mouse)
  1520. if ATTACK == false then
  1521. end
  1522. end
  1523.  
  1524. function MouseUp(Mouse)
  1525. HOLD = false
  1526. end
  1527.  
  1528. function KeyDown(Key)
  1529. KEYHOLD = true
  1530. if Key == "e" and ATTACK == false then
  1531. TyranyCannon()
  1532. wait(1)
  1533. Detonate()
  1534. end
  1535.  
  1536. if Key == "e" and ATTACK == false then
  1537. EarthShatter()
  1538. end
  1539.  
  1540. if Key == "r" and ATTACK == false then
  1541. RavagingOverthrower()
  1542. end
  1543.  
  1544. if Key == "q" and ATTACK == false then
  1545. Warp()
  1546. end
  1547.  
  1548. if Key == "t" and ATTACK == false then
  1549. CreateSound("159882644", Head, 5, 0.8)
  1550. end
  1551.  
  1552. if Key == "t" and DANCE == true then
  1553. CreateSound("887591869", Head, 5, 1)
  1554. end
  1555.  
  1556. if Key == "x" and (ATTACK == false or DANCE == true) then
  1557. if DANCE == false then
  1558. dodadance()
  1559. elseif DANCE == true then
  1560. DANCE = false
  1561. end
  1562. end
  1563. end
  1564.  
  1565. function KeyUp(Key)
  1566. KEYHOLD = false
  1567. end
  1568.  
  1569. Mouse.Button1Down:connect(function(NEWKEY)
  1570. MouseDown(NEWKEY)
  1571. end)
  1572. Mouse.Button1Up:connect(function(NEWKEY)
  1573. MouseUp(NEWKEY)
  1574. end)
  1575. Mouse.KeyDown:connect(function(NEWKEY)
  1576. KeyDown(NEWKEY)
  1577. end)
  1578. Mouse.KeyUp:connect(function(NEWKEY)
  1579. KeyUp(NEWKEY)
  1580. end)
  1581.  
  1582. --//=================================\\
  1583. --\\=================================//
  1584.  
  1585.  
  1586. function unanchor()
  1587. if UNANCHOR == true then
  1588. g = Character:GetChildren()
  1589. for i = 1, #g do
  1590. if g[i].ClassName == "Part" then
  1591. g[i].Anchored = false
  1592. end
  1593. end
  1594. end
  1595. end
  1596.  
  1597.  
  1598. --//=================================\\
  1599. --|| WRAP THE WHOLE SCRIPT UP
  1600. --\\=================================//
  1601.  
  1602. Humanoid.Changed:connect(function(Jump)
  1603. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1604. Humanoid.Jump = false
  1605. end
  1606. end)
  1607.  
  1608. ANIMATE.Parent = nil
  1609. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1610. IDLEANIMATION:Play()
  1611.  
  1612. while true do
  1613. Swait()
  1614. SINE = SINE + CHANGE
  1615. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1616. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1617. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1618. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1619. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1620. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1621. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1622. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1623. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1624. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1625. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1626. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1627. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1628. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  1629. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  1630. end
  1631. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1632. ANIM = "Jump"
  1633. if ATTACK == false then
  1634. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1638. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1639. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1640. end
  1641. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1642. ANIM = "Fall"
  1643. if ATTACK == false then
  1644. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1648. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1650. end
  1651. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1652. ANIM = "Idle"
  1653. if ATTACK == false then
  1654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(30)) * ANGLES(RAD(3), RAD(25), RAD(5)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1658. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1659. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1660. end
  1661. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1662. ANIM = "Walk"
  1663. WALK = WALK + 1 / Animation_Speed
  1664. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1665. WALK = 0
  1666. if WALKINGANIM == true then
  1667. WALKINGANIM = false
  1668. elseif WALKINGANIM == false then
  1669. WALKINGANIM = true
  1670. end
  1671. end
  1672. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1673. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1674. if ATTACK == false then
  1675. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1676. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1677. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1678. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1679. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1680. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1681. end
  1682. end
  1683. if #Effects2>0 then
  1684. for e=1,#Effects2 do
  1685. if Effects2[e]~=nil then
  1686. local Thing=Effects2[e]
  1687. if Thing~=nil then
  1688. local Part=Thing[1]
  1689. local Mode=Thing[2]
  1690. local Delay=Thing[3]
  1691. local IncX=Thing[4]
  1692. local IncY=Thing[5]
  1693. local IncZ=Thing[6]
  1694. local Part2=Thing[8]
  1695. if Thing[1].Transparency<=1 then
  1696. if Thing[2]=="Block1" then
  1697. Thing[1].CFrame=Thing[1].CFrame
  1698. Mesh=Thing[1].Mesh
  1699. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1700. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1701. elseif Thing[2]=="Cylinder" then
  1702. Mesh=Thing[1].Mesh
  1703. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1704. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1705. elseif Thing[2]=="Blood" then
  1706. Mesh=Thing[7]
  1707. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1708. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1709. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1710. elseif Thing[2]=="Elec" then
  1711. Mesh=Thing[1].Mesh
  1712. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1713. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1714. elseif Thing[2]=="Disappear" then
  1715. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1716. end
  1717. else
  1718. Part.Parent=nil
  1719. table.remove(Effects2,e)
  1720. end
  1721. end
  1722. end
  1723. end
  1724. end
  1725. unanchor()
  1726. Humanoid.MaxHealth = "inf"
  1727. Humanoid.Health = "inf"
  1728. Humanoid.Name = "Ravage"
  1729. if Rooted == false then
  1730. Disable_Jump = false
  1731. Humanoid.WalkSpeed = Speed
  1732. elseif Rooted == true then
  1733. Disable_Jump = true
  1734. Humanoid.WalkSpeed = 0
  1735. end
  1736. q = Character:GetChildren()
  1737. for u = 1, #q do
  1738. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1739. q[u]:remove()
  1740. elseif q[u].ClassName == "Shirt" then
  1741. q[u]:Destroy()
  1742. elseif q[u].ClassName == "Pants" then
  1743. q[u]:Destroy()
  1744. elseif q[u].ClassName == "CharacterMesh" then
  1745. q[u]:remove()
  1746. elseif q[u].ClassName == "ShirtGraphic" then
  1747. q[u]:remove()
  1748. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1749. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1750. end
  1751. end
  1752. if Head:FindFirstChild("face") then
  1753. Head.face:remove()
  1754. end
  1755. if Head:FindFirstChild("Died") then
  1756. Head.Died:remove()
  1757. end
  1758. bomb = Bombs:GetChildren()
  1759. for lol = 1, #bomb do
  1760. if bomb[lol].ClassName == "Part" then
  1761. MagicSphere2(2,5,bomb[lol].CFrame,"Institutional White")
  1762. end
  1763. end
  1764. end
  1765.  
  1766. --//=================================\\
  1767. --\\=================================//
Add Comment
Please, Sign In to add comment