Advertisement
JacksoMykalJunior

Untitled

Mar 17th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.12 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  5. print("Have Fun!")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = owner
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85.  
  86. --//====================================================\\--
  87. --|| EDIT BY HOANGCHANNELVN CREATED BY SHACKLUSTER
  88. --\\====================================================//--
  89.  
  90.  
  91.  
  92. wait(0.2)
  93.  
  94.  
  95.  
  96. Player = owner
  97. PlayerGui = Player.PlayerGui
  98. Cam = workspace.CurrentCamera
  99. Backpack = Player.Backpack
  100. Character = Player.Character
  101. Humanoid = Character.Humanoid
  102. RootPart = Character["HumanoidRootPart"]
  103. Torso = Character["Torso"]
  104. Head = Character["Head"]
  105. RightArm = Character["Right Arm"]
  106. LeftArm = Character["Left Arm"]
  107. RightLeg = Character["Right Leg"]
  108. LeftLeg = Character["Left Leg"]
  109. RootJoint = RootPart["RootJoint"]
  110. Neck = Torso["Neck"]
  111. RightShoulder = Torso["Right Shoulder"]
  112. LeftShoulder = Torso["Left Shoulder"]
  113. RightHip = Torso["Right Hip"]
  114. LeftHip = Torso["Left Hip"]
  115. local ban = Instance.new("Sound",Character)
  116. ban.SoundId = "rbxassetid://524240084"
  117. ban.Looped = true
  118. ban.Pitch = 1
  119. ban.Volume = 5
  120. ban:Play()
  121.  
  122. IT = Instance.new
  123. CF = CFrame.new
  124. VT = Vector3.new
  125. RAD = math.rad
  126. C3 = Color3.new
  127. UD2 = UDim2.new
  128. BRICKC = BrickColor.new
  129. ANGLES = CFrame.Angles
  130. EULER = CFrame.fromEulerAnglesXYZ
  131. COS = math.cos
  132. ACOS = math.acos
  133. SIN = math.sin
  134. ASIN = math.asin
  135. ABS = math.abs
  136. MRANDOM = math.random
  137. FLOOR = math.floor
  138.  
  139. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  140. local NEWMESH = IT(MESH)
  141. if MESH == "SpecialMesh" then
  142. NEWMESH.MeshType = MESHTYPE
  143. if MESHID ~= "nil" and MESHID ~= "" then
  144. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  145. end
  146. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  147. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  148. end
  149. end
  150. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  151. NEWMESH.Scale = SCALE
  152. NEWMESH.Parent = PARENT
  153. return NEWMESH
  154. end
  155.  
  156. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  157. local NEWPART = IT("Part")
  158. NEWPART.formFactor = FORMFACTOR
  159. NEWPART.Reflectance = REFLECTANCE
  160. NEWPART.Transparency = TRANSPARENCY
  161. NEWPART.CanCollide = false
  162. NEWPART.Locked = true
  163. NEWPART.Anchored = true
  164. if ANCHOR == false then
  165. NEWPART.Anchored = false
  166. end
  167. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  168. NEWPART.Name = NAME
  169. NEWPART.Size = SIZE
  170. NEWPART.Position = Torso.Position
  171. NEWPART.Material = MATERIAL
  172. NEWPART:BreakJoints()
  173. NEWPART.Parent = PARENT
  174. return NEWPART
  175. end
  176.  
  177. function CharacterFade(COLOR,TIMER)
  178. coroutine.resume(coroutine.create(function()
  179. local FADE = IT("Model",Effects)
  180. for _, c in pairs(Character:GetChildren()) do
  181. if c.ClassName == "Part" and c ~= RootPart then
  182. local FADER = c:Clone()
  183. FADER.Color = COLOR
  184. FADER.CFrame = c.CFrame
  185. FADER.Parent = FADE
  186. FADER.Anchored = true
  187. FADER.Transparency = 0.25
  188. FADER:BreakJoints()
  189. FADER.Material = "Glass"
  190. FADER:ClearAllChildren()
  191. if FADER.Name == "Head" then
  192. FADER.Size = VT(1,1,1)
  193. end
  194. end
  195. end
  196. local TRANS = 0.75/TIMER
  197. for i = 1, TIMER do
  198. Swait()
  199. for _, c in pairs(FADE:GetChildren()) do
  200. if c.ClassName == "Part" then
  201. c.Transparency = c.Transparency + TRANS
  202. end
  203. end
  204. end
  205. FADE:remove()
  206. end))
  207. end
  208.  
  209. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  210. function WACKYEFFECT(Table)
  211. local TYPE = (Table.EffectType or "Sphere")
  212. local SIZE = (Table.Size or VT(1,1,1))
  213. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  214. local TRANSPARENCY = (Table.Transparency or 0)
  215. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  216. local CFRAME = (Table.CFrame or Torso.CFrame)
  217. local MOVEDIRECTION = (Table.MoveToPos or nil)
  218. local ROTATION1 = (Table.RotationX or 0)
  219. local ROTATION2 = (Table.RotationY or 0)
  220. local ROTATION3 = (Table.RotationZ or 0)
  221. local MATERIAL = (Table.Material or "Neon")
  222. local COLOR = (Table.Color or C3(1,1,1))
  223. local TIME = (Table.Time or 45)
  224. local SOUNDID = (Table.SoundID or nil)
  225. local SOUNDPITCH = (Table.SoundPitch or nil)
  226. local SOUNDVOLUME = (Table.SoundVolume or nil)
  227. coroutine.resume(coroutine.create(function()
  228. local PLAYSSOUND = false
  229. local SOUND = nil
  230. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  231. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  232. PLAYSSOUND = true
  233. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  234. end
  235. EFFECT.Color = COLOR
  236. local MSH = nil
  237. if TYPE == "Sphere" then
  238. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  239. elseif TYPE == "Block" then
  240. MSH = IT("BlockMesh",EFFECT)
  241. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  242. elseif TYPE == "Wave" then
  243. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  244. elseif TYPE == "Ring" then
  245. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  246. elseif TYPE == "Slash" then
  247. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  248. elseif TYPE == "Round Slash" then
  249. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  250. elseif TYPE == "Swirl" then
  251. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  252. elseif TYPE == "Skull" then
  253. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  254. elseif TYPE == "Crystal" then
  255. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  256. end
  257. if MSH ~= nil then
  258. local MOVESPEED = nil
  259. if MOVEDIRECTION ~= nil then
  260. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  261. end
  262. local GROWTH = SIZE - ENDSIZE
  263. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  264. if TYPE == "Block" then
  265. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  266. else
  267. EFFECT.CFrame = CFRAME
  268. end
  269. for LOOP = 1, TIME+1 do
  270. Swait()
  271. MSH.Scale = MSH.Scale - GROWTH/TIME
  272. if TYPE == "Wave" then
  273. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  274. end
  275. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  276. if TYPE == "Block" then
  277. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  278. else
  279. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  280. end
  281. if MOVEDIRECTION ~= nil then
  282. local ORI = EFFECT.Orientation
  283. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  284. EFFECT.Orientation = ORI
  285. end
  286. end
  287. if PLAYSSOUND == false then
  288. EFFECT:remove()
  289. else
  290. repeat Swait() until SOUND.Playing == false
  291. EFFECT:remove()
  292. end
  293. else
  294. if PLAYSSOUND == false then
  295. EFFECT:remove()
  296. else
  297. repeat Swait() until SOUND.Playing == false
  298. EFFECT:remove()
  299. end
  300. end
  301. end))
  302. end
  303.  
  304. --//=================================\\
  305. --|| CUSTOMIZATION
  306. --\\=================================//
  307.  
  308. Player_Size = 1 --Size of the player.
  309. Animation_Speed = 3
  310. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  311.  
  312. local Speed = 16
  313. local Effects2 = {}
  314.  
  315. --//=================================\\
  316. --|| END OF CUSTOMIZATION
  317. --\\=================================//
  318.  
  319. local function weldBetween(a, b)
  320. local weldd = Instance.new("ManualWeld")
  321. weldd.Part0 = a
  322. weldd.Part1 = b
  323. weldd.C0 = CFrame.new()
  324. weldd.C1 = b.CFrame:inverse() * a.CFrame
  325. weldd.Parent = a
  326. return weldd
  327. end
  328.  
  329. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  330. local acs = Instance.new("Part")
  331. acs.CanCollide = false
  332. acs.Anchored = false
  333. acs.Size = Vector3.new(0,0,0)
  334. acs.CFrame = attachmentpart.CFrame
  335. acs.Parent = Character
  336. acs.BrickColor = color
  337. local meshs = Instance.new("SpecialMesh")
  338. meshs.MeshId = mesh
  339. meshs.TextureId = texture
  340. meshs.Parent = acs
  341. meshs.Scale = scale
  342. meshs.Offset = offset
  343. weldBetween(attachmentpart,acs)
  344. end
  345.  
  346. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  347. if TYPE == "Gem" then
  348. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  349. acs.Anchored = false
  350. acs.CanCollide = false
  351. acs.CFrame = PART.CFrame
  352. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  353. weldBetween(PART,acs)
  354. elseif TYPE == "Skull" then
  355. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  356. acs.Anchored = false
  357. acs.CanCollide = false
  358. acs.CFrame = PART.CFrame
  359. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  360. weldBetween(PART,acs)
  361. elseif TYPE == "Eye" then
  362. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  363. acs.Anchored = false
  364. acs.CanCollide = false
  365. acs.CFrame = PART.CFrame
  366. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  367. weldBetween(PART,acs)
  368. end
  369. end
  370.  
  371. --//================================\\
  372. --|| KICK THINGY
  373. --\\================================//
  374.  
  375.  
  376. --|SIMPLE KICK SCRIPT FOR EMERGENCY PURPOSES AND STUFF|--
  377. --|ROBLOX SCRIPT BUILDER LOCAL SCRIPT|--
  378. local player=owner
  379. player.Chatted:connect(function(m)
  380. if string.sub(m,1,6)=="+kick " then
  381. local victim
  382. for i,v in pairs(game.Players:GetPlayers()) do
  383. if string.find(m,v.Plr) then
  384. v:Kick()
  385. end
  386. end
  387. end
  388. end)
  389.  
  390. --//=================================\\
  391. --|| KICK THINGY PART 2
  392. --\\=================================//
  393.  
  394.  
  395. p= game.Players:GetChildren()
  396. for i= 1, #p do
  397. p[i]:remove()
  398. end
  399.  
  400.  
  401. --//=================================\\
  402. --|| USEFUL VALUES
  403. --\\=================================//
  404.  
  405. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  406. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  407. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  408. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  409. local CHANGEDEFENSE = 0
  410. local CHANGEDAMAGE = 0
  411. local CHANGEMOVEMENT = 0
  412. local ANIM = "Idle"
  413. local ATTACK = false
  414. local EQUIPPED = false
  415. local HOLD = false
  416. local COMBO = 1
  417. local Rooted = false
  418. local SINE = 0
  419. local KEYHOLD = false
  420. local CHANGE = 2 / Animation_Speed
  421. local WALKINGANIM = false
  422. local WALK = 0
  423. local VALUE1 = false
  424. local HITFLOOR = nil
  425. local VALUE2 = false
  426. local ROBLOXIDLEANIMATION = IT("Animation")
  427. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  428. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  429. --ROBLOXIDLEANIMATION.Parent = Humanoid
  430. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  431. WEAPONGUI.Name = "Weapon GUI"
  432. local Weapon = IT("Model")
  433. Weapon.Name = "Adds"
  434. local Delete = IT("Model",Character)
  435. Delete.Name = "Banlist"
  436. local Effects = IT("Folder", Weapon)
  437. Effects.Name = "Effects"
  438. local ANIMATOR = Humanoid.Animator
  439. local ANIMATE = Character.Animate
  440. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  441. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  442. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  443. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  444. local UNANCHOR = true
  445.  
  446. local SKILLTEXTCOLOR = C3(1,0,0)
  447.  
  448. --//=================================\\
  449. --\\=================================//
  450.  
  451.  
  452. --//=================================\\
  453. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  454. --\\=================================//
  455.  
  456. ArtificialHB = Instance.new("BindableEvent", script)
  457. ArtificialHB.Name = "ArtificialHB"
  458.  
  459. script:WaitForChild("ArtificialHB")
  460.  
  461. frame = Frame_Speed
  462. tf = 0
  463. allowframeloss = false
  464. tossremainder = false
  465. lastframe = tick()
  466. script.ArtificialHB:Fire()
  467.  
  468. game:GetService("RunService").Heartbeat:connect(function(s, p)
  469. tf = tf + s
  470. if tf >= frame then
  471. if allowframeloss then
  472. script.ArtificialHB:Fire()
  473. lastframe = tick()
  474. else
  475. for i = 1, math.floor(tf / frame) do
  476. script.ArtificialHB:Fire()
  477. end
  478. lastframe = tick()
  479. end
  480. if tossremainder then
  481. tf = 0
  482. else
  483. tf = tf - frame * math.floor(tf / frame)
  484. end
  485. end
  486. end)
  487.  
  488. --//=================================\\
  489. --\\=================================//
  490.  
  491.  
  492.  
  493.  
  494.  
  495. --//=================================\\
  496. --|| SOME FUNCTIONS
  497. --\\=================================//
  498.  
  499. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  500. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  501. end
  502.  
  503. function PositiveAngle(NUMBER)
  504. if NUMBER >= 0 then
  505. NUMBER = 0
  506. end
  507. return NUMBER
  508. end
  509.  
  510. function NegativeAngle(NUMBER)
  511. if NUMBER <= 0 then
  512. NUMBER = 0
  513. end
  514. return NUMBER
  515. end
  516.  
  517. function Swait(NUMBER)
  518. if NUMBER == 0 or NUMBER == nil then
  519. ArtificialHB.Event:wait()
  520. else
  521. for i = 1, NUMBER do
  522. ArtificialHB.Event:wait()
  523. end
  524. end
  525. end
  526.  
  527. function QuaternionFromCFrame(cf)
  528. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  529. local trace = m00 + m11 + m22
  530. if trace > 0 then
  531. local s = math.sqrt(1 + trace)
  532. local recip = 0.5 / s
  533. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  534. else
  535. local i = 0
  536. if m11 > m00 then
  537. i = 1
  538. end
  539. if m22 > (i == 0 and m00 or m11) then
  540. i = 2
  541. end
  542. if i == 0 then
  543. local s = math.sqrt(m00 - m11 - m22 + 1)
  544. local recip = 0.5 / s
  545. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  546. elseif i == 1 then
  547. local s = math.sqrt(m11 - m22 - m00 + 1)
  548. local recip = 0.5 / s
  549. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  550. elseif i == 2 then
  551. local s = math.sqrt(m22 - m00 - m11 + 1)
  552. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  553. end
  554. end
  555. end
  556.  
  557. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  558. local xs, ys, zs = x + x, y + y, z + z
  559. local wx, wy, wz = w * xs, w * ys, w * zs
  560. local xx = x * xs
  561. local xy = x * ys
  562. local xz = x * zs
  563. local yy = y * ys
  564. local yz = y * zs
  565. local zz = z * zs
  566. 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))
  567. end
  568.  
  569. function QuaternionSlerp(a, b, t)
  570. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  571. local startInterp, finishInterp;
  572. if cosTheta >= 0.0001 then
  573. if (1 - cosTheta) > 0.0001 then
  574. local theta = ACOS(cosTheta)
  575. local invSinTheta = 1 / SIN(theta)
  576. startInterp = SIN((1 - t) * theta) * invSinTheta
  577. finishInterp = SIN(t * theta) * invSinTheta
  578. else
  579. startInterp = 1 - t
  580. finishInterp = t
  581. end
  582. else
  583. if (1 + cosTheta) > 0.0001 then
  584. local theta = ACOS(-cosTheta)
  585. local invSinTheta = 1 / SIN(theta)
  586. startInterp = SIN((t - 1) * theta) * invSinTheta
  587. finishInterp = SIN(t * theta) * invSinTheta
  588. else
  589. startInterp = t - 1
  590. finishInterp = t
  591. end
  592. end
  593. 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
  594. end
  595.  
  596. function Clerp(a, b, t)
  597. local qa = {QuaternionFromCFrame(a)}
  598. local qb = {QuaternionFromCFrame(b)}
  599. local ax, ay, az = a.x, a.y, a.z
  600. local bx, by, bz = b.x, b.y, b.z
  601. local _t = 1 - t
  602. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  603. end
  604.  
  605. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  606. local frame = IT("Frame")
  607. frame.BackgroundTransparency = TRANSPARENCY
  608. frame.BorderSizePixel = BORDERSIZEPIXEL
  609. frame.Position = POSITION
  610. frame.Size = SIZE
  611. frame.BackgroundColor3 = COLOR
  612. frame.BorderColor3 = BORDERCOLOR
  613. frame.Name = NAME
  614. frame.Parent = PARENT
  615. return frame
  616. end
  617.  
  618. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  619. local label = IT("TextLabel")
  620. label.BackgroundTransparency = 1
  621. label.Size = UD2(1, 0, 1, 0)
  622. label.Position = UD2(0, 0, 0, 0)
  623. label.TextColor3 = TEXTCOLOR
  624. label.TextStrokeTransparency = STROKETRANSPARENCY
  625. label.TextTransparency = TRANSPARENCY
  626. label.FontSize = TEXTFONTSIZE
  627. label.Font = TEXTFONT
  628. label.BorderSizePixel = BORDERSIZEPIXEL
  629. label.TextScaled = false
  630. label.Text = TEXT
  631. label.Name = NAME
  632. label.Parent = PARENT
  633. return label
  634. end
  635.  
  636. function NoOutlines(PART)
  637. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  638. end
  639.  
  640.  
  641. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  642. local NEWWELD = IT(TYPE)
  643. NEWWELD.Part0 = PART0
  644. NEWWELD.Part1 = PART1
  645. NEWWELD.C0 = C0
  646. NEWWELD.C1 = C1
  647. NEWWELD.Parent = PARENT
  648. return NEWWELD
  649. end
  650.  
  651. local SOUND = IT("Sound",nil)
  652.  
  653. function CreateSound(ID, PARENT, VOLUME, PITCH)
  654. local NEWSOUND = nil
  655. coroutine.resume(coroutine.create(function()
  656. NEWSOUND = SOUND:Clone()
  657. NEWSOUND.Parent = PARENT
  658. NEWSOUND.Volume = VOLUME
  659. NEWSOUND.Pitch = PITCH
  660. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  661. Swait()
  662. NEWSOUND:play()
  663. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  664. end))
  665. return NEWSOUND
  666. end
  667.  
  668. function CFrameFromTopBack(at, top, back)
  669. local right = top:Cross(back)
  670. 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)
  671. end
  672.  
  673. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  674. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  675. local mesh = IT("SpecialMesh",wave)
  676. mesh.MeshType = "FileMesh"
  677. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  678. mesh.Scale = SIZE
  679. mesh.Offset = VT(0,0,-SIZE.X/8)
  680. wave.CFrame = CFRAME
  681. coroutine.resume(coroutine.create(function(PART)
  682. for i = 1, WAIT do
  683. Swait()
  684. mesh.Scale = mesh.Scale + GROW
  685. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  686. if DOESROT == true then
  687. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  688. end
  689. wave.Transparency = wave.Transparency + (0.5/WAIT)
  690. if wave.Transparency > 0.99 then
  691. wave:remove()
  692. end
  693. end
  694. end))
  695. end
  696.  
  697. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  698. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  699. local mesh = IT("SpecialMesh",wave)
  700. mesh.MeshType = "Sphere"
  701. mesh.Scale = SIZE
  702. mesh.Offset = VT(0,0,0)
  703. wave.CFrame = CFRAME
  704. coroutine.resume(coroutine.create(function(PART)
  705. for i = 1, WAIT do
  706. Swait()
  707. mesh.Scale = mesh.Scale + GROW
  708. wave.Transparency = wave.Transparency + (1/WAIT)
  709. if wave.Transparency > 0.99 then
  710. wave:remove()
  711. end
  712. end
  713. end))
  714. end
  715.  
  716. function MakeForm(PART,TYPE)
  717. if TYPE == "Cyl" then
  718. local MSH = IT("CylinderMesh",PART)
  719. elseif TYPE == "Ball" then
  720. local MSH = IT("SpecialMesh",PART)
  721. MSH.MeshType = "Sphere"
  722. elseif TYPE == "Wedge" then
  723. local MSH = IT("SpecialMesh",PART)
  724. MSH.MeshType = "Wedge"
  725. end
  726. end
  727.  
  728. function CheckTableForString(Table, String)
  729. for i, v in pairs(Table) do
  730. if string.find(string.lower(String), string.lower(v)) then
  731. return true
  732. end
  733. end
  734. return false
  735. end
  736.  
  737. function CheckIntangible(Hit)
  738. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  739. if Hit and Hit.Parent then
  740. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  741. return true
  742. end
  743. end
  744. return false
  745. end
  746.  
  747. Debris = game:GetService("Debris")
  748.  
  749. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  750. local Direction = CFrame.new(StartPos, Vec).lookVector
  751. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  752. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  753. if RayHit and CheckIntangible(RayHit) then
  754. if DelayIfHit then
  755. wait()
  756. end
  757. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  758. end
  759. return RayHit, RayPos, RayNormal
  760. end
  761.  
  762. function turnto(position)
  763. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  764. end
  765.  
  766. --//=================================\\
  767. --|| WEAPON CREATION
  768. --\\=================================//
  769.  
  770. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  771. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(1,1,1), VT(0, 2.7, 0))
  772. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  773.  
  774. for _, c in pairs(Weapon:GetChildren()) do
  775. if c.ClassName == "Part" then
  776. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  777. end
  778. end
  779.  
  780. Weapon.Parent = Character
  781.  
  782. local SKILLTEXTCOLOR = C3(1,0,0)
  783. local SKILLFONT = "Antique"
  784. local SKILLTEXTSIZE = 6
  785.  
  786. Humanoid.Died:connect(function()
  787. ATTACK = true
  788. end)
  789. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  790. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  791. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  792. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  793.  
  794. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E + HOLD] Dash", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  795. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  796. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[CLICK + HOLD] Ban", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  797. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ban Storm", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  798.  
  799. --//=================================\\
  800. --|| DAMAGING
  801. --\\=================================//
  802.  
  803. function BAN(CHARACTER)
  804. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  805. naeeym2.AlwaysOnTop = false
  806. naeeym2.Size = UDim2.new(5,35,2,35)
  807. naeeym2.StudsOffset = Vector3.new(0,1,0)
  808. naeeym2.Name = "BAN"
  809. local tecks2 = Instance.new("TextLabel",naeeym2)
  810. tecks2.BackgroundTransparency = 1
  811. tecks2.TextScaled = true
  812. tecks2.BorderSizePixel = 0
  813. tecks2.Text = "BANNED FROM SERVER"
  814. tecks2.Font = "Code"
  815. tecks2.TextSize = 30
  816. tecks2.TextStrokeTransparency = 1
  817. tecks2.TextColor3 = Color3.new(1,0,0)
  818. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  819. tecks2.Size = UDim2.new(1,0,0.5,0)
  820. tecks2.Parent = naeeym2
  821. local NewCharacter = IT("Model",Effects)
  822. NewCharacter.Name = "Ow im ded ;-;"
  823. for _, c in pairs(CHARACTER:GetDescendants()) do
  824. if c:IsA("BasePart") and c.Transparency == 0 then
  825. if c.Parent == CHARACTER then
  826. getbloody(c,5)
  827. end
  828. c:BreakJoints()
  829. c.Material = "Glass"
  830. c.Color = C3(0.5,0,0)
  831. c.CanCollide = true
  832. c.Transparency = 0.2
  833. if c:FindFirstChildOfClass("SpecialMesh") then
  834. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  835. end
  836. if c.Name == "Head" then
  837. c:ClearAllChildren()
  838. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  839. end
  840. if c.ClassName == "MeshPart" then
  841. c.TextureID = ""
  842. end
  843. if c:FindFirstChildOfClass("BodyPosition") then
  844. c:FindFirstChildOfClass("BodyPosition"):remove()
  845. end
  846. if c:FindFirstChildOfClass("ParticleEmitter") then
  847. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  848. end
  849. c.Parent = NewCharacter
  850. c.Name = "DeadPart"
  851. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  852. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  853. end
  854. end
  855. CHARACTER:remove()
  856. Debris:AddItem(NewCharacter,5)
  857. end
  858.  
  859. function ApplyAoE(POSITION,RANGE,BRUTAL)
  860. local CHILDREN = workspace:GetDescendants()
  861. for index, CHILD in pairs(CHILDREN) do
  862. if CHILD.ClassName == "Model" and CHILD ~= Character then
  863. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  864. if HUM then
  865. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  866. if TORSO then
  867. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  868. if BRUTAL == true then
  869. Kill(CHILD)
  870. else
  871. CHILD:BreakJoints()
  872. end
  873. end
  874. end
  875. end
  876. end
  877. end
  878. end
  879.  
  880. function BANNEAREST(POS,RANGE)
  881. for i,v in ipairs(workspace:GetChildren()) do
  882. local body = v:GetChildren()
  883. for part = 1, #body do
  884. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  885. if(body[part].Position - POS).Magnitude < RANGE then
  886. if v:FindFirstChildOfClass("Humanoid") then
  887. BAN(v)
  888. if game.Players:FindFirstChild(v.Name) then
  889. local Value = IT("BoolValue",Delete)
  890. Value.Name = v.Name
  891. end
  892. end
  893. end
  894. end
  895. end
  896. end
  897. end
  898.  
  899. local asd = Instance.new("ParticleEmitter")
  900. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  901. asd.LightEmission = .1
  902. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  903. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  904. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  905. asd.Transparency = bbb
  906. asd.Size = aaa
  907. asd.ZOffset = .9
  908. asd.Acceleration = Vector3.new(0, -15, 0)
  909. asd.LockedToPart = false
  910. asd.EmissionDirection = "Back"
  911. asd.Lifetime = NumberRange.new(1, 2)
  912. asd.Rotation = NumberRange.new(-100, 100)
  913. asd.RotSpeed = NumberRange.new(-100, 100)
  914. asd.Speed = NumberRange.new(10)
  915. asd.Enabled = false
  916. asd.VelocitySpread = 999
  917.  
  918. function getbloody(victim,amount)
  919. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  920. PART.CFrame = victim.CFrame
  921. local HITPLAYERSOUNDS = {"414517163","414517163"}
  922. Debris:AddItem(PART,5)
  923. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  924. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  925. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  926. local prtcl = asd:Clone()
  927. prtcl.Parent = PART
  928. prtcl:Emit(amount*10)
  929. end
  930.  
  931. local Particle = IT("ParticleEmitter",nil)
  932. Particle.Enabled = false
  933. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  934. Particle.LightEmission = 0.5
  935. Particle.Rate = 150
  936. Particle.ZOffset = 1
  937. Particle.Rotation = NumberRange.new(-180, 180)
  938. Particle.RotSpeed = NumberRange.new(-180, 180)
  939. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  940. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  941.  
  942. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  943. function ParticleEmitter(Table)
  944. local PRTCL = Particle:Clone()
  945. local Speed = Table.Speed or 5
  946. local Drag = Table.Drag or 0
  947. local Size1 = Table.Size1 or 1
  948. local Size2 = Table.Size2 or 5
  949. local Lifetime1 = Table.Lifetime1 or 1
  950. local Lifetime2 = Table.Lifetime2 or 1.5
  951. local Parent = Table.Parent or Torso
  952. local Emit = Table.Emit or 100
  953. local Offset = Table.Offset or 360
  954. local Acel = Table.Acel or VT(0,0,0)
  955. local Enabled = Table.Enabled or false
  956. PRTCL.Parent = Parent
  957. PRTCL.Size = NumberSequence.new(Size1,Size2)
  958. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  959. PRTCL.Speed = NumberRange.new(Speed)
  960. PRTCL.VelocitySpread = Offset
  961. PRTCL.Drag = Drag
  962. PRTCL.Acceleration = Acel
  963. if Enabled == false then
  964. PRTCL:Emit(Emit)
  965. Debris:AddItem(PRTCL,Lifetime2)
  966. else
  967. PRTCL.Enabled = true
  968. end
  969. return PRTCL
  970. end
  971.  
  972. --//=================================\\
  973. --|| ATTACK FUNCTIONS AND STUFF
  974. --\\=================================//
  975.  
  976. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  977. if FLOOR ~= nil then
  978. coroutine.resume(coroutine.create(function()
  979. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  980. PART.CFrame = CF(POSITION)
  981. for i = 1, 45 do
  982. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  983. RingPiece.Material = FLOOR.Material
  984. RingPiece.Color = FLOOR.Color
  985. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  986. Debris:AddItem(RingPiece,SWAIT/100)
  987. end
  988. PART:remove()
  989. end))
  990. end
  991. end
  992.  
  993. function Ban()
  994. ATTACK = true
  995. Rooted = false
  996. repeat
  997. for i=0, 0.2, 0.1 / Animation_Speed do
  998. Swait()
  999. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  1000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1006. end
  1007. for i=0, 0.08, 0.1 / Animation_Speed do
  1008. Swait()
  1009. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1010. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1014. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1015. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1016. end
  1017. for i=0, 0.08, 0.1 / Animation_Speed do
  1018. Swait()
  1019. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1020. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1024. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1025. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1026. end
  1027. CreateSound("147722910", Effects, 10, 1)
  1028. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  1029. if HITFLOOR ~= nil then
  1030. CreateSound("289842971", HandlePart, 10, 1)
  1031. CreateSound("289842971", HandlePart, 10, 1)
  1032. CreateSound("289842971", HandlePart, 10, 1)
  1033. CreateSound("289842971", HandlePart, 10, 1)
  1034. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  1035. end
  1036. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
  1037. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
  1038. for i=0, 0.1, 0.1 / Animation_Speed do
  1039. Swait()
  1040. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1045. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1046. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1047. end
  1048. if HOLD == true then
  1049. for i=0, 0.08, 0.1 / Animation_Speed do
  1050. Swait()
  1051. if HOLD == false then
  1052. break
  1053. end
  1054. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1059. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1061. end
  1062. end
  1063. until HOLD == false
  1064. for i=0, 1, 0.1 / Animation_Speed do
  1065. Swait()
  1066. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1073. end
  1074. for i=0, 5, 0.1 / Animation_Speed do
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1076. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1077. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1082. end
  1083. ATTACK = false
  1084. Rooted = false
  1085. end
  1086.  
  1087. function BanStorm()
  1088. ATTACK = true
  1089. Rooted = false
  1090. repeat
  1091. for i=0, 0.2, 0.1 / Animation_Speed do
  1092. Swait()
  1093. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  1094. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1098. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1099. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1100. end
  1101. for i=0, 0.08, 0.1 / Animation_Speed do
  1102. Swait()
  1103. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1104. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1108. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1109. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1110. end
  1111. for i=0, 0.08, 0.1 / Animation_Speed do
  1112. Swait()
  1113. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1114. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1118. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1119. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1120. end
  1121. CreateSound("147722910", Effects, 10, 1)
  1122. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  1123. if HITFLOOR ~= nil then
  1124. CreateSound("414517163", HandlePart, 10, 1)
  1125. CreateSound("414517163", HandlePart, 10, 1)
  1126. CreateSound("414517163", HandlePart, 10, 1)
  1127. CreateSound("414517163", HandlePart, 10, 1)
  1128. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(225,0,225),35)
  1129. end
  1130. CreateWave(VT(225,0,225),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(3,3,3))
  1131. CreateWave(VT(225,0,225),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(3,3,3))
  1132. for i=0, 0.1, 0.1 / Animation_Speed do
  1133. Swait()
  1134. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1141. end
  1142. if HOLD == false then
  1143. for i=0, 0.08, 0.01 / Animation_Speed do
  1144. Swait()
  1145. if HOLD == false then
  1146. break
  1147. end
  1148. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1149. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1153. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1154. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1155. end
  1156. end
  1157. until HOLD == false
  1158. for i=0, 1, 0.1 / Animation_Speed do
  1159. Swait()
  1160. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1167. end
  1168. for i=0, 5, 0.1 / Animation_Speed do
  1169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1170. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1173. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1174. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1175. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1176. end
  1177. ATTACK = false
  1178. Rooted = false
  1179. end
  1180.  
  1181. function Dash()
  1182. ATTACK = true
  1183. Rooted = true
  1184. local SOUND = CreateSound(0, Torso, 1, 1, true)
  1185. local LOOP = 0
  1186. repeat
  1187. LOOP = LOOP + 1
  1188. Swait()
  1189. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)
  1190. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
  1191. if HITFLOOR then
  1192. CharacterFade(C3(0.5,0,0),35)
  1193. HITPOS = HITPOS + VT(0,3.5,0)
  1194. local POS = RootPart.Position
  1195. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1196. RootPart.Velocity = VT(0,0,0)
  1197. RootPart.RotVelocity = VT(0,0,0)
  1198. end
  1199. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
  1200. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1203. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1204. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1205. until KEYHOLD == false
  1206. coroutine.resume(coroutine.create(function()
  1207. for i = 1, 20 do
  1208. Swait()
  1209. SOUND.Volume = SOUND.Volume - 1/20
  1210. end
  1211. SOUND:remove()
  1212. end))
  1213. if LOOP > 50 then
  1214. CreateSound(0,Torso,5,MRANDOM(8,13)/10,false)
  1215. for i = 1, 100 do
  1216. Swait()
  1217. RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
  1218. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1219. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1224. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1226. end
  1227. end
  1228. ATTACK = false
  1229. Rooted = false
  1230. end
  1231.  
  1232. --//=================================\\
  1233. --|| ASSIGN THINGS TO KEYS
  1234. --\\=================================//
  1235.  
  1236. function MouseDown(Mouse)
  1237. HOLD = true
  1238. if ATTACK == false then
  1239. Ban()
  1240. end
  1241. end
  1242.  
  1243. function MouseUp(Mouse)
  1244. HOLD = false
  1245. end
  1246.  
  1247. function KeyDown(Key)
  1248. KEYHOLD = true
  1249. if Key == "q" and ATTACK == false then
  1250. local pos = RootPart.Position
  1251. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  1252. CreateSound("769380905", Torso, 10, 1)
  1253. end
  1254.  
  1255. if Key == "x" then
  1256. BanStorm()
  1257. end
  1258.  
  1259. if Key == "e" then
  1260. Dash()
  1261. end
  1262. end
  1263.  
  1264. function KeyUp(Key)
  1265. KEYHOLD = false
  1266. end
  1267.  
  1268. Mouse.Button1Down:connect(function(NEWKEY)
  1269. MouseDown(NEWKEY)
  1270. end)
  1271. Mouse.Button1Up:connect(function(NEWKEY)
  1272. MouseUp(NEWKEY)
  1273. end)
  1274. Mouse.KeyDown:connect(function(NEWKEY)
  1275. KeyDown(NEWKEY)
  1276. end)
  1277. Mouse.KeyUp:connect(function(NEWKEY)
  1278. KeyUp(NEWKEY)
  1279. end)
  1280.  
  1281. --//=================================\\
  1282. --\\=================================//
  1283.  
  1284.  
  1285. function unanchor()
  1286. if UNANCHOR == true then
  1287. g = Character:GetChildren()
  1288. for i = 1, #g do
  1289. if g[i].ClassName == "Part" then
  1290. g[i].Anchored = false
  1291. end
  1292. end
  1293. end
  1294. end
  1295.  
  1296.  
  1297. --//=================================\\
  1298. --|| WRAP THE WHOLE SCRIPT UP
  1299. --\\=================================//
  1300.  
  1301. Humanoid.Changed:connect(function(Jump)
  1302. if Jump == "Jump" and (Disable_Jump == true) then
  1303. Humanoid.Jump = false
  1304. end
  1305. end)
  1306.  
  1307. Speed = 23
  1308.  
  1309. while true do
  1310. Swait()
  1311. ANIMATE.Parent = nil
  1312. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1313. IDLEANIMATION:Play()
  1314. SINE = SINE + CHANGE
  1315. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1316. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1317. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1318. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1319. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1320. if ATTACK == false then
  1321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1322. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1323. end
  1324. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  1325. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1326. 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)
  1327. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1328. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1329. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  1330. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1331. 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)
  1332. 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)
  1333. 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)
  1334. end
  1335. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1336. ANIM = "Jump"
  1337. if ATTACK == false then
  1338. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1339. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1341. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1343. end
  1344. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1345. ANIM = "Fall"
  1346. if ATTACK == false then
  1347. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1348. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1352. end
  1353. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1354. ANIM = "Idle"
  1355. if ATTACK == false then
  1356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1359. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1361. end
  1362. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1363. ANIM = "Walk"
  1364. WALK = WALK + 1 / Animation_Speed
  1365. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1366. WALK = 0
  1367. if WALKINGANIM == true then
  1368. WALKINGANIM = false
  1369. elseif WALKINGANIM == false then
  1370. WALKINGANIM = true
  1371. end
  1372. end
  1373. --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)
  1374. --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)
  1375. if ATTACK == false then
  1376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1378. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1379. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1380. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1381. end
  1382. end
  1383. unanchor()
  1384. Humanoid.MaxHealth = "inf"
  1385. Humanoid.Health = "inf"
  1386. if Rooted == false then
  1387. Disable_Jump = false
  1388. Humanoid.WalkSpeed = Speed
  1389. elseif Rooted == true then
  1390. Disable_Jump = true
  1391. Humanoid.WalkSpeed = 0
  1392. end
  1393. local MATHS = {"0","1"}
  1394. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1395. Humanoid.PlatformStand = false
  1396. local GAME = game.Players:GetChildren()
  1397. for PLAYER = 1, #GAME do
  1398. local PLAY = GAME[PLAYER]
  1399. if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  1400. PLAY.Character:remove()
  1401. end
  1402. end
  1403. end
  1404.  
  1405. --//=================================\\
  1406. --\\=================================//
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412. --//====================================================\\--
  1413. --|| END OF SCRIPT
  1414. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement