Advertisement
CerealKiller223

Untitled

Oct 27th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.38 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 Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. script.Name = "machine gun banisher v2 maded to destroy skids"
  84. --//====================================================\\--
  85. --|| EDITED BY INFINITEONEWITHDANK CREATED BY SHACKLUSTER
  86. --\\====================================================//--
  87.  
  88. print("Load Finished")
  89. print("Edited By InfiniteOneWithdank Hello User And Chaulo Say Hello To You User!")
  90. warn("Make Them All Suffer For Their Sins")
  91. warn("In Fact Make them Burn")
  92.  
  93.  
  94. script:ClearAllChildren()
  95. wait(0.2)
  96.  
  97. Player = CerealKiller223
  98. PlayerGui = Player.PlayerGui
  99. Cam = workspace.CurrentCamera
  100. Backpack = Player.Backpack
  101. Character = Player.Character
  102. Humanoid = Character.Humanoid
  103. RootPart = Character["HumanoidRootPart"]
  104. Torso = Character["Torso"]
  105. Head = Character["Head"]
  106. RightArm = Character["Right Arm"]
  107. LeftArm = Character["Left Arm"]
  108. RightLeg = Character["Right Leg"]
  109. LeftLeg = Character["Left Leg"]
  110. RootJoint = RootPart["RootJoint"]
  111. Neck = Torso["Neck"]
  112. RightShoulder = Torso["Right Shoulder"]
  113. LeftShoulder = Torso["Left Shoulder"]
  114. RightHip = Torso["Right Hip"]
  115. LeftHip = Torso["Left Hip"]
  116. local TIME = 0
  117. local sick = Instance.new("Sound",Torso)
  118.  
  119. IT = Instance.new
  120. CF = CFrame.new
  121. VT = Vector3.new
  122. RAD = math.rad
  123. C3 = Color3.new
  124. UD2 = UDim2.new
  125. BRICKC = BrickColor.new
  126. ANGLES = CFrame.Angles
  127. EULER = CFrame.fromEulerAnglesXYZ
  128. COS = math.cos
  129. ACOS = math.acos
  130. SIN = math.sin
  131. ASIN = math.asin
  132. ABS = math.abs
  133. MRANDOM = math.random
  134. FLOOR = math.floor
  135.  
  136. -- Thingy To Make Song Work
  137.  
  138. p = game.Players.LocalPlayer
  139. char = p.Character
  140.  
  141. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  142. local s = Instance.new("Sound",char)
  143. s.Name = "BGMusic"
  144. s.SoundId = "rbxassetid://900318768"
  145. s.Pitch = 1
  146. s.Volume = 100
  147. s.Looped = true
  148. s.archivable = false
  149. s.Parent = char.Head
  150. wait(0.1)
  151. s:play()
  152.  
  153. -- Rest of Script
  154. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  155.  
  156. --//=================================\\
  157. --|| PARTICLES N STUFF
  158. --\\=================================//
  159.  
  160. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  161. particleemitter.VelocitySpread = 350
  162. particleemitter.Lifetime = NumberRange.new(1)
  163. particleemitter.Speed = NumberRange.new(0)
  164. cringememe= {}
  165. for i=0, 19 do
  166. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  167. end
  168. particleemitter.Size = NumberSequence.new(cringememe)
  169. particleemitter.Rate = 20
  170. particleemitter.LockedToPart = true
  171. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  172. particleemitter.LightEmission = 1
  173. particleemitter.Texture = "rbxassetid://72106579"
  174. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  175.  
  176. local particleemitter = Instance.new('ParticleEmitter', Torso)
  177. particleemitter.VelocitySpread = 250
  178. particleemitter.Lifetime = NumberRange.new(3)
  179. particleemitter.Speed = NumberRange.new(1.5)
  180. youAreATHOT = {}
  181. for i=0, 19 do
  182. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  183. end
  184. particleemitter.Size = NumberSequence.new(youAreATHOT)
  185. particleemitter.Rate = 10
  186. particleemitter.LockedToPart = false
  187. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  188. particleemitter.LightEmission = 1
  189. particleemitter.Texture = "rbxassetid://"
  190. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  191.  
  192. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  193. particleemitter.VelocitySpread = 350
  194. particleemitter.Lifetime = NumberRange.new(1)
  195. particleemitter.Speed = NumberRange.new(0)
  196. cringememe2= {}
  197. for i=0, 19 do
  198. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  199. end
  200. particleemitter.Size = NumberSequence.new(cringememe2)
  201. particleemitter.Rate = 20
  202. particleemitter.LockedToPart = true
  203. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  204. particleemitter.LightEmission = 1
  205. particleemitter.Texture = "rbxassetid://"
  206. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  207.  
  208. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  209. particleemitter.VelocitySpread = 350
  210. particleemitter.Lifetime = NumberRange.new(1)
  211. particleemitter.Speed = NumberRange.new(0)
  212. cringememe3= {}
  213. for i=0, 19 do
  214. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  215. end
  216. particleemitter.Size = NumberSequence.new(cringememe3)
  217. particleemitter.Rate = 30
  218. particleemitter.LockedToPart = true
  219. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  220. particleemitter.LightEmission = 1
  221. particleemitter.Texture = "rbxassetid://38727848"
  222. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  223.  
  224. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  225. particleemitter.VelocitySpread = 350
  226. particleemitter.Lifetime = NumberRange.new(1)
  227. particleemitter.Speed = NumberRange.new(0)
  228. cringememe4= {}
  229. for i=0, 19 do
  230. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  231. end
  232. particleemitter.Size = NumberSequence.new(cringememe4)
  233. particleemitter.Rate = 30
  234. particleemitter.LockedToPart = true
  235. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  236. particleemitter.LightEmission = 1
  237. particleemitter.Texture = "rbxassetid://38727848"
  238. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  239.  
  240. --//=================================\\
  241. --|| USEFUL VALUES
  242. --\\=================================//
  243.  
  244. Animation_Speed = 1.5
  245. local FORCERESET = false
  246. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  247. local Speed = 16
  248. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  249. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  250. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  251. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  252. local DAMAGEMULTIPLIER = 1
  253. local ANIM = "Idle"
  254. local ATTACK = false
  255. local EQUIPPED = false
  256. local HOLD = false
  257. local COMBO = 1
  258. local Rooted = false
  259. local SINE = 0
  260. local KEYHOLD = false
  261. local CHANGE = 2 / Animation_Speed
  262. local WALKINGANIM = false
  263. local VALUE1 = false
  264. local VALUE2 = false
  265. local ROBLOXIDLEANIMATION = IT("Animation")
  266. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  267. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  268. --ROBLOXIDLEANIMATION.Parent = Humanoid
  269. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  270. WEAPONGUI.Name = "BanishV3Gui"
  271. local Weapon = IT("Model")
  272. Weapon.Name = "Adds"
  273. local Effects = IT("Folder", Weapon)
  274. Effects.Name = "Effects"
  275. local ANIMATOR = Humanoid.Animator
  276. local ANIMATE = Character:FindFirstChild("Animate")
  277. local UNANCHOR = true
  278. local TOBANISH = {}
  279. script.Parent = PlayerGui
  280.  
  281. function StatLabel(CFRAME, TEXT, COLOR)
  282. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  283. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  284. local BODYGYRO = IT("BodyGyro", STATPART)
  285. game:GetService("Debris"):AddItem(STATPART ,5)
  286. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  287. BILLBOARDGUI.Adornee = STATPART
  288. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  289. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  290. BILLBOARDGUI.AlwaysOnTop = false
  291. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  292. TEXTLABEL.BackgroundTransparency = 1
  293. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  294. TEXTLABEL.Text = TEXT
  295. TEXTLABEL.Font = SKILLFONT
  296. TEXTLABEL.FontSize="Size42"
  297. TEXTLABEL.TextColor3 = COLOR
  298. TEXTLABEL.TextStrokeTransparency = 0
  299. TEXTLABEL.TextScaled = true
  300. TEXTLABEL.TextWrapped = true
  301. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  302. for i = 1, 50 do
  303. Swait()
  304. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  305. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  306. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  307. end
  308. THEPART.Parent = nil
  309. end),STATPART, TEXTLABEL)
  310. end
  311.  
  312. --//=================================\\
  313. --\\=================================//
  314.  
  315.  
  316. --//=================================\\
  317. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  318. --\\=================================//
  319.  
  320. ArtificialHB = Instance.new("BindableEvent", script)
  321. ArtificialHB.Name = "ArtificialHB"
  322.  
  323. script:WaitForChild("ArtificialHB")
  324.  
  325. frame = Frame_Speed
  326. tf = 0
  327. allowframeloss = false
  328. tossremainder = false
  329. lastframe = tick()
  330. script.ArtificialHB:Fire()
  331.  
  332. game:GetService("RunService").Heartbeat:connect(function(s, p)
  333. tf = tf + s
  334. if tf >= frame then
  335. if allowframeloss then
  336. script.ArtificialHB:Fire()
  337. lastframe = tick()
  338. else
  339. for i = 1, math.floor(tf / frame) do
  340. script.ArtificialHB:Fire()
  341. end
  342. lastframe = tick()
  343. end
  344. if tossremainder then
  345. tf = 0
  346. else
  347. tf = tf - frame * math.floor(tf / frame)
  348. end
  349. end
  350. end)
  351.  
  352. --//=================================\\
  353. --\\=================================//
  354.  
  355. --//=================================\\
  356. --|| SOME TAG EDIT
  357. --\\=================================//
  358.  
  359. m = game.Players.LocalPlayer
  360. char = m.Character
  361. local txt = Instance.new("BillboardGui", char)
  362. txt.Adornee = char.Head
  363. txt.Name = "_status"
  364. txt.Size = UDim2.new(2, 0, 1.2, 0)
  365. txt.StudsOffset = Vector3.new(-9, 8, 0)
  366. local text = Instance.new("TextLabel", txt)
  367. text.Size = UDim2.new(10, 0, 7, 0)
  368. text.FontSize = "Size24"
  369. text.TextScaled = true
  370. text.TextTransparency = 0
  371. text.BackgroundTransparency = 1
  372. text.TextTransparency = 0
  373. text.TextStrokeTransparency = 0
  374. text.Font = "Bodoni"
  375. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  376. v = Instance.new("Part")
  377. v.Name = "ColorBrick"
  378. v.Parent = m.Character
  379. v.FormFactor = "Symmetric"
  380. v.Anchored = true
  381. v.CanCollide = false
  382. v.BottomSurface = "Smooth"
  383. v.TopSurface = "Smooth"
  384. v.Size = Vector3.new(10, 5, 3)
  385. v.Transparency = 1
  386. v.CFrame = char.Torso.CFrame
  387. v.BrickColor = BrickColor.new("Really black")
  388. v.Transparency = 1
  389. v.Shape = "Block"
  390. spawn(function()
  391. local TweenService = game:GetService("TweenService")
  392. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  393. local Int = 0
  394. while wait(0.5) do
  395. if Int == #Colours then Int = 0 end
  396. Int = Int+1
  397. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  398. end
  399. end)
  400. text.Text = "Burning Hope!"
  401.  
  402. --//=================================\\
  403. --\\=================================//
  404.  
  405. --//=================================\\
  406. --|| SOME FUNCTIONS
  407. --\\=================================//
  408.  
  409. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  410. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  411. end
  412.  
  413. function PositiveAngle(NUMBER)
  414. if NUMBER >= 0 then
  415. NUMBER = 0
  416. end
  417. return NUMBER
  418. end
  419.  
  420. function NegativeAngle(NUMBER)
  421. if NUMBER <= 0 then
  422. NUMBER = 0
  423. end
  424. return NUMBER
  425. end
  426.  
  427. function Swait(NUMBER)
  428. if NUMBER == 0 or NUMBER == nil then
  429. ArtificialHB.Event:wait()
  430. else
  431. for i = 1, NUMBER do
  432. ArtificialHB.Event:wait()
  433. end
  434. end
  435. end
  436.  
  437. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  438. local NEWMESH = IT(MESH)
  439. if MESH == "SpecialMesh" then
  440. NEWMESH.MeshType = MESHTYPE
  441. if MESHID ~= "nil" and MESHID ~= "" then
  442. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  443. end
  444. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  445. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  446. end
  447. end
  448. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  449. NEWMESH.Scale = SCALE
  450. NEWMESH.Parent = PARENT
  451. return NEWMESH
  452. end
  453.  
  454. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  455. local NEWPART = IT("Part")
  456. NEWPART.formFactor = FORMFACTOR
  457. NEWPART.Reflectance = REFLECTANCE
  458. NEWPART.Transparency = TRANSPARENCY
  459. NEWPART.CanCollide = false
  460. NEWPART.Locked = true
  461. NEWPART.Anchored = true
  462. if ANCHOR == false then
  463. NEWPART.Anchored = false
  464. end
  465. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  466. NEWPART.Name = NAME
  467. NEWPART.Size = SIZE
  468. NEWPART.Position = Torso.Position
  469. NEWPART.Material = MATERIAL
  470. NEWPART:BreakJoints()
  471. NEWPART.Parent = PARENT
  472. return NEWPART
  473. end
  474.  
  475. local function weldBetween(a, b)
  476. local weldd = Instance.new("ManualWeld")
  477. weldd.Part0 = a
  478. weldd.Part1 = b
  479. weldd.C0 = CFrame.new()
  480. weldd.C1 = b.CFrame:inverse() * a.CFrame
  481. weldd.Parent = a
  482. return weldd
  483. end
  484.  
  485.  
  486. function QuaternionFromCFrame(cf)
  487. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  488. local trace = m00 + m11 + m22
  489. if trace > 0 then
  490. local s = math.sqrt(1 + trace)
  491. local recip = 0.5 / s
  492. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  493. else
  494. local i = 0
  495. if m11 > m00 then
  496. i = 1
  497. end
  498. if m22 > (i == 0 and m00 or m11) then
  499. i = 2
  500. end
  501. if i == 0 then
  502. local s = math.sqrt(m00 - m11 - m22 + 1)
  503. local recip = 0.5 / s
  504. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  505. elseif i == 1 then
  506. local s = math.sqrt(m11 - m22 - m00 + 1)
  507. local recip = 0.5 / s
  508. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  509. elseif i == 2 then
  510. local s = math.sqrt(m22 - m00 - m11 + 1)
  511. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  512. end
  513. end
  514. end
  515.  
  516. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  517. local xs, ys, zs = x + x, y + y, z + z
  518. local wx, wy, wz = w * xs, w * ys, w * zs
  519. local xx = x * xs
  520. local xy = x * ys
  521. local xz = x * zs
  522. local yy = y * ys
  523. local yz = y * zs
  524. local zz = z * zs
  525. 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))
  526. end
  527.  
  528. function QuaternionSlerp(a, b, t)
  529. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  530. local startInterp, finishInterp;
  531. if cosTheta >= 0.0001 then
  532. if (1 - cosTheta) > 0.0001 then
  533. local theta = ACOS(cosTheta)
  534. local invSinTheta = 1 / SIN(theta)
  535. startInterp = SIN((1 - t) * theta) * invSinTheta
  536. finishInterp = SIN(t * theta) * invSinTheta
  537. else
  538. startInterp = 1 - t
  539. finishInterp = t
  540. end
  541. else
  542. if (1 + cosTheta) > 0.0001 then
  543. local theta = ACOS(-cosTheta)
  544. local invSinTheta = 1 / SIN(theta)
  545. startInterp = SIN((t - 1) * theta) * invSinTheta
  546. finishInterp = SIN(t * theta) * invSinTheta
  547. else
  548. startInterp = t - 1
  549. finishInterp = t
  550. end
  551. end
  552. 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
  553. end
  554.  
  555. function Clerp(a, b, t)
  556. local qa = {QuaternionFromCFrame(a)}
  557. local qb = {QuaternionFromCFrame(b)}
  558. local ax, ay, az = a.x, a.y, a.z
  559. local bx, by, bz = b.x, b.y, b.z
  560. local _t = 1 - t
  561. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  562. end
  563.  
  564. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  565. local frame = IT("Frame")
  566. frame.BackgroundTransparency = TRANSPARENCY
  567. frame.BorderSizePixel = BORDERSIZEPIXEL
  568. frame.Position = POSITION
  569. frame.Size = SIZE
  570. frame.BackgroundColor3 = COLOR
  571. frame.BorderColor3 = BORDERCOLOR
  572. frame.Name = NAME
  573. frame.Parent = PARENT
  574. return frame
  575. end
  576.  
  577. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  578. local label = IT("TextLabel")
  579. label.BackgroundTransparency = 1
  580. label.Size = UD2(1, 0, 1, 0)
  581. label.Position = UD2(0, 0, 0, 0)
  582. label.TextColor3 = TEXTCOLOR
  583. label.TextStrokeTransparency = STROKETRANSPARENCY
  584. label.TextTransparency = TRANSPARENCY
  585. label.FontSize = TEXTFONTSIZE
  586. label.Font = TEXTFONT
  587. label.BorderSizePixel = BORDERSIZEPIXEL
  588. label.TextScaled = false
  589. label.Text = TEXT
  590. label.Name = NAME
  591. label.Parent = PARENT
  592. return label
  593. end
  594.  
  595. function NoOutlines(PART)
  596. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  597. end
  598.  
  599. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  600. local NEWWELD = IT(TYPE)
  601. NEWWELD.Part0 = PART0
  602. NEWWELD.Part1 = PART1
  603. NEWWELD.C0 = C0
  604. NEWWELD.C1 = C1
  605. NEWWELD.Parent = PARENT
  606. return NEWWELD
  607. end
  608.  
  609. local S = IT("Sound")
  610. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  611. local NEWSOUND = nil
  612. coroutine.resume(coroutine.create(function()
  613. NEWSOUND = S:Clone()
  614. NEWSOUND.Parent = PARENT
  615. NEWSOUND.Volume = VOLUME
  616. NEWSOUND.Pitch = PITCH
  617. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  618. NEWSOUND:play()
  619. if DOESLOOP == true then
  620. NEWSOUND.Looped = true
  621. else
  622. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  623. NEWSOUND:remove()
  624. end
  625. end))
  626. return NEWSOUND
  627. end
  628.  
  629. function CFrameFromTopBack(at, top, back)
  630. local right = top:Cross(back)
  631. 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)
  632. end
  633.  
  634. --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})
  635. local cR=255
  636. local cG=0
  637. local cB=0
  638. local flg5=1 local omgidk=1
  639. local add=15
  640. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  641. if omgidk>10000 then omgidk=0 end
  642. omgidk=omgidk+1
  643. if cR>=255 then flg5=1 end
  644. if cG>=255 then flg5=2 end
  645. if cB>=255 then flg5=3 end
  646. if flg5==1 then cR=cR-add cG=cG+add end
  647. if flg5==2 then cG=cG-add cB=cB+add end
  648. if flg5==3 then cB=cB-add cR=cR+add end
  649. color=Color3.fromRGB(cR,cG,cB)
  650. function WACKYEFFECT(Table)
  651. local TYPE = (Table.EffectType or "Sphere")
  652. local SIZE = (Table.Size or VT(6,6,6))
  653. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  654. local TRANSPARENCY = (Table.Transparency or 0)
  655. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  656. local CFRAME = (Table.CFrame or Torso.CFrame)
  657. local MOVEDIRECTION = (Table.MoveToPos or nil)
  658. local ROTATION1 = (Table.RotationX or 0)
  659. local ROTATION2 = (Table.RotationY or 0)
  660. local ROTATION3 = (Table.RotationZ or 0)
  661. local MATERIAL = "Neon"
  662. local COLOR = color
  663. local TIME = (Table.Time or 45)
  664. local SOUNDID = (Table.SoundID or nil)
  665. local SOUNDPITCH = (Table.SoundPitch or nil)
  666. local SOUNDVOLUME = (Table.SoundVolume or nil)
  667. coroutine.resume(coroutine.create(function()
  668. local PLAYSSOUND = false
  669. local SOUND = nil
  670. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  671. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  672. PLAYSSOUND = true
  673. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  674. end
  675. EFFECT.Color = color
  676. local MSH = nil
  677. if TYPE == "Sphere" then
  678. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  679. elseif TYPE == "Block" then
  680. MSH = IT("BlockMesh",EFFECT)
  681. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  682. elseif TYPE == "Wave" then
  683. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  684. elseif TYPE == "Ring" then
  685. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  686. elseif TYPE == "Slash" then
  687. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  688. elseif TYPE == "Round Slash" then
  689. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  690. elseif TYPE == "Swirl" then
  691. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  692. elseif TYPE == "Skull" then
  693. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  694. elseif TYPE == "Crystal" then
  695. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  696. end
  697. if MSH ~= nil then
  698. local MOVESPEED = nil
  699. if MOVEDIRECTION ~= nil then
  700. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  701. end
  702. local GROWTH = SIZE - ENDSIZE
  703. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  704. if TYPE == "Block" then
  705. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  706. else
  707. EFFECT.CFrame = CFRAME
  708. end
  709. for LOOP = 1, TIME+1 do
  710. Swait()
  711. MSH.Scale = MSH.Scale - GROWTH/TIME
  712. if TYPE == "Wave" then
  713. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  714. end
  715. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  716. if TYPE == "Block" then
  717. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  718. else
  719. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  720. end
  721. if MOVEDIRECTION ~= nil then
  722. local ORI = EFFECT.Orientation
  723. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  724. EFFECT.Orientation = ORI
  725. end
  726. end
  727. if PLAYSSOUND == false then
  728. EFFECT:remove()
  729. else
  730. SOUND.Stopped:Connect(function()
  731. EFFECT:remove()
  732. end)
  733. end
  734. else
  735. if PLAYSSOUND == false then
  736. EFFECT:remove()
  737. else
  738. repeat Swait() until SOUND.Playing == false
  739. EFFECT:remove()
  740. end
  741. end
  742. end))
  743. end
  744. end)
  745. function MakeForm(PART,TYPE)
  746. if TYPE == "Cyl" then
  747. local MSH = IT("CylinderMesh",PART)
  748. elseif TYPE == "Ball" then
  749. local MSH = IT("SpecialMesh",PART)
  750. MSH.MeshType = "Sphere"
  751. elseif TYPE == "Wedge" then
  752. local MSH = IT("SpecialMesh",PART)
  753. MSH.MeshType = "Wedge"
  754. end
  755. end
  756. function SpawnTrail(FROM,TO,BIG)
  757. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  758. MakeForm(TRAIL,"Cyl")
  759. local cR=255
  760. local cG=0
  761. local cB=0
  762. local flg5=1 local omgidk=1
  763. local add=15
  764. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  765. if omgidk>10000 then omgidk=0 end
  766. omgidk=omgidk+1
  767. if cR>=255 then flg5=1 end
  768. if cG>=255 then flg5=2 end
  769. if cB>=255 then flg5=3 end
  770. if flg5==1 then cR=cR-add cG=cG+add end
  771. if flg5==2 then cG=cG-add cB=cB+add end
  772. if flg5==3 then cB=cB-add cR=cR+add end
  773. color=Color3.fromRGB(cR,cG,cB)
  774. TRAIL.Color = color
  775. end)
  776. local DIST = (FROM - TO).Magnitude
  777. if BIG == true then
  778. TRAIL.Size = VT(5,DIST,5)
  779. else
  780. TRAIL.Size = VT(5,DIST,5)
  781. end
  782. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  783. coroutine.resume(coroutine.create(function()
  784. for i = 1, 55 do
  785. Swait()
  786. TRAIL.Transparency = TRAIL.Transparency + 0.01
  787. end
  788. TRAIL:remove()
  789. end))
  790. end
  791.  
  792. Debris = game:GetService("Debris")
  793.  
  794. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  795. local DIRECTION = CF(StartPos,EndPos).lookVector
  796. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  797. end
  798.  
  799. function turnto(position)
  800. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  801. end
  802.  
  803. --//=================================\\
  804. --|| WEAPON CREATION
  805. --\\=================================//
  806. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  807.  
  808. local Particle = IT("ParticleEmitter",nil)
  809. Particle.Enabled = false
  810. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  811. Particle.LightEmission = 0.5
  812. Particle.Rate = 150
  813. Particle.ZOffset = 0.2
  814. Particle.Rotation = NumberRange.new(-180, 180)
  815. Particle.RotSpeed = NumberRange.new(-180, 180)
  816. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  817. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  818.  
  819. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  820. function ParticleEmitter(Table)
  821. local PRTCL = Particle:Clone()
  822. local Speed = Table.Speed or 5
  823. local Drag = Table.Drag or 0
  824. local Size1 = Table.Size1 or 1
  825. local Size2 = Table.Size2 or 5
  826. local Lifetime1 = Table.Lifetime1 or 1
  827. local Lifetime2 = Table.Lifetime2 or 1.5
  828. local Parent = Table.Parent or Torso
  829. local Emit = Table.Emit or 100
  830. local Offset = Table.Offset or 360
  831. local Acel = Table.Acel or VT(0,0,0)
  832. local Enabled = Table.Enabled or false
  833. PRTCL.Parent = Parent
  834. PRTCL.Size = NumberSequence.new(Size1,Size2)
  835. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  836. PRTCL.Speed = NumberRange.new(Speed)
  837. PRTCL.VelocitySpread = Offset
  838. PRTCL.Drag = Drag
  839. PRTCL.Acceleration = Acel
  840. if Enabled == false then
  841. PRTCL:Emit(Emit)
  842. Debris:AddItem(PRTCL,Lifetime2)
  843. else
  844. PRTCL.Enabled = true
  845. end
  846. return PRTCL
  847. end
  848.  
  849. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  850. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  851. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  852. MakeForm(Part,"Wedge")
  853. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  854. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  855. MakeForm(Part,"Wedge")
  856. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  857. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  858. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  859. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  860. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  861. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  862. MakeForm(Part,"Cyl")
  863. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  864. for i = 1, 8 do
  865. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  866. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  867. end
  868. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  869. MakeForm(Part,"Cyl")
  870. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  871. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  872. MakeForm(Part,"Ball")
  873. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  874. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  875. MakeForm(Part,"Wedge")
  876. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  877. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  878. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  879. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  880. MakeForm(Part,"Cyl")
  881. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  882. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  883. MakeForm(Part,"Cyl")
  884. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  885. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  886. MakeForm(Part,"Cyl")
  887. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  888. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  889. MakeForm(Part,"Wedge")
  890. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  891. local LASTPART = Handle
  892. for i = 1, 10 do
  893. if LASTPART == Handle then
  894. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  895. LASTPART = Part
  896. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  897. else
  898. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  899. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  900. LASTPART = Part
  901. end
  902. end
  903.  
  904. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  905. MakeForm(Barrel,"Cyl")
  906. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  907. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  908. MakeForm(Part,"Cyl")
  909. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  910. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  911. MakeForm(Part,"Wedge")
  912. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  913. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  914. MakeForm(Hole,"Cyl")
  915. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  916. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  917. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  918. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  919. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  920. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  921. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  922. coroutine.resume(coroutine.create(function()
  923. while wait() do
  924. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  925. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  926. end
  927. end))
  928.  
  929. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  930. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  931.  
  932. local cR=255
  933. local cG=0
  934. local cB=0
  935. local flg5=1 local omgidk=1
  936. local add=15
  937. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  938. if omgidk>10000 then omgidk=0 end
  939. omgidk=omgidk+1
  940. if cR>=255 then flg5=1 end
  941. if cG>=255 then flg5=2 end
  942. if cB>=255 then flg5=3 end
  943. if flg5==1 then cR=cR-add cG=cG+add end
  944. if flg5==2 then cG=cG-add cB=cB+add end
  945. if flg5==3 then cB=cB-add cR=cR+add end
  946. color=Color3.fromRGB(cR,cG,cB)
  947. for _, c in pairs(Weapon:GetDescendants()) do
  948. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  949. c.Material = "Glass"
  950. c.Color = C3(0,0,0)
  951. elseif c.ClassName == "Part" and c.Name == "Eye" then
  952. c.Color = color
  953. c.Material = "Neon"
  954. end
  955. end
  956. end)
  957. Weapon.Parent = Character
  958. for _, c in pairs(Weapon:GetChildren()) do
  959. if c.ClassName == "Part" then
  960. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  961. end
  962. end
  963.  
  964. function swait(num)
  965. if num == 0 or num == nil then
  966. ArtificialHB.Event:wait()
  967. else
  968. for i = 0, num do
  969. ArtificialHB.Event:wait()
  970. end
  971. end
  972. end
  973.  
  974. function chatfunc(text)
  975. local chat = coroutine.wrap(function()
  976. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  977. Character:FindFirstChild("TalkingBillBoard"):destroy()
  978. end
  979. local Bill = Instance.new("BillboardGui",Character)
  980. Bill.Size = UDim2.new(0,100,0,40)
  981. Bill.StudsOffset = Vector3.new(0,3,0)
  982. Bill.Adornee = Character.Head
  983. Bill.Name = "TalkingBillBoard"
  984. local Hehe = Instance.new("TextLabel",Bill)
  985. Hehe.BackgroundTransparency = 1
  986. Hehe.BorderSizePixel = 0
  987. Hehe.Text = ""
  988. Hehe.Font = "Bodoni"
  989. Hehe.TextSize = 40
  990. Hehe.TextStrokeTransparency = 0
  991. Hehe.Size = UDim2.new(1,0,0.5,0)
  992. coroutine.resume(coroutine.create(function()
  993. while Hehe ~= nil do
  994. swait()
  995. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  996. Hehe.Rotation = math.random(-5,5)
  997. Hehe.TextColor3 = Color3.new(0,255,0)
  998. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  999. end
  1000. end))
  1001. for i = 1,string.len(text),1 do
  1002. swait()
  1003. Hehe.Text = string.sub(text,1,i)
  1004. end
  1005. swait(90)--Re[math.random(1, 93)]
  1006. for i = 0, 1, .025 do
  1007. swait()
  1008. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1009. Hehe.TextStrokeTransparency = i
  1010. Hehe.TextTransparency = i
  1011. end
  1012. Bill:Destroy()
  1013. end)
  1014. chat()
  1015. end
  1016.  
  1017. function onChatted(msg)
  1018. chatfunc(msg)
  1019. end
  1020.  
  1021. Player.Chatted:connect(onChatted)
  1022.  
  1023. local BODY = {}
  1024. for _, c in pairs(Character:GetDescendants()) do
  1025. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1026. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1027. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1028. end
  1029. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1030. elseif c:IsA("JointInstance") then
  1031. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1032. end
  1033. end
  1034.  
  1035. function refit()
  1036. Character.Parent = workspace
  1037. for e = 1, #BODY do
  1038. if BODY[e] ~= nil then
  1039. local STUFF = BODY[e]
  1040. local PART = STUFF[1]
  1041. local PARENT = STUFF[2]
  1042. local MATERIAL = STUFF[3]
  1043. local COLOR = STUFF[4]
  1044. local TRANSPARENCY = STUFF[5]
  1045. --local SIZE = STUFF[6]
  1046. local NAME = STUFF[7]
  1047. if PART.ClassName == "Part" and PART ~= RootPart then
  1048. PART.Material = MATERIAL
  1049. PART.Transparency = TRANSPARENCY
  1050. PART.Name = NAME
  1051. end
  1052. if PART.Parent ~= PARENT then
  1053. Humanoid:remove()
  1054. PART.Parent = PARENT
  1055. Humanoid = IT("Humanoid",Character)
  1056. end
  1057. end
  1058. end
  1059. end
  1060.  
  1061. local SKILLTEXTCOLOR = C3(0,255,0)
  1062. local SKILLFONT = "Code"
  1063. local SKILLTEXTSIZE = 7
  1064.  
  1065. Humanoid.Died:connect(function()
  1066. refit()
  1067. end)
  1068.  
  1069. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1070. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1071. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1072. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1073. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1074. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1075. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1076. local SKILL8FRAME = 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 8 Frame")
  1077.  
  1078. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1079. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1080. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1081. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1082. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Burning Fury", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1083. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Dance Boi", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1084. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  1085. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  1086.  
  1087. function printbye(Name)
  1088. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1089. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1090. end
  1091.  
  1092. workspace.ChildAdded:connect(function(instance)
  1093. for BANISH = 1, #TOBANISH do
  1094. if TOBANISH[BANISH] ~= nil then
  1095. if instance.Name == TOBANISH[BANISH] then
  1096. coroutine.resume(coroutine.create(function()
  1097. printbye(instance.Name)
  1098. instance:ClearAllChildren()
  1099. Debris:AddItem(instance,0.0005)
  1100. end))
  1101. end
  1102. end
  1103. end
  1104. end)
  1105.  
  1106. --//=================================\\
  1107. --|| DAMAGING
  1108. --\\=================================//
  1109.  
  1110. function Banish(Foe)
  1111. if Foe then
  1112. coroutine.resume(coroutine.create(function()
  1113. --if game.Players:FindFirstChild(Foe.Name) then
  1114. table.insert(TOBANISH,Foe.Name)
  1115. printbye(Foe.Name)
  1116. --end
  1117. Foe.Archivable = true
  1118. local CLONE = Foe:Clone()
  1119. Foe:Destroy()
  1120. CLONE.Parent = Effects
  1121. CLONE:BreakJoints()
  1122. local MATERIALS = {"Glass","Neon"}
  1123. for _, c in pairs(CLONE:GetDescendants()) do
  1124. if c:IsA("BasePart") then
  1125. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1126. CreateSound(340722848, c, 10, 1, false)
  1127. end
  1128. c.Anchored = true
  1129. c.Transparency = c.Transparency + 0.2
  1130. c.Material = MATERIALS[MRANDOM(1,2)]
  1131. c.Color = C3(0,255,0)
  1132. if c.ClassName == "MeshPart" then
  1133. c.TextureID = ""
  1134. end
  1135. if c:FindFirstChildOfClass("SpecialMesh") then
  1136. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1137. end
  1138. if c:FindFirstChildOfClass("Decal") then
  1139. c:FindFirstChildOfClass("Decal"):remove()
  1140. end
  1141. c.Name = "Banished"
  1142. c.CanCollide = false
  1143. else
  1144. c:remove()
  1145. end
  1146. end
  1147. local A = false
  1148. for i = 1, 35 do
  1149. if A == false then
  1150. A = true
  1151. elseif A == true then
  1152. A = false
  1153. end
  1154. for _, c in pairs(CLONE:GetDescendants()) do
  1155. if c:IsA("BasePart") then
  1156. c.Anchored = true
  1157. c.Material = MATERIALS[MRANDOM(1,2)]
  1158. c.Transparency = c.Transparency + 0.8/35
  1159. if A == false then
  1160. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1161. elseif A == true then
  1162. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1163. end
  1164. end
  1165. end
  1166. Swait()
  1167. end
  1168. CLONE:remove()
  1169. end))
  1170. end
  1171. end
  1172.  
  1173. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1174. local CHILDREN = workspace:GetDescendants()
  1175. for index, CHILD in pairs(CHILDREN) do
  1176. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1177. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1178. if HUM then
  1179. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1180. if TORSO then
  1181. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1182. if ISBANISH == true then
  1183. Banish(CHILD)
  1184. else
  1185. if ISBANISH == "Gravity" then
  1186. HUM.PlatformStand = true
  1187. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1188. local grav = Instance.new("BodyPosition",TORSO)
  1189. grav.D = 15
  1190. grav.P = 20000
  1191. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1192. grav.position = TORSO.Position
  1193. grav.Name = "V3BanishForce"..Player.Name
  1194. else
  1195. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1196. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1197. end
  1198. else
  1199. HUM.PlatformStand = false
  1200. end
  1201. end
  1202. elseif ISBANISH == "Gravity" then
  1203. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1204. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1205. HUM.PlatformStand = false
  1206. end
  1207. end
  1208. end
  1209. end
  1210. end
  1211. end
  1212. end
  1213.  
  1214. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  1215.  
  1216. --//=================================\\
  1217. --|| ATTACK FUNCTIONS AND STUFF
  1218. --\\=================================//
  1219. local LAUGHS = {"907329532"}
  1220.  
  1221. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1222. MakeForm(RightHole,"Cyl")
  1223. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1224. MakeForm(LeftHole,"Cyl")
  1225.  
  1226. function getbloody(victim,amount)
  1227. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1228. PART.CFrame = victim.CFrame
  1229. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1230. Debris:AddItem(PART,5)
  1231. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1232. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1233. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1234. local prtcl = asd:Clone()
  1235. prtcl.Parent = PART
  1236. prtcl:Emit(amount*10)
  1237. end
  1238.  
  1239. function Kill(Char)
  1240. local NewCharacter = IT("Model",Effects)
  1241. NewCharacter.Name = "Ow im ded ;-;"
  1242. for _, c in pairs(Char:GetDescendants()) do
  1243. if c:IsA("BasePart") and c.Transparency == 0 then
  1244. if c.Parent == Char then
  1245. getbloody(c,5)
  1246. end
  1247. c:BreakJoints()
  1248. c.Material = "Glass"
  1249. c.Color = C3(0.5,0,0)
  1250. c.CanCollide = true
  1251. c.Transparency = 0.3
  1252. if c:FindFirstChildOfClass("SpecialMesh") then
  1253. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1254. end
  1255. if c.Name == "Head" then
  1256. c:ClearAllChildren()
  1257. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1258. end
  1259. if c.ClassName == "MeshPart" then
  1260. c.TextureID = ""
  1261. end
  1262. if c:FindFirstChildOfClass("BodyPosition") then
  1263. c:FindFirstChildOfClass("BodyPosition"):remove()
  1264. end
  1265. if c:FindFirstChildOfClass("ParticleEmitter") then
  1266. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1267. end
  1268. c.Parent = NewCharacter
  1269. c.Name = "DeadPart"
  1270. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1271. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1272. end
  1273. end
  1274. Char:remove()
  1275. Debris:AddItem(NewCharacter,5)
  1276. end
  1277.  
  1278. function Taunt()
  1279. ATTACK = true
  1280. Rooted = true
  1281. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  1282. repeat
  1283. Swait()
  1284. TAUNT.Parent = Torso
  1285. TAUNT.Playing = true
  1286. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1287. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1288. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1289. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1290. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1291. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1292. until TAUNT.TimePosition >= 1.25
  1293. for i=0, 1.6, 0.1 / Animation_Speed do
  1294. Swait()
  1295. TAUNT.Parent = Torso
  1296. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1297. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1300. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1301. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1302. end
  1303. ATTACK = false
  1304. Rooted = false
  1305. end
  1306.  
  1307. function TakeOnMe()
  1308. Speed = 5
  1309. local MEME = CreateSound(288703954, Effects, 2, 1, false)
  1310. ATTACK = true
  1311. Rooted = false
  1312. local DANCE = true
  1313. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1314. if NEWKEY == "p" then
  1315. DANCE = false
  1316. end
  1317. end)
  1318. PLAYSONG = false
  1319. while true do
  1320. for i = 1, 15 do
  1321. Swait()
  1322. MEME.Parent = Effects
  1323. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1327. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1328. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1329. end
  1330. if DANCE == false then
  1331. break
  1332. end
  1333. for i = 1, 15 do
  1334. Swait()
  1335. MEME.Parent = Effects
  1336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1340. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. end
  1343. end
  1344. PLAYSONG = true
  1345. KEY:Disconnect()
  1346. MEME:remove()
  1347. Speed = 25
  1348. ATTACK = false
  1349. Rooted = false
  1350. end
  1351.  
  1352. function Banisher_Bullet()
  1353. ATTACK = true
  1354. Rooted = false
  1355. for i=0, 0.05, 0.1 / Animation_Speed do
  1356. Swait()
  1357. turnto(Mouse.Hit.p)
  1358. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1361. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1362. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1364. end
  1365. repeat
  1366. for i=0, 0.05, 0.1 / Animation_Speed do
  1367. Swait()
  1368. turnto(Mouse.Hit.p)
  1369. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1370. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1371. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1372. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1373. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1374. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1375. end
  1376. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1377. SpawnTrail(Hole.Position,POS)
  1378. if HIT ~= nil then
  1379. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1380. Banish(HIT.Parent)
  1381. end
  1382. end
  1383. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1384. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1385. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1386. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1387. for i=0, 0.05, 0.1 / Animation_Speed do
  1388. Swait()
  1389. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1390. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1393. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1394. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1395. end
  1396. until KEYHOLD == false
  1397. ATTACK = false
  1398. Rooted = false
  1399. end
  1400. function Execute()
  1401. ATTACK = true
  1402. Rooted = false
  1403. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1404. Part.Color = C3(0,0,0)
  1405. MakeForm(Part,"Wedge")
  1406. Part.CanCollide = true
  1407. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1408. for i=0, 1, 0.1 / Animation_Speed do
  1409. Swait()
  1410. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1411. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1412. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1413. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1414. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1415. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416. end
  1417. CreateSound(541909867, RightBarrel, 7, 1, false)
  1418. local TOCH = Part.Touched:Connect(function(hit)
  1419. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1420. Banish(hit.Parent)
  1421. end
  1422. end)
  1423. for i=0, 0.35, 0.1 / Animation_Speed do
  1424. Swait()
  1425. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1426. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1427. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1428. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1429. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1430. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1431. end
  1432. TOCH:disconnect()
  1433. for i=0, 0.35, 0.1 / Animation_Speed do
  1434. Swait()
  1435. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1436. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1437. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1438. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1439. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1440. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1441. end
  1442. Part:remove()
  1443. ATTACK = false
  1444. Rooted = false
  1445. end
  1446. function Banisher_Burn()
  1447. ATTACK = true
  1448. Rooted = true
  1449. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1450. for i=0, 1, 0.1 / Animation_Speed do
  1451. Swait()
  1452. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1456. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1457. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1458. end
  1459. coroutine.resume(coroutine.create(function()
  1460. local POS = Mouse.Hit.p
  1461. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  1462. MakeForm(RAY,"Cyl")
  1463. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  1464. MakeForm(SPHERE,"Ball")
  1465. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  1466. MakeForm(SHIELD,"Ball")
  1467. SHIELD.CFrame = CF(POS)
  1468. RAY.CFrame = CF(POS)
  1469. SPHERE.CFrame = CF(POS)
  1470. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1471. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1472. for i = 1, 200 do
  1473. Swait()
  1474. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1475. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1476. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1477. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1478. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1479. end
  1480. for i = 1, 45 do
  1481. Swait()
  1482. RAY.Transparency = RAY.Transparency + 1/45
  1483. SPHERE.Transparency = RAY.Transparency
  1484. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1485. end
  1486. RAY:remove()
  1487. SHIELD:remove()
  1488. SPHERE:remove()
  1489. end))
  1490. for i=0, 1, 0.1 / Animation_Speed do
  1491. Swait()
  1492. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1493. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1495. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1496. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1498. end
  1499. ATTACK = false
  1500. Rooted = false
  1501. end
  1502. function Teleport()
  1503. ATTACK = true
  1504. Rooted = false
  1505. for i=0, 0.5, 0.1 / Animation_Speed do
  1506. Swait()
  1507. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1508. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1509. end
  1510. for e = 1, #BODY do
  1511. if BODY[e] ~= nil then
  1512. local STUFF = BODY[e]
  1513. local PART = STUFF[1]
  1514. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1515. local PRT = PART:Clone()
  1516. PRT.Anchored = true
  1517. PRT.CanCollide = false
  1518. PRT.Material = "Neon"
  1519. PRT.Color = C3(255,100,255)
  1520. PRT.Name = "WarpEffect"
  1521. PRT.Parent = Effects
  1522. PRT.CFrame = PART.CFrame
  1523. PRT:BreakJoints()
  1524. if PRT:FindFirstChildOfClass("Sound") then
  1525. PRT:FindFirstChildOfClass("Sound"):remove()
  1526. end
  1527. if PRT:FindFirstChildOfClass("Decal") then
  1528. PRT:FindFirstChildOfClass("Decal"):remove()
  1529. end
  1530. coroutine.resume(coroutine.create(function()
  1531. for i = 1, 100 do
  1532. Swait()
  1533. PRT.Transparency = PRT.Transparency + 1/100
  1534. end
  1535. PRT:remove()
  1536. end))
  1537. end
  1538. end
  1539. end
  1540. CreateSound(217767125, Torso, 10, 1)
  1541. local POS = RootPart.Orientation
  1542. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1543. RootPart.Orientation = POS
  1544. RootJoint.Parent = RootPart
  1545. for i=0, 0.5, 0.1 / Animation_Speed do
  1546. Swait()
  1547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1549. end
  1550. for i=0, 0.1, 0.1 / Animation_Speed do
  1551. Swait()
  1552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1553. end
  1554. ATTACK = false
  1555. Rooted = false
  1556. end
  1557. function BanishmentBeam()
  1558. ATTACK = true
  1559. Rooted = false
  1560. local GYRO = IT("BodyGyro",RootPart)
  1561. GYRO.D = 100
  1562. GYRO.P = 2000
  1563. GYRO.MaxTorque = VT(0,4000000,0)
  1564. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1565. CreateSound("93724183", RightArm, 5, 1, false)
  1566. for i=1, 35 do
  1567. Swait()
  1568. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1569. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1570. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1571. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1572. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1573. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1574. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1576. end
  1577. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  1578. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  1579. local TOCH = BEAM.Touched:Connect(function(hit)
  1580. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1581. Kill(hit)
  1582. end
  1583. end)
  1584. local I = 0
  1585. repeat
  1586. Swait()
  1587. I = I + 1
  1588. if I <= 10 then
  1589. BEAM.Transparency = BEAM.Transparency - 0.1
  1590. end
  1591. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1592. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1593. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1594. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1595. BEAM.Size = VT(2,2,DISTANCE)
  1596. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1597. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1598. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1599. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1600. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1601. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1604. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1605. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1606. if ENDHIT ~= nil then
  1607. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1608. Banish(ENDHIT)
  1609. end
  1610. end
  1611. until LOOP.Playing == false
  1612. GYRO:remove()
  1613. BEAM:remove()
  1614. ATTACK = false
  1615. Rooted = false
  1616. end
  1617. function Deathbound()
  1618. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1619. ATTACK = true
  1620. Rooted = true
  1621. for i=0, 1, 0.1 / Animation_Speed do
  1622. Swait()
  1623. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1627. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1629. end
  1630. local DONE = false
  1631. local GATE = nil
  1632. local GATESPIN = true
  1633. coroutine.resume(coroutine.create(function()
  1634. repeat
  1635. Swait()
  1636. if GATE ~= nil then
  1637. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1638. end
  1639. until GATESPIN == false
  1640. end))
  1641. coroutine.resume(coroutine.create(function()
  1642. repeat
  1643. Swait()
  1644. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1648. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1650. until DONE == true
  1651. Swait(50)
  1652. for i = 1, 35 do
  1653. Swait(4)
  1654. local FIRED = false
  1655. local CHILDREN = workspace:GetDescendants()
  1656. for index, CHILD in pairs(CHILDREN) do
  1657. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1658. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1659. if HUM then
  1660. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1661. if TORSO then
  1662. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1663. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1664. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1665. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1666. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1667. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1668. Banish(CHILD)
  1669. FIRED = true
  1670. break
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. if FIRED == false then
  1677. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1678. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1679. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1680. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1681. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1682. if HITBOD ~= nil then
  1683. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1684. Kill(HITBOD.Parent)
  1685. end
  1686. end
  1687. end
  1688. end
  1689. for i = 1, 45 do
  1690. Swait()
  1691. GATE.Size = GATE.Size - VT(3,0,3)
  1692. end
  1693. GATESPIN = false
  1694. GATE:remove()
  1695. end))
  1696. Swait(15)
  1697. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1698. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1699. local DECAL = IT("Decal",GATE)
  1700. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1701. DECAL.Face = "Top"
  1702. GATE.CFrame = CF(HITPOS)
  1703. CreateSound(160772554, GATE, 7, 1.3, false)
  1704. for i = 1, 45 do
  1705. Swait()
  1706. GATE.Size = GATE.Size + VT(3,0,3)
  1707. end
  1708. CreateSound(213603013, RightHole, 7, 1, false)
  1709. CreateSound(213603013, LeftHole, 7, 1, false)
  1710. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1711. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1712. ATTACK = false
  1713. Rooted = false
  1714. DONE = true
  1715. end
  1716.  
  1717.  
  1718. --//=================================\\
  1719. --|| ASSIGN THINGS TO KEYS
  1720. --\\=================================//
  1721.  
  1722. function MouseDown(Mouse)
  1723. if ATTACK == false then
  1724. Execute()
  1725. end
  1726. end
  1727.  
  1728. function MouseUp(Mouse)
  1729. HOLD = false
  1730. end
  1731.  
  1732. function KeyDown(Key)
  1733. KEYHOLD = true
  1734. if Key == "z" and ATTACK == false then
  1735. Banisher_Bullet()
  1736. end
  1737.  
  1738. if Key == "b" and ATTACK == false then
  1739. Banisher_Burn()
  1740. end
  1741.  
  1742. if Key == "c" and ATTACK == false then
  1743. BanishmentBeam()
  1744. end
  1745.  
  1746. if Key == "v" and ATTACK == false then
  1747. Teleport()
  1748. end
  1749.  
  1750. if Key == "t" and ATTACK == false then
  1751. Taunt()
  1752. end
  1753.  
  1754. if Key == "g" and ATTACK == false then
  1755. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  1756. TOBANISH = {}
  1757. end
  1758.  
  1759. if Key == "p" and ATTACK == false then
  1760. TakeOnMe()
  1761. end
  1762.  
  1763. if Key == "x" and ATTACK == false then
  1764. Deathbound()
  1765. end
  1766. end
  1767.  
  1768. function KeyUp(Key)
  1769. KEYHOLD = false
  1770. end
  1771.  
  1772. Mouse.Button1Down:connect(function(NEWKEY)
  1773. MouseDown(NEWKEY)
  1774. end)
  1775. Mouse.Button1Up:connect(function(NEWKEY)
  1776. MouseUp(NEWKEY)
  1777. end)
  1778. Mouse.KeyDown:connect(function(NEWKEY)
  1779. KeyDown(NEWKEY)
  1780. end)
  1781. Mouse.KeyUp:connect(function(NEWKEY)
  1782. KeyUp(NEWKEY)
  1783. end)
  1784.  
  1785. --//=================================\\
  1786. --\\=================================//
  1787.  
  1788.  
  1789. function unanchor()
  1790. if UNANCHOR == true then
  1791. g = Character:GetChildren()
  1792. for i = 1, #g do
  1793. if g[i].ClassName == "Part" then
  1794. g[i].Anchored = false
  1795. end
  1796. end
  1797. end
  1798. end
  1799.  
  1800.  
  1801. --//=================================\\
  1802. --|| WRAP THE WHOLE SCRIPT UP
  1803. --\\=================================//
  1804.  
  1805. Humanoid.Changed:connect(function(Jump)
  1806. if Jump == "Jump" and (Disable_Jump == true) then
  1807. Humanoid.Jump = false
  1808. end
  1809. end)
  1810.  
  1811. local CONNECT = nil
  1812.  
  1813. while true do
  1814. Swait()
  1815. ANIMATE.Parent = nil
  1816. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1817. Humanoid = IT("Humanoid",Character)
  1818. end
  1819. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1820. v:Stop();
  1821. end
  1822. SINE = SINE + CHANGE
  1823. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1824. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1825. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1826. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  1827. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1828. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
  1829. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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) / 3)
  1830. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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) / 3)
  1831. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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) / 3)
  1832. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1833. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1834. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1835. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1836. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1837. end
  1838. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1839. ANIM = "Jump"
  1840. if ATTACK == false then
  1841. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1842. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1843. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1844. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1845. 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)
  1846. 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)
  1847. end
  1848. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1849. ANIM = "Fall"
  1850. if ATTACK == false then
  1851. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1852. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1853. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1854. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1855. 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)
  1856. 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)
  1857. end
  1858. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1859. ANIM = "Idle"
  1860. if ATTACK == false then
  1861. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3)
  1862. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3)
  1863. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3)
  1864. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1865. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1866. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1867. end
  1868. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1869. ANIM = "Walk"
  1870. if ATTACK == false then
  1871. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1872. 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 / 3)
  1873. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1874. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
  1875. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
  1876. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
  1877. end
  1878. end
  1879. unanchor()
  1880. Humanoid.MaxHealth = "inf"
  1881. Humanoid.Health = "inf"
  1882. if Rooted == false then
  1883. Disable_Jump = false
  1884. Humanoid.WalkSpeed = Speed
  1885. elseif Rooted == true then
  1886. Disable_Jump = true
  1887. Humanoid.WalkSpeed = 0
  1888. end
  1889. refit()
  1890. sick.Parent = Torso
  1891. sick:resume()
  1892. sick.Volume = 5
  1893. sick.Pitch = 1
  1894. sick.SoundId = "rbxassetid://0"
  1895. sick.Name = "The Lost chaulo"
  1896. end
  1897.  
  1898. --//=================================\\
  1899. --\\=================================//
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905. --//====================================================\\--
  1906. --|| END OF SCRIPT
  1907. --\\====================================================//--f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement