Advertisement
Guest User

hmmmmm

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.14 KB | None | 0 0
  1. script.Name = "machine gun banisher v2 maded to destroy abusers"
  2. --//====================================================\\--
  3. --|| EDITED BY INFINITEONEWITHDANK CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. print("Load Finished")
  7. print("Edited By InfiniteOneWithdank Hello User")
  8. warn("Make Them All Suffer For Their Sins")
  9. warn("In Fact Make them Burn")
  10.  
  11.  
  12. script:ClearAllChildren()
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. local TIME = 0
  36. local sick = Instance.new("Sound",Torso)
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. -- Thingy To Make Song Work
  56.  
  57. p = game.Players.LocalPlayer
  58. char = p.Character
  59.  
  60. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  61. local s = Instance.new("Sound",char)
  62. s.Name = "BGMusic"
  63. s.SoundId = "rbxassetid://1362331520"
  64. s.Pitch = 1
  65. s.Volume = 40
  66. s.Looped = true
  67. s.archivable = false
  68. s.Parent = char.Head
  69. wait(0.1)
  70. s:play()
  71.  
  72. -- Rest of Script
  73. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  74.  
  75. --//=================================\\
  76. --|| PARTICLES N STUFF
  77. --\\=================================//
  78.  
  79. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  80. particleemitter.VelocitySpread = 350
  81. particleemitter.Lifetime = NumberRange.new(1)
  82. particleemitter.Speed = NumberRange.new(0)
  83. cringememe= {}
  84. for i=0, 19 do
  85. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  86. end
  87. particleemitter.Size = NumberSequence.new(cringememe)
  88. particleemitter.Rate = 20
  89. particleemitter.LockedToPart = true
  90. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  91. particleemitter.LightEmission = 1
  92. particleemitter.Texture = "rbxassetid://38727848"
  93. particleemitter.Color = ColorSequence.new(BrickColor.new("Rainbow").Color)
  94.  
  95. local particleemitter = Instance.new('ParticleEmitter', Torso)
  96. particleemitter.VelocitySpread = 250
  97. particleemitter.Lifetime = NumberRange.new(3)
  98. particleemitter.Speed = NumberRange.new(1.5)
  99. youAreATHOT = {}
  100. for i=0, 19 do
  101. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  102. end
  103. particleemitter.Size = NumberSequence.new(youAreATHOT)
  104. particleemitter.Rate = 10
  105. particleemitter.LockedToPart = false
  106. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  107. particleemitter.LightEmission = 1
  108. particleemitter.Texture = "rbxassetid://253188763"
  109. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  110.  
  111. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  112. particleemitter.VelocitySpread = 350
  113. particleemitter.Lifetime = NumberRange.new(1)
  114. particleemitter.Speed = NumberRange.new(0)
  115. cringememe2= {}
  116. for i=0, 19 do
  117. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  118. end
  119. particleemitter.Size = NumberSequence.new(cringememe2)
  120. particleemitter.Rate = 20
  121. particleemitter.LockedToPart = true
  122. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  123. particleemitter.LightEmission = 1
  124. particleemitter.Texture = "rbxassetid://38727848"
  125. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  126.  
  127. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  128. particleemitter.VelocitySpread = 350
  129. particleemitter.Lifetime = NumberRange.new(1)
  130. particleemitter.Speed = NumberRange.new(0)
  131. cringememe3= {}
  132. for i=0, 19 do
  133. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  134. end
  135. particleemitter.Size = NumberSequence.new(cringememe3)
  136. particleemitter.Rate = 30
  137. particleemitter.LockedToPart = true
  138. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  139. particleemitter.LightEmission = 1
  140. particleemitter.Texture = "rbxassetid://38727848"
  141. particleemitter.Color = ColorSequence.new(BrickColor.new("Rainbow").Color)
  142.  
  143. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  144. particleemitter.VelocitySpread = 350
  145. particleemitter.Lifetime = NumberRange.new(1)
  146. particleemitter.Speed = NumberRange.new(0)
  147. cringememe4= {}
  148. for i=0, 19 do
  149. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  150. end
  151. particleemitter.Size = NumberSequence.new(cringememe4)
  152. particleemitter.Rate = 30
  153. particleemitter.LockedToPart = true
  154. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  155. particleemitter.LightEmission = 1
  156. particleemitter.Texture = "rbxassetid://38727848"
  157. particleemitter.Color = ColorSequence.new(BrickColor.new("Rainbow").Color)
  158.  
  159. --//=================================\\
  160. --|| USEFUL VALUES
  161. --\\=================================//
  162.  
  163. Animation_Speed = 1.5
  164. local FORCERESET = false
  165. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  166. local Speed = 16
  167. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  168. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  169. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  170. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  171. local DAMAGEMULTIPLIER = 1
  172. local ANIM = "Idle"
  173. local ATTACK = false
  174. local EQUIPPED = false
  175. local HOLD = false
  176. local COMBO = 1
  177. local Rooted = false
  178. local SINE = 0
  179. local KEYHOLD = false
  180. local CHANGE = 2 / Animation_Speed
  181. local WALKINGANIM = false
  182. local VALUE1 = false
  183. local VALUE2 = false
  184. local ROBLOXIDLEANIMATION = IT("Animation")
  185. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  186. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  187. --ROBLOXIDLEANIMATION.Parent = Humanoid
  188. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  189. WEAPONGUI.Name = "BanishV3Gui"
  190. local Weapon = IT("Model")
  191. Weapon.Name = "Adds"
  192. local Effects = IT("Folder", Weapon)
  193. Effects.Name = "Effects"
  194. local ANIMATOR = Humanoid.Animator
  195. local ANIMATE = Character:FindFirstChild("Animate")
  196. local UNANCHOR = true
  197. local TOBANISH = {}
  198. script.Parent = PlayerGui
  199.  
  200. --//=================================\\
  201. --\\=================================//
  202.  
  203.  
  204. --//=================================\\
  205. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  206. --\\=================================//
  207.  
  208. ArtificialHB = Instance.new("BindableEvent", script)
  209. ArtificialHB.Name = "ArtificialHB"
  210.  
  211. script:WaitForChild("ArtificialHB")
  212.  
  213. frame = Frame_Speed
  214. tf = 0
  215. allowframeloss = false
  216. tossremainder = false
  217. lastframe = tick()
  218. script.ArtificialHB:Fire()
  219.  
  220. game:GetService("RunService").Heartbeat:connect(function(s, p)
  221. tf = tf + s
  222. if tf >= frame then
  223. if allowframeloss then
  224. script.ArtificialHB:Fire()
  225. lastframe = tick()
  226. else
  227. for i = 1, math.floor(tf / frame) do
  228. script.ArtificialHB:Fire()
  229. end
  230. lastframe = tick()
  231. end
  232. if tossremainder then
  233. tf = 0
  234. else
  235. tf = tf - frame * math.floor(tf / frame)
  236. end
  237. end
  238. end)
  239.  
  240. --//=================================\\
  241. --\\=================================//
  242.  
  243. --//=================================\\
  244. --|| SOME TAG EDIT
  245. --\\=================================//
  246.  
  247. m = game.Players.LocalPlayer
  248. char = m.Character
  249. local txt = Instance.new("BillboardGui", char)
  250. txt.Adornee = char.Head
  251. txt.Name = "_status"
  252. txt.Size = UDim2.new(2, 0, 1.2, 0)
  253. txt.StudsOffset = Vector3.new(-9, 8, 0)
  254. local text = Instance.new("TextLabel", txt)
  255. text.Size = UDim2.new(10, 0, 7, 0)
  256. text.FontSize = "Size24"
  257. text.TextScaled = true
  258. text.TextTransparency = 0
  259. text.BackgroundTransparency = 1
  260. text.TextTransparency = 0
  261. text.TextStrokeTransparency = 0
  262. text.Font = "Bodoni"
  263. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  264. v = Instance.new("Part")
  265. v.Name = "ColorBrick"
  266. v.Parent = m.Character
  267. v.FormFactor = "Symmetric"
  268. v.Anchored = true
  269. v.CanCollide = false
  270. v.BottomSurface = "Smooth"
  271. v.TopSurface = "Smooth"
  272. v.Size = Vector3.new(10, 5, 3)
  273. v.Transparency = 1
  274. v.CFrame = char.Torso.CFrame
  275. v.BrickColor = BrickColor.new("Really black")
  276. v.Transparency = 1
  277. v.Shape = "Block"
  278. spawn(function()
  279. local TweenService = game:GetService("TweenService")
  280. 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)}
  281. local Int = 0
  282. while wait(0.5) do
  283. if Int == #Colours then Int = 0 end
  284. Int = Int+1
  285. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  286. end
  287. end)
  288. text.Text = "The Final Stand"
  289.  
  290. --//=================================\\
  291. --\\=================================//
  292.  
  293. --//=================================\\
  294. --|| SOME FUNCTIONS
  295. --\\=================================//
  296.  
  297. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  298. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  299. end
  300.  
  301. function PositiveAngle(NUMBER)
  302. if NUMBER >= 0 then
  303. NUMBER = 0
  304. end
  305. return NUMBER
  306. end
  307.  
  308. function NegativeAngle(NUMBER)
  309. if NUMBER <= 0 then
  310. NUMBER = 0
  311. end
  312. return NUMBER
  313. end
  314.  
  315. function Swait(NUMBER)
  316. if NUMBER == 0 or NUMBER == nil then
  317. ArtificialHB.Event:wait()
  318. else
  319. for i = 1, NUMBER do
  320. ArtificialHB.Event:wait()
  321. end
  322. end
  323. end
  324.  
  325. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  326. local NEWMESH = IT(MESH)
  327. if MESH == "SpecialMesh" then
  328. NEWMESH.MeshType = MESHTYPE
  329. if MESHID ~= "nil" and MESHID ~= "" then
  330. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  331. end
  332. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  333. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  334. end
  335. end
  336. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  337. NEWMESH.Scale = SCALE
  338. NEWMESH.Parent = PARENT
  339. return NEWMESH
  340. end
  341.  
  342. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  343. local NEWPART = IT("Part")
  344. NEWPART.formFactor = FORMFACTOR
  345. NEWPART.Reflectance = REFLECTANCE
  346. NEWPART.Transparency = TRANSPARENCY
  347. NEWPART.CanCollide = false
  348. NEWPART.Locked = true
  349. NEWPART.Anchored = true
  350. if ANCHOR == false then
  351. NEWPART.Anchored = false
  352. end
  353. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  354. NEWPART.Name = NAME
  355. NEWPART.Size = SIZE
  356. NEWPART.Position = Torso.Position
  357. NEWPART.Material = MATERIAL
  358. NEWPART:BreakJoints()
  359. NEWPART.Parent = PARENT
  360. return NEWPART
  361. end
  362.  
  363. local function weldBetween(a, b)
  364. local weldd = Instance.new("ManualWeld")
  365. weldd.Part0 = a
  366. weldd.Part1 = b
  367. weldd.C0 = CFrame.new()
  368. weldd.C1 = b.CFrame:inverse() * a.CFrame
  369. weldd.Parent = a
  370. return weldd
  371. end
  372.  
  373.  
  374. function QuaternionFromCFrame(cf)
  375. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  376. local trace = m00 + m11 + m22
  377. if trace > 0 then
  378. local s = math.sqrt(1 + trace)
  379. local recip = 0.5 / s
  380. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  381. else
  382. local i = 0
  383. if m11 > m00 then
  384. i = 1
  385. end
  386. if m22 > (i == 0 and m00 or m11) then
  387. i = 2
  388. end
  389. if i == 0 then
  390. local s = math.sqrt(m00 - m11 - m22 + 1)
  391. local recip = 0.5 / s
  392. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  393. elseif i == 1 then
  394. local s = math.sqrt(m11 - m22 - m00 + 1)
  395. local recip = 0.5 / s
  396. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  397. elseif i == 2 then
  398. local s = math.sqrt(m22 - m00 - m11 + 1)
  399. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  400. end
  401. end
  402. end
  403.  
  404. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  405. local xs, ys, zs = x + x, y + y, z + z
  406. local wx, wy, wz = w * xs, w * ys, w * zs
  407. local xx = x * xs
  408. local xy = x * ys
  409. local xz = x * zs
  410. local yy = y * ys
  411. local yz = y * zs
  412. local zz = z * zs
  413. 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))
  414. end
  415.  
  416. function QuaternionSlerp(a, b, t)
  417. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  418. local startInterp, finishInterp;
  419. if cosTheta >= 0.0001 then
  420. if (1 - cosTheta) > 0.0001 then
  421. local theta = ACOS(cosTheta)
  422. local invSinTheta = 1 / SIN(theta)
  423. startInterp = SIN((1 - t) * theta) * invSinTheta
  424. finishInterp = SIN(t * theta) * invSinTheta
  425. else
  426. startInterp = 1 - t
  427. finishInterp = t
  428. end
  429. else
  430. if (1 + cosTheta) > 0.0001 then
  431. local theta = ACOS(-cosTheta)
  432. local invSinTheta = 1 / SIN(theta)
  433. startInterp = SIN((t - 1) * theta) * invSinTheta
  434. finishInterp = SIN(t * theta) * invSinTheta
  435. else
  436. startInterp = t - 1
  437. finishInterp = t
  438. end
  439. end
  440. 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
  441. end
  442.  
  443. function Clerp(a, b, t)
  444. local qa = {QuaternionFromCFrame(a)}
  445. local qb = {QuaternionFromCFrame(b)}
  446. local ax, ay, az = a.x, a.y, a.z
  447. local bx, by, bz = b.x, b.y, b.z
  448. local _t = 1 - t
  449. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  450. end
  451.  
  452. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  453. local frame = IT("Frame")
  454. frame.BackgroundTransparency = TRANSPARENCY
  455. frame.BorderSizePixel = BORDERSIZEPIXEL
  456. frame.Position = POSITION
  457. frame.Size = SIZE
  458. frame.BackgroundColor3 = COLOR
  459. frame.BorderColor3 = BORDERCOLOR
  460. frame.Name = NAME
  461. frame.Parent = PARENT
  462. return frame
  463. end
  464.  
  465. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  466. local label = IT("TextLabel")
  467. label.BackgroundTransparency = 1
  468. label.Size = UD2(1, 0, 1, 0)
  469. label.Position = UD2(0, 0, 0, 0)
  470. label.TextColor3 = TEXTCOLOR
  471. label.TextStrokeTransparency = STROKETRANSPARENCY
  472. label.TextTransparency = TRANSPARENCY
  473. label.FontSize = TEXTFONTSIZE
  474. label.Font = TEXTFONT
  475. label.BorderSizePixel = BORDERSIZEPIXEL
  476. label.TextScaled = false
  477. label.Text = TEXT
  478. label.Name = NAME
  479. label.Parent = PARENT
  480. return label
  481. end
  482.  
  483. function NoOutlines(PART)
  484. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  485. end
  486.  
  487. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  488. local NEWWELD = IT(TYPE)
  489. NEWWELD.Part0 = PART0
  490. NEWWELD.Part1 = PART1
  491. NEWWELD.C0 = C0
  492. NEWWELD.C1 = C1
  493. NEWWELD.Parent = PARENT
  494. return NEWWELD
  495. end
  496.  
  497. local S = IT("Sound")
  498. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  499. local NEWSOUND = nil
  500. coroutine.resume(coroutine.create(function()
  501. NEWSOUND = S:Clone()
  502. NEWSOUND.Parent = PARENT
  503. NEWSOUND.Volume = VOLUME
  504. NEWSOUND.Pitch = PITCH
  505. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  506. NEWSOUND:play()
  507. if DOESLOOP == true then
  508. NEWSOUND.Looped = true
  509. else
  510. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  511. NEWSOUND:remove()
  512. end
  513. end))
  514. return NEWSOUND
  515. end
  516.  
  517. function CFrameFromTopBack(at, top, back)
  518. local right = top:Cross(back)
  519. 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)
  520. end
  521.  
  522. --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,255,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  523. function WACKYEFFECT(Table)
  524. local TYPE = (Table.EffectType or "Sphere")
  525. local SIZE = (Table.Size or VT(1,1,1))
  526. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  527. local TRANSPARENCY = (Table.Transparency or 0)
  528. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  529. local CFRAME = (Table.CFrame or Torso.CFrame)
  530. local MOVEDIRECTION = (Table.MoveToPos or nil)
  531. local ROTATION1 = (Table.RotationX or 0)
  532. local ROTATION2 = (Table.RotationY or 0)
  533. local ROTATION3 = (Table.RotationZ or 0)
  534. local MATERIAL = (Table.Material or "Neon")
  535. local COLOR = (Table.Color or C3(0,255,0))
  536. local TIME = (Table.Time or 45)
  537. local SOUNDID = (Table.SoundID or nil)
  538. local SOUNDPITCH = (Table.SoundPitch or nil)
  539. local SOUNDVOLUME = (Table.SoundVolume or nil)
  540. coroutine.resume(coroutine.create(function()
  541. local PLAYSSOUND = false
  542. local SOUND = nil
  543. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  544. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  545. PLAYSSOUND = true
  546. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  547. end
  548. EFFECT.Color = COLOR
  549. local MSH = nil
  550. if TYPE == "Sphere" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Block" then
  553. MSH = IT("BlockMesh",EFFECT)
  554. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  555. elseif TYPE == "Wave" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  557. elseif TYPE == "Ring" then
  558. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  559. elseif TYPE == "Slash" then
  560. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  561. elseif TYPE == "Round Slash" then
  562. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  563. elseif TYPE == "Swirl" then
  564. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  565. elseif TYPE == "Skull" then
  566. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  567. elseif TYPE == "Crystal" then
  568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  569. end
  570. if MSH ~= nil then
  571. local MOVESPEED = nil
  572. if MOVEDIRECTION ~= nil then
  573. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  574. end
  575. local GROWTH = SIZE - ENDSIZE
  576. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  577. if TYPE == "Block" then
  578. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  579. else
  580. EFFECT.CFrame = CFRAME
  581. end
  582. for LOOP = 1, TIME+1 do
  583. Swait()
  584. MSH.Scale = MSH.Scale - GROWTH/TIME
  585. if TYPE == "Wave" then
  586. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  587. end
  588. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  589. if TYPE == "Block" then
  590. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591. else
  592. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  593. end
  594. if MOVEDIRECTION ~= nil then
  595. local ORI = EFFECT.Orientation
  596. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  597. EFFECT.Orientation = ORI
  598. end
  599. end
  600. if PLAYSSOUND == false then
  601. EFFECT:remove()
  602. else
  603. SOUND.Stopped:Connect(function()
  604. EFFECT:remove()
  605. end)
  606. end
  607. else
  608. if PLAYSSOUND == false then
  609. EFFECT:remove()
  610. else
  611. repeat Swait() until SOUND.Playing == false
  612. EFFECT:remove()
  613. end
  614. end
  615. end))
  616. end
  617.  
  618. function MakeForm(PART,TYPE)
  619. if TYPE == "Cyl" then
  620. local MSH = IT("CylinderMesh",PART)
  621. elseif TYPE == "Ball" then
  622. local MSH = IT("SpecialMesh",PART)
  623. MSH.MeshType = "Sphere"
  624. elseif TYPE == "Wedge" then
  625. local MSH = IT("SpecialMesh",PART)
  626. MSH.MeshType = "Wedge"
  627. end
  628. end
  629.  
  630. function SpawnTrail(FROM,TO,BIG)
  631. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  632. MakeForm(TRAIL,"Cyl")
  633. local DIST = (FROM - TO).Magnitude
  634. if BIG == true then
  635. TRAIL.Size = VT(0.5,DIST,0.5)
  636. else
  637. TRAIL.Size = VT(0.25,DIST,0.25)
  638. end
  639. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  640. coroutine.resume(coroutine.create(function()
  641. for i = 1, 5 do
  642. Swait()
  643. TRAIL.Transparency = TRAIL.Transparency + 0.1
  644. end
  645. TRAIL:remove()
  646. end))
  647. end
  648.  
  649. Debris = game:GetService("Debris")
  650.  
  651. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  652. local DIRECTION = CF(StartPos,EndPos).lookVector
  653. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  654. end
  655.  
  656. function turnto(position)
  657. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  658. end
  659.  
  660. --//=================================\\
  661. --|| WEAPON CREATION
  662. --\\=================================//
  663.  
  664. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  665. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  666. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  667. MakeForm(Part,"Wedge")
  668. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  669. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  670. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  671. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  672. MakeForm(Part,"Cyl")
  673. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  674. for i = 1, 8 do
  675. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  676. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  677. end
  678. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  679. MakeForm(Part,"Wedge")
  680. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  681. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  682. MakeForm(Part,"Cyl")
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  684. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  685. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  686. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  687. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  688. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  689. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  690. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  691. MakeForm(RightBarrel,"Cyl")
  692. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  693. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  694. MakeForm(Part,"Wedge")
  695. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  696. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  697. MakeForm(RightHole,"Cyl")
  698. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  699. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  700. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  701. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  702. MakeForm(Part,"Wedge")
  703. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  704. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  705. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  706. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  707. MakeForm(Part,"Cyl")
  708. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  709. for i = 1, 8 do
  710. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  711. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  712. end
  713. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  714. MakeForm(Part,"Wedge")
  715. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  716. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  717. MakeForm(Part,"Cyl")
  718. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  719. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  721. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  722. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  723. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  724. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  725. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  726. MakeForm(LeftBarrel,"Cyl")
  727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  728. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  729. MakeForm(Part,"Wedge")
  730. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  731. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  732. MakeForm(LeftHole,"Cyl")
  733. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  734. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  735. MakeForm(Eye,"Ball")
  736. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  737. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  738. MakeForm(Eye,"Ball")
  739. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  740. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  741. MakeForm(Eye,"Ball")
  742. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  743. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  744. MakeForm(Eye,"Ball")
  745. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  746. local A = IT("Attachment",Torso)
  747. A.Position = VT(1,1.3,0)
  748. A.Orientation = VT(-0.098, -89.999, 0.227)
  749. local B = IT("Attachment",Torso)
  750. B.Position = VT(-1.3,-0.6,0)
  751. B.Orientation = VT(-88.911, -68.808, 158.782)
  752. local ChainLink = IT("Beam",Torso)
  753. ChainLink.Texture = "rbxassetid://73042633"
  754. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  755. ChainLink.TextureSpeed = 1
  756. ChainLink.FaceCamera = true
  757. ChainLink.Width0 = 1
  758. ChainLink.Width1 = 1
  759. ChainLink.TextureLength = 3
  760. ChainLink.Attachment0 = A
  761. ChainLink.Attachment1 = B
  762. ChainLink.CurveSize0 = 1.6
  763. ChainLink.CurveSize1 = 1.6
  764. ChainLink.FaceCamera = true
  765. ChainLink.Transparency = NumberSequence.new(0)
  766. local ChainLink = IT("Beam",Torso)
  767. ChainLink.Texture = "rbxassetid://73042633"
  768. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  769. ChainLink.TextureSpeed = 1
  770. ChainLink.FaceCamera = true
  771. ChainLink.Width0 = 1
  772. ChainLink.Width1 = 1
  773. ChainLink.TextureLength = 3
  774. ChainLink.Attachment0 = B
  775. ChainLink.Attachment1 = A
  776. ChainLink.CurveSize0 = 1.6
  777. ChainLink.CurveSize1 = 1.6
  778. ChainLink.FaceCamera = true
  779. ChainLink.Transparency = NumberSequence.new(0)
  780. local A = IT("Attachment",Torso)
  781. A.Position = VT(1.3,-0.85,0)
  782. A.Orientation = VT(-0.098, -89.999, 0.227)
  783. local B = IT("Attachment",Torso)
  784. B.Position = VT(-1,2,0)
  785. B.Orientation = VT(-88.911, -68.808, 158.782)
  786. local ChainLink = IT("Beam",Torso)
  787. ChainLink.Texture = "rbxassetid://73042633"
  788. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  789. ChainLink.TextureSpeed = 1
  790. ChainLink.FaceCamera = true
  791. ChainLink.Width0 = 1
  792. ChainLink.Width1 = 1
  793. ChainLink.TextureLength = 3
  794. ChainLink.Attachment0 = A
  795. ChainLink.Attachment1 = B
  796. ChainLink.CurveSize0 = 1.3
  797. ChainLink.CurveSize1 = 1.3
  798. ChainLink.FaceCamera = true
  799. ChainLink.Transparency = NumberSequence.new(0)
  800. local ChainLink = IT("Beam",Torso)
  801. ChainLink.Texture = "rbxassetid://73042633"
  802. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  803. ChainLink.TextureSpeed = 1
  804. ChainLink.FaceCamera = true
  805. ChainLink.Width0 = 1
  806. ChainLink.Width1 = 1
  807. ChainLink.TextureLength = 3
  808. ChainLink.Attachment0 = B
  809. ChainLink.Attachment1 = A
  810. ChainLink.CurveSize0 = 1.3
  811. ChainLink.CurveSize1 = 1.3
  812. ChainLink.FaceCamera = true
  813. ChainLink.Transparency = NumberSequence.new(0)
  814.  
  815. local A = IT("Attachment",RightBarrel)
  816. A.Position = VT(0,-2.5,0)
  817. local B = IT("Attachment",RightBarrel)
  818. B.Position = VT(0,2.5,0)
  819. local Trail = IT("Trail",RightBarrel)
  820. Trail.Attachment0 = A
  821. Trail.Attachment1 = B
  822. Trail.Lifetime = 0.2
  823. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  824. Trail.Transparency = NumberSequence.new(0, 1)
  825. Trail.Enabled = false
  826.  
  827. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  828. PRT.LockedToPart = true
  829. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  830. PRT.LockedToPart = true
  831. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  832. PRT.LockedToPart = true
  833. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  834. PRT.LockedToPart = true
  835. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  836. PRT.LockedToPart = true
  837. for _, c in pairs(Character:GetDescendants()) do
  838. if c and c.Parent then
  839. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  840. local ACCESSORY = c.Parent
  841. c.Parent = Character
  842. if c then
  843. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  844. weldBetween(Head,c)
  845. else
  846. weldBetween(Torso,c)
  847. end
  848. end
  849. ACCESSORY:remove()
  850. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  851. c.Material = "Neon"
  852. c.Color = C3(0,0,0)
  853. if c:FindFirstChildOfClass("SpecialMesh") then
  854. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  855. end
  856. if c == Head then
  857. if c:FindFirstChild("face") then
  858. c.face:remove()
  859. end
  860. end
  861. elseif c.ClassName == "Part" and c.Name == "Eye" then
  862. c.Color = C3(1,0,0)
  863. c.Material = "Neon"
  864. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  865. c:remove()
  866. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  867. c:remove()
  868. end
  869. end
  870. end
  871. local BODY = {}
  872. for _, c in pairs(Character:GetDescendants()) do
  873. if c:IsA("BasePart") and c.Name ~= "Handle" then
  874. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  875. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  876. end
  877. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  878. elseif c:IsA("JointInstance") then
  879. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  880. end
  881. end
  882. function refit()
  883. Character.Parent = workspace
  884. for e = 1, #BODY do
  885. if BODY[e] ~= nil then
  886. local STUFF = BODY[e]
  887. local PART = STUFF[1]
  888. local PARENT = STUFF[2]
  889. local MATERIAL = STUFF[3]
  890. local COLOR = STUFF[4]
  891. local TRANSPARENCY = STUFF[5]
  892. --local SIZE = STUFF[6]
  893. local NAME = STUFF[7]
  894. if PART.ClassName == "Part" and PART ~= RootPart then
  895. PART.Material = MATERIAL
  896. PART.Transparency = TRANSPARENCY
  897. PART.Name = NAME
  898. end
  899. if PART.Parent ~= PARENT then
  900. Humanoid:remove()
  901. PART.Parent = PARENT
  902. Humanoid = IT("Humanoid",Character)
  903. end
  904. end
  905. end
  906. end
  907.  
  908. local SKILLTEXTCOLOR = C3(1,0,0)
  909. local SKILLFONT = "Fantasy"
  910. local SKILLTEXTSIZE = 6
  911.  
  912. Humanoid.Died:connect(function()
  913. refit()
  914. end)
  915.  
  916. 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")
  917. 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")
  918. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  919. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  920. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  921. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  922. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  923.  
  924. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  925. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  926. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Cleave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  927. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Lock n' load", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  928. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  929. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Deathbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  930. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  931.  
  932. --//=================================\\
  933. --|| DAMAGING
  934. --\\=================================//
  935.  
  936. function Banish(Foe)
  937. if Foe then
  938. coroutine.resume(coroutine.create(function()
  939. --if game.Players:FindFirstChild(Foe.Name) then
  940. table.insert(TOBANISH,Foe.Name)
  941. printbye(Foe.Name)
  942. --end
  943. Foe.Archivable = true
  944. local CLONE = Foe:Clone()
  945. Foe:Destroy()
  946. CLONE.Parent = Effects
  947. CLONE:BreakJoints()
  948. local MATERIALS = {"Glass","Neon"}
  949. for _, c in pairs(CLONE:GetDescendants()) do
  950. if c:IsA("BasePart") then
  951. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  952. CreateSound(340722848, c, 10, 1, false)
  953. end
  954. c.Anchored = true
  955. c.Transparency = c.Transparency + 0.2
  956. c.Material = MATERIALS[MRANDOM(1,2)]
  957. c.Color = C3(0,255,0)
  958. if c.ClassName == "MeshPart" then
  959. c.TextureID = ""
  960. end
  961. if c:FindFirstChildOfClass("SpecialMesh") then
  962. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  963. end
  964. if c:FindFirstChildOfClass("Decal") then
  965. c:FindFirstChildOfClass("Decal"):remove()
  966. end
  967. c.Name = "Banished"
  968. c.CanCollide = false
  969. else
  970. c:remove()
  971. end
  972. end
  973. local A = false
  974. for i = 1, 35 do
  975. if A == false then
  976. A = true
  977. elseif A == true then
  978. A = false
  979. end
  980. for _, c in pairs(CLONE:GetDescendants()) do
  981. if c:IsA("BasePart") then
  982. c.Anchored = true
  983. c.Material = MATERIALS[MRANDOM(1,2)]
  984. c.Transparency = c.Transparency + 0.8/35
  985. if A == false then
  986. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  987. elseif A == true then
  988. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  989. end
  990. end
  991. end
  992. Swait()
  993. end
  994. CLONE:remove()
  995. end))
  996. end
  997. end
  998.  
  999. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1000. local CHILDREN = workspace:GetDescendants()
  1001. for index, CHILD in pairs(CHILDREN) do
  1002. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1003. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1004. if HUM then
  1005. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1006. if TORSO then
  1007. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1008. if ISBANISH == true then
  1009. Banish(CHILD)
  1010. else
  1011. if ISBANISH == "Gravity" then
  1012. HUM.PlatformStand = true
  1013. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1014. local grav = Instance.new("BodyPosition",TORSO)
  1015. grav.D = 15
  1016. grav.P = 20000
  1017. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1018. grav.position = TORSO.Position
  1019. grav.Name = "V3BanishForce"..Player.Name
  1020. else
  1021. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1022. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1023. end
  1024. else
  1025. HUM.PlatformStand = false
  1026. end
  1027. end
  1028. elseif ISBANISH == "Gravity" then
  1029. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1030. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1031. HUM.PlatformStand = false
  1032. end
  1033. end
  1034. end
  1035. end
  1036. end
  1037. end
  1038. end
  1039.  
  1040. --//=================================\\
  1041. --|| ATTACK FUNCTIONS AND STUFF
  1042. --\\=================================//
  1043. local LAUGHS = {"907329532"}
  1044.  
  1045. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1046. MakeForm(RightHole,"Cyl")
  1047. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1048. MakeForm(LeftHole,"Cyl")
  1049.  
  1050. function getbloody(victim,amount)
  1051. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1052. PART.CFrame = victim.CFrame
  1053. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1054. Debris:AddItem(PART,5)
  1055. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1056. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1057. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1058. local prtcl = asd:Clone()
  1059. prtcl.Parent = PART
  1060. prtcl:Emit(amount*10)
  1061. end
  1062.  
  1063. function Kill(Char)
  1064. local NewCharacter = IT("Model",Effects)
  1065. NewCharacter.Name = "Ow im ded ;-;"
  1066. for _, c in pairs(Char:GetDescendants()) do
  1067. if c:IsA("BasePart") and c.Transparency == 0 then
  1068. if c.Parent == Char then
  1069. getbloody(c,5)
  1070. end
  1071. c:BreakJoints()
  1072. c.Material = "Glass"
  1073. c.Color = C3(0.5,0,0)
  1074. c.CanCollide = true
  1075. c.Transparency = 0.3
  1076. if c:FindFirstChildOfClass("SpecialMesh") then
  1077. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1078. end
  1079. if c.Name == "Head" then
  1080. c:ClearAllChildren()
  1081. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1082. end
  1083. if c.ClassName == "MeshPart" then
  1084. c.TextureID = ""
  1085. end
  1086. if c:FindFirstChildOfClass("BodyPosition") then
  1087. c:FindFirstChildOfClass("BodyPosition"):remove()
  1088. end
  1089. if c:FindFirstChildOfClass("ParticleEmitter") then
  1090. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1091. end
  1092. c.Parent = NewCharacter
  1093. c.Name = "DeadPart"
  1094. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1095. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1096. end
  1097. end
  1098. Char:remove()
  1099. Debris:AddItem(NewCharacter,5)
  1100. end
  1101.  
  1102. function Banisher_Bullet()
  1103. ATTACK = true
  1104. Rooted = false
  1105. for i=0, 0.05, 0.1 / Animation_Speed do
  1106. Swait()
  1107. turnto(Mouse.Hit.p)
  1108. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1112. 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)
  1113. 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)
  1114. end
  1115. repeat
  1116. for i=0, 0.05, 0.1 / Animation_Speed do
  1117. Swait()
  1118. turnto(Mouse.Hit.p)
  1119. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1120. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1123. 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)
  1124. 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)
  1125. end
  1126. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1127. SpawnTrail(Hole.Position,POS)
  1128. if HIT ~= nil then
  1129. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1130. Banish(HIT.Parent)
  1131. end
  1132. end
  1133. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1134. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1135. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1136. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1137. for i=0, 0.05, 0.1 / Animation_Speed do
  1138. Swait()
  1139. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1142. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1143. 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)
  1144. 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)
  1145. end
  1146. until KEYHOLD == false
  1147. ATTACK = false
  1148. Rooted = false
  1149. end
  1150. function Teleport()
  1151. ATTACK = true
  1152. Rooted = false
  1153. for i=0, 0.5, 0.1 / Animation_Speed do
  1154. Swait()
  1155. 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)
  1156. 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)
  1157. end
  1158. for e = 1, #BODY do
  1159. if BODY[e] ~= nil then
  1160. local STUFF = BODY[e]
  1161. local PART = STUFF[1]
  1162. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1163. local PRT = PART:Clone()
  1164. PRT.Anchored = true
  1165. PRT.CanCollide = false
  1166. PRT.Material = "Neon"
  1167. PRT.Color = C3(255,100,255)
  1168. PRT.Name = "WarpEffect"
  1169. PRT.Parent = Effects
  1170. PRT.CFrame = PART.CFrame
  1171. PRT:BreakJoints()
  1172. if PRT:FindFirstChildOfClass("Sound") then
  1173. PRT:FindFirstChildOfClass("Sound"):remove()
  1174. end
  1175. if PRT:FindFirstChildOfClass("Decal") then
  1176. PRT:FindFirstChildOfClass("Decal"):remove()
  1177. end
  1178. coroutine.resume(coroutine.create(function()
  1179. for i = 1, 100 do
  1180. Swait()
  1181. PRT.Transparency = PRT.Transparency + 1/100
  1182. end
  1183. PRT:remove()
  1184. end))
  1185. end
  1186. end
  1187. end
  1188. CreateSound(217767125, Torso, 10, 1)
  1189. local POS = RootPart.Orientation
  1190. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1191. RootPart.Orientation = POS
  1192. RootJoint.Parent = RootPart
  1193. for i=0, 0.5, 0.1 / Animation_Speed do
  1194. Swait()
  1195. 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)
  1196. 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)
  1197. end
  1198. for i=0, 0.1, 0.1 / Animation_Speed do
  1199. Swait()
  1200. 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)
  1201. end
  1202. ATTACK = false
  1203. Rooted = false
  1204. end
  1205. function BanishmentBeam()
  1206. ATTACK = true
  1207. Rooted = false
  1208. local GYRO = IT("BodyGyro",RootPart)
  1209. GYRO.D = 100
  1210. GYRO.P = 2000
  1211. GYRO.MaxTorque = VT(0,4000000,0)
  1212. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1213. CreateSound("93724183", RightArm, 5, 1, false)
  1214. for i=1, 35 do
  1215. Swait()
  1216. 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})
  1217. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1218. 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)
  1219. 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)
  1220. 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)
  1221. 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)
  1222. 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)
  1223. 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)
  1224. end
  1225. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  1226. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  1227. local TOCH = BEAM.Touched:Connect(function(hit)
  1228. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1229. Kill(hit)
  1230. end
  1231. end)
  1232. local I = 0
  1233. repeat
  1234. Swait()
  1235. I = I + 1
  1236. if I <= 10 then
  1237. BEAM.Transparency = BEAM.Transparency - 0.1
  1238. end
  1239. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1240. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1241. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1242. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1243. BEAM.Size = VT(2,2,DISTANCE)
  1244. 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})
  1245. 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})
  1246. 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})
  1247. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1248. 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)
  1249. 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)
  1250. 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)
  1251. 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)
  1252. 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)
  1253. 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)
  1254. if ENDHIT ~= nil then
  1255. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1256. Banish(ENDHIT)
  1257. end
  1258. end
  1259. until LOOP.Playing == false
  1260. GYRO:remove()
  1261. BEAM:remove()
  1262. ATTACK = false
  1263. Rooted = false
  1264. end
  1265. function Deathbound()
  1266. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1267. ATTACK = true
  1268. Rooted = true
  1269. for i=0, 1, 0.1 / Animation_Speed do
  1270. Swait()
  1271. 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)
  1272. 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)
  1273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1275. 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)
  1276. 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)
  1277. end
  1278. local DONE = false
  1279. local GATE = nil
  1280. local GATESPIN = true
  1281. coroutine.resume(coroutine.create(function()
  1282. repeat
  1283. Swait()
  1284. if GATE ~= nil then
  1285. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1286. end
  1287. until GATESPIN == false
  1288. end))
  1289. coroutine.resume(coroutine.create(function()
  1290. repeat
  1291. Swait()
  1292. 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)
  1293. 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)
  1294. 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)
  1295. 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)
  1296. 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)
  1297. 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)
  1298. until DONE == true
  1299. Swait(50)
  1300. for i = 1, 35 do
  1301. Swait(4)
  1302. local FIRED = false
  1303. local CHILDREN = workspace:GetDescendants()
  1304. for index, CHILD in pairs(CHILDREN) do
  1305. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1306. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1307. if HUM then
  1308. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1309. if TORSO then
  1310. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1311. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1312. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1313. 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})
  1314. 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})
  1315. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1316. Banish(CHILD)
  1317. FIRED = true
  1318. break
  1319. end
  1320. end
  1321. end
  1322. end
  1323. end
  1324. if FIRED == false then
  1325. 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)))
  1326. 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})
  1327. 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})
  1328. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1329. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1330. if HITBOD ~= nil then
  1331. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1332. Kill(HITBOD.Parent)
  1333. end
  1334. end
  1335. end
  1336. end
  1337. for i = 1, 45 do
  1338. Swait()
  1339. GATE.Size = GATE.Size - VT(3,0,3)
  1340. end
  1341. GATESPIN = false
  1342. GATE:remove()
  1343. end))
  1344. Swait(15)
  1345. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1346. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1347. local DECAL = IT("Decal",GATE)
  1348. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1349. DECAL.Face = "Top"
  1350. GATE.CFrame = CF(HITPOS)
  1351. CreateSound(160772554, GATE, 7, 1.3, false)
  1352. for i = 1, 45 do
  1353. Swait()
  1354. GATE.Size = GATE.Size + VT(3,0,3)
  1355. end
  1356. CreateSound(213603013, RightHole, 7, 1, false)
  1357. CreateSound(213603013, LeftHole, 7, 1, false)
  1358. 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})
  1359. 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})
  1360. ATTACK = false
  1361. Rooted = false
  1362. DONE = true
  1363. end
  1364.  
  1365.  
  1366. --//=================================\\
  1367. --|| ASSIGN THINGS TO KEYS
  1368. --\\=================================//
  1369.  
  1370. function MouseDown(Mouse)
  1371. if ATTACK == false then
  1372. end
  1373. end
  1374.  
  1375. function MouseUp(Mouse)
  1376. HOLD = false
  1377. end
  1378.  
  1379. function KeyDown(Key)
  1380. KEYHOLD = true
  1381. if Key == "z" and ATTACK == false then
  1382. Banisher_Bullet()
  1383. end
  1384.  
  1385. if Key == "b" and ATTACK == false then
  1386. end
  1387.  
  1388. if Key == "c" and ATTACK == false then
  1389. BanishmentBeam()
  1390. end
  1391.  
  1392. if Key == "v" and ATTACK == false then
  1393. Teleport()
  1394. end
  1395.  
  1396. if Key == "x" and ATTACK == false then
  1397. Deathbound()
  1398. end
  1399. end
  1400.  
  1401. function KeyUp(Key)
  1402. KEYHOLD = false
  1403. end
  1404.  
  1405. Mouse.Button1Down:connect(function(NEWKEY)
  1406. MouseDown(NEWKEY)
  1407. end)
  1408. Mouse.Button1Up:connect(function(NEWKEY)
  1409. MouseUp(NEWKEY)
  1410. end)
  1411. Mouse.KeyDown:connect(function(NEWKEY)
  1412. KeyDown(NEWKEY)
  1413. end)
  1414. Mouse.KeyUp:connect(function(NEWKEY)
  1415. KeyUp(NEWKEY)
  1416. end)
  1417.  
  1418. --//=================================\\
  1419. --\\=================================//
  1420.  
  1421.  
  1422. function unanchor()
  1423. if UNANCHOR == true then
  1424. g = Character:GetChildren()
  1425. for i = 1, #g do
  1426. if g[i].ClassName == "Part" then
  1427. g[i].Anchored = false
  1428. end
  1429. end
  1430. end
  1431. end
  1432.  
  1433.  
  1434. --//=================================\\
  1435. --|| WRAP THE WHOLE SCRIPT UP
  1436. --\\=================================//
  1437.  
  1438. Humanoid.Changed:connect(function(Jump)
  1439. if Jump == "Jump" and (Disable_Jump == true) then
  1440. Humanoid.Jump = false
  1441. end
  1442. end)
  1443.  
  1444. local CONNECT = nil
  1445.  
  1446. while true do
  1447. Swait()
  1448. ANIMATE.Parent = nil
  1449. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1450. Humanoid = IT("Humanoid",Character)
  1451. end
  1452. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1453. v:Stop();
  1454. end
  1455. SINE = SINE + CHANGE
  1456. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1457. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1458. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1459. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  1460. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1461. 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)
  1462. 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)
  1463. 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)
  1464. 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)
  1465. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1466. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1467. 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)
  1468. 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)
  1469. 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)
  1470. end
  1471. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1472. ANIM = "Jump"
  1473. if ATTACK == false then
  1474. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1478. 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)
  1479. 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)
  1480. end
  1481. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1482. ANIM = "Fall"
  1483. if ATTACK == false then
  1484. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1488. 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)
  1489. 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)
  1490. end
  1491. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1492. ANIM = "Idle"
  1493. if ATTACK == false then
  1494. 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)
  1495. 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)
  1496. 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)
  1497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1498. 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)
  1499. 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)
  1500. end
  1501. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1502. ANIM = "Walk"
  1503. if ATTACK == false then
  1504. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1505. 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)
  1506. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1507. 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)
  1508. 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)
  1509. 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)
  1510. end
  1511. end
  1512. unanchor()
  1513. Humanoid.MaxHealth = "inf"
  1514. Humanoid.Health = "inf"
  1515. if Rooted == false then
  1516. Disable_Jump = false
  1517. Humanoid.WalkSpeed = Speed
  1518. elseif Rooted == true then
  1519. Disable_Jump = true
  1520. Humanoid.WalkSpeed = 0
  1521. end
  1522. refit()
  1523. sick.Parent = Torso
  1524. sick:resume()
  1525. sick.Volume = 5
  1526. sick.Pitch = 1
  1527. sick.SoundId = "rbxassetid://1362331520"
  1528. sick.Name = "BanishV3Music"
  1529. end
  1530.  
  1531. --//=================================\\
  1532. --\\=================================//
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538. --//====================================================\\--
  1539. --|| END OF SCRIPT
  1540. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement