Advertisement
JacksoMykalJunior

BAN HAMMER

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