Advertisement
DaOMEGAa32

mr ducky

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