Advertisement
JacksoMykalJunior

BAN HAMMER [FE]

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