BAN HAMMER

Download Raw Clone


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

Raw paste data: