Advertisement
GojiGaming1337

Untitled

Jun 18th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.65 KB | None | 0 0
  1. script.Name = "machine gun banisher v2 maded to destroy skids"
  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://1416617454"
  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("Lime green").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("Lime green").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("Lime green").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. function StatLabel(CFRAME, TEXT, COLOR)
  201. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  202. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  203. local BODYGYRO = IT("BodyGyro", STATPART)
  204. game:GetService("Debris"):AddItem(STATPART ,5)
  205. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  206. BILLBOARDGUI.Adornee = STATPART
  207. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  208. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  209. BILLBOARDGUI.AlwaysOnTop = false
  210. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  211. TEXTLABEL.BackgroundTransparency = 1
  212. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  213. TEXTLABEL.Text = TEXT
  214. TEXTLABEL.Font = SKILLFONT
  215. TEXTLABEL.FontSize="Size42"
  216. TEXTLABEL.TextColor3 = COLOR
  217. TEXTLABEL.TextStrokeTransparency = 0
  218. TEXTLABEL.TextScaled = true
  219. TEXTLABEL.TextWrapped = true
  220. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  221. for i = 1, 50 do
  222. Swait()
  223. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  224. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  225. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  226. end
  227. THEPART.Parent = nil
  228. end),STATPART, TEXTLABEL)
  229. end
  230.  
  231. --//=================================\\
  232. --\\=================================//
  233.  
  234.  
  235. --//=================================\\
  236. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  237. --\\=================================//
  238.  
  239. ArtificialHB = Instance.new("BindableEvent", script)
  240. ArtificialHB.Name = "ArtificialHB"
  241.  
  242. script:WaitForChild("ArtificialHB")
  243.  
  244. frame = Frame_Speed
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248. lastframe = tick()
  249. script.ArtificialHB:Fire()
  250.  
  251. game:GetService("RunService").Heartbeat:connect(function(s, p)
  252. tf = tf + s
  253. if tf >= frame then
  254. if allowframeloss then
  255. script.ArtificialHB:Fire()
  256. lastframe = tick()
  257. else
  258. for i = 1, math.floor(tf / frame) do
  259. script.ArtificialHB:Fire()
  260. end
  261. lastframe = tick()
  262. end
  263. if tossremainder then
  264. tf = 0
  265. else
  266. tf = tf - frame * math.floor(tf / frame)
  267. end
  268. end
  269. end)
  270.  
  271. --//=================================\\
  272. --\\=================================//
  273.  
  274. --//=================================\\
  275. --|| SOME TAG EDIT
  276. --\\=================================//
  277.  
  278. m = game.Players.LocalPlayer
  279. char = m.Character
  280. local txt = Instance.new("BillboardGui", char)
  281. txt.Adornee = char.Head
  282. txt.Name = "_status"
  283. txt.Size = UDim2.new(2, 0, 1.2, 0)
  284. txt.StudsOffset = Vector3.new(-9, 8, 0)
  285. local text = Instance.new("TextLabel", txt)
  286. text.Size = UDim2.new(10, 0, 7, 0)
  287. text.FontSize = "Size24"
  288. text.TextScaled = true
  289. text.TextTransparency = 0
  290. text.BackgroundTransparency = 1
  291. text.TextTransparency = 0
  292. text.TextStrokeTransparency = 0
  293. text.Font = "Bodoni"
  294. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  295. v = Instance.new("Part")
  296. v.Name = "ColorBrick"
  297. v.Parent = m.Character
  298. v.FormFactor = "Symmetric"
  299. v.Anchored = true
  300. v.CanCollide = false
  301. v.BottomSurface = "Smooth"
  302. v.TopSurface = "Smooth"
  303. v.Size = Vector3.new(10, 5, 3)
  304. v.Transparency = 1
  305. v.CFrame = char.Torso.CFrame
  306. v.BrickColor = BrickColor.new("Really black")
  307. v.Transparency = 1
  308. v.Shape = "Block"
  309. spawn(function()
  310. local TweenService = game:GetService("TweenService")
  311. 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)}
  312. local Int = 0
  313. while wait(0.5) do
  314. if Int == #Colours then Int = 0 end
  315. Int = Int+1
  316. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  317. end
  318. end)
  319. text.Text = "Freezing Hope"
  320.  
  321. --//=================================\\
  322. --\\=================================//
  323.  
  324. --//=================================\\
  325. --|| SOME FUNCTIONS
  326. --\\=================================//
  327.  
  328. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  329. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  330. end
  331.  
  332. function PositiveAngle(NUMBER)
  333. if NUMBER >= 0 then
  334. NUMBER = 0
  335. end
  336. return NUMBER
  337. end
  338.  
  339. function NegativeAngle(NUMBER)
  340. if NUMBER <= 0 then
  341. NUMBER = 0
  342. end
  343. return NUMBER
  344. end
  345.  
  346. function Swait(NUMBER)
  347. if NUMBER == 0 or NUMBER == nil then
  348. ArtificialHB.Event:wait()
  349. else
  350. for i = 1, NUMBER do
  351. ArtificialHB.Event:wait()
  352. end
  353. end
  354. end
  355.  
  356. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  357. local NEWMESH = IT(MESH)
  358. if MESH == "SpecialMesh" then
  359. NEWMESH.MeshType = MESHTYPE
  360. if MESHID ~= "nil" and MESHID ~= "" then
  361. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  362. end
  363. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  364. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  365. end
  366. end
  367. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  368. NEWMESH.Scale = SCALE
  369. NEWMESH.Parent = PARENT
  370. return NEWMESH
  371. end
  372.  
  373. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  374. local NEWPART = IT("Part")
  375. NEWPART.formFactor = FORMFACTOR
  376. NEWPART.Reflectance = REFLECTANCE
  377. NEWPART.Transparency = TRANSPARENCY
  378. NEWPART.CanCollide = false
  379. NEWPART.Locked = true
  380. NEWPART.Anchored = true
  381. if ANCHOR == false then
  382. NEWPART.Anchored = false
  383. end
  384. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  385. NEWPART.Name = NAME
  386. NEWPART.Size = SIZE
  387. NEWPART.Position = Torso.Position
  388. NEWPART.Material = MATERIAL
  389. NEWPART:BreakJoints()
  390. NEWPART.Parent = PARENT
  391. return NEWPART
  392. end
  393.  
  394. local function weldBetween(a, b)
  395. local weldd = Instance.new("ManualWeld")
  396. weldd.Part0 = a
  397. weldd.Part1 = b
  398. weldd.C0 = CFrame.new()
  399. weldd.C1 = b.CFrame:inverse() * a.CFrame
  400. weldd.Parent = a
  401. return weldd
  402. end
  403.  
  404.  
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5 / s
  411. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  412. else
  413. local i = 0
  414. if m11 > m00 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00 - m11 - m22 + 1)
  422. local recip = 0.5 / s
  423. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11 - m22 - m00 + 1)
  426. local recip = 0.5 / s
  427. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22 - m00 - m11 + 1)
  430. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  431. end
  432. end
  433. end
  434.  
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w * xs, w * ys, w * zs
  438. local xx = x * xs
  439. local xy = x * ys
  440. local xz = x * zs
  441. local yy = y * ys
  442. local yz = y * zs
  443. local zz = z * zs
  444. 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))
  445. end
  446.  
  447. function QuaternionSlerp(a, b, t)
  448. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  449. local startInterp, finishInterp;
  450. if cosTheta >= 0.0001 then
  451. if (1 - cosTheta) > 0.0001 then
  452. local theta = ACOS(cosTheta)
  453. local invSinTheta = 1 / SIN(theta)
  454. startInterp = SIN((1 - t) * theta) * invSinTheta
  455. finishInterp = SIN(t * theta) * invSinTheta
  456. else
  457. startInterp = 1 - t
  458. finishInterp = t
  459. end
  460. else
  461. if (1 + cosTheta) > 0.0001 then
  462. local theta = ACOS(-cosTheta)
  463. local invSinTheta = 1 / SIN(theta)
  464. startInterp = SIN((t - 1) * theta) * invSinTheta
  465. finishInterp = SIN(t * theta) * invSinTheta
  466. else
  467. startInterp = t - 1
  468. finishInterp = t
  469. end
  470. end
  471. 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
  472. end
  473.  
  474. function Clerp(a, b, t)
  475. local qa = {QuaternionFromCFrame(a)}
  476. local qb = {QuaternionFromCFrame(b)}
  477. local ax, ay, az = a.x, a.y, a.z
  478. local bx, by, bz = b.x, b.y, b.z
  479. local _t = 1 - t
  480. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  481. end
  482.  
  483. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  484. local frame = IT("Frame")
  485. frame.BackgroundTransparency = TRANSPARENCY
  486. frame.BorderSizePixel = BORDERSIZEPIXEL
  487. frame.Position = POSITION
  488. frame.Size = SIZE
  489. frame.BackgroundColor3 = COLOR
  490. frame.BorderColor3 = BORDERCOLOR
  491. frame.Name = NAME
  492. frame.Parent = PARENT
  493. return frame
  494. end
  495.  
  496. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  497. local label = IT("TextLabel")
  498. label.BackgroundTransparency = 1
  499. label.Size = UD2(1, 0, 1, 0)
  500. label.Position = UD2(0, 0, 0, 0)
  501. label.TextColor3 = TEXTCOLOR
  502. label.TextStrokeTransparency = STROKETRANSPARENCY
  503. label.TextTransparency = TRANSPARENCY
  504. label.FontSize = TEXTFONTSIZE
  505. label.Font = TEXTFONT
  506. label.BorderSizePixel = BORDERSIZEPIXEL
  507. label.TextScaled = false
  508. label.Text = TEXT
  509. label.Name = NAME
  510. label.Parent = PARENT
  511. return label
  512. end
  513.  
  514. function NoOutlines(PART)
  515. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  516. end
  517.  
  518. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  519. local NEWWELD = IT(TYPE)
  520. NEWWELD.Part0 = PART0
  521. NEWWELD.Part1 = PART1
  522. NEWWELD.C0 = C0
  523. NEWWELD.C1 = C1
  524. NEWWELD.Parent = PARENT
  525. return NEWWELD
  526. end
  527.  
  528. local S = IT("Sound")
  529. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  530. local NEWSOUND = nil
  531. coroutine.resume(coroutine.create(function()
  532. NEWSOUND = S:Clone()
  533. NEWSOUND.Parent = PARENT
  534. NEWSOUND.Volume = VOLUME
  535. NEWSOUND.Pitch = PITCH
  536. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  537. NEWSOUND:play()
  538. if DOESLOOP == true then
  539. NEWSOUND.Looped = true
  540. else
  541. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  542. NEWSOUND:remove()
  543. end
  544. end))
  545. return NEWSOUND
  546. end
  547.  
  548. function CFrameFromTopBack(at, top, back)
  549. local right = top:Cross(back)
  550. 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)
  551. end
  552.  
  553. --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})
  554. function WACKYEFFECT(Table)
  555. local TYPE = (Table.EffectType or "Sphere")
  556. local SIZE = (Table.Size or VT(1,1,1))
  557. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  558. local TRANSPARENCY = (Table.Transparency or 0)
  559. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  560. local CFRAME = (Table.CFrame or Torso.CFrame)
  561. local MOVEDIRECTION = (Table.MoveToPos or nil)
  562. local ROTATION1 = (Table.RotationX or 0)
  563. local ROTATION2 = (Table.RotationY or 0)
  564. local ROTATION3 = (Table.RotationZ or 0)
  565. local MATERIAL = (Table.Material or "Neon")
  566. local COLOR = (Table.Color or C3(0,255,0))
  567. local TIME = (Table.Time or 45)
  568. local SOUNDID = (Table.SoundID or nil)
  569. local SOUNDPITCH = (Table.SoundPitch or nil)
  570. local SOUNDVOLUME = (Table.SoundVolume or nil)
  571. coroutine.resume(coroutine.create(function()
  572. local PLAYSSOUND = false
  573. local SOUND = nil
  574. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  575. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  576. PLAYSSOUND = true
  577. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  578. end
  579. EFFECT.Color = COLOR
  580. local MSH = nil
  581. if TYPE == "Sphere" then
  582. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  583. elseif TYPE == "Block" then
  584. MSH = IT("BlockMesh",EFFECT)
  585. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  586. elseif TYPE == "Wave" then
  587. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  588. elseif TYPE == "Ring" then
  589. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  590. elseif TYPE == "Slash" then
  591. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  592. elseif TYPE == "Round Slash" then
  593. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  594. elseif TYPE == "Swirl" then
  595. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  596. elseif TYPE == "Skull" then
  597. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  598. elseif TYPE == "Crystal" then
  599. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  600. end
  601. if MSH ~= nil then
  602. local MOVESPEED = nil
  603. if MOVEDIRECTION ~= nil then
  604. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  605. end
  606. local GROWTH = SIZE - ENDSIZE
  607. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  608. if TYPE == "Block" then
  609. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  610. else
  611. EFFECT.CFrame = CFRAME
  612. end
  613. for LOOP = 1, TIME+1 do
  614. Swait()
  615. MSH.Scale = MSH.Scale - GROWTH/TIME
  616. if TYPE == "Wave" then
  617. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  618. end
  619. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  620. if TYPE == "Block" then
  621. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  622. else
  623. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  624. end
  625. if MOVEDIRECTION ~= nil then
  626. local ORI = EFFECT.Orientation
  627. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  628. EFFECT.Orientation = ORI
  629. end
  630. end
  631. if PLAYSSOUND == false then
  632. EFFECT:remove()
  633. else
  634. SOUND.Stopped:Connect(function()
  635. EFFECT:remove()
  636. end)
  637. end
  638. else
  639. if PLAYSSOUND == false then
  640. EFFECT:remove()
  641. else
  642. repeat Swait() until SOUND.Playing == false
  643. EFFECT:remove()
  644. end
  645. end
  646. end))
  647. end
  648.  
  649. function MakeForm(PART,TYPE)
  650. if TYPE == "Cyl" then
  651. local MSH = IT("CylinderMesh",PART)
  652. elseif TYPE == "Ball" then
  653. local MSH = IT("SpecialMesh",PART)
  654. MSH.MeshType = "Sphere"
  655. elseif TYPE == "Wedge" then
  656. local MSH = IT("SpecialMesh",PART)
  657. MSH.MeshType = "Wedge"
  658. end
  659. end
  660.  
  661. function SpawnTrail(FROM,TO,BIG)
  662. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  663. MakeForm(TRAIL,"Cyl")
  664. local DIST = (FROM - TO).Magnitude
  665. if BIG == true then
  666. TRAIL.Size = VT(10,DIST,10)
  667. else
  668. TRAIL.Size = VT(25,DIST,25)
  669. end
  670. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  671. coroutine.resume(coroutine.create(function()
  672. for i = 1, 5 do
  673. Swait()
  674. TRAIL.Transparency = TRAIL.Transparency + 0.1
  675. end
  676. TRAIL:remove()
  677. end))
  678. end
  679.  
  680. Debris = game:GetService("Debris")
  681.  
  682. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  683. local DIRECTION = CF(StartPos,EndPos).lookVector
  684. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  685. end
  686.  
  687. function turnto(position)
  688. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  689. end
  690.  
  691. --//=================================\\
  692. --|| WEAPON CREATION
  693. --\\=================================//
  694. 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))
  695.  
  696. local Particle = IT("ParticleEmitter",nil)
  697. Particle.Enabled = false
  698. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  699. Particle.LightEmission = 0.5
  700. Particle.Rate = 150
  701. Particle.ZOffset = 0.2
  702. Particle.Rotation = NumberRange.new(-180, 180)
  703. Particle.RotSpeed = NumberRange.new(-180, 180)
  704. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  705. 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))
  706.  
  707. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  708. function ParticleEmitter(Table)
  709. local PRTCL = Particle:Clone()
  710. local Speed = Table.Speed or 5
  711. local Drag = Table.Drag or 0
  712. local Size1 = Table.Size1 or 1
  713. local Size2 = Table.Size2 or 5
  714. local Lifetime1 = Table.Lifetime1 or 1
  715. local Lifetime2 = Table.Lifetime2 or 1.5
  716. local Parent = Table.Parent or Torso
  717. local Emit = Table.Emit or 100
  718. local Offset = Table.Offset or 360
  719. local Acel = Table.Acel or VT(0,0,0)
  720. local Enabled = Table.Enabled or false
  721. PRTCL.Parent = Parent
  722. PRTCL.Size = NumberSequence.new(Size1,Size2)
  723. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  724. PRTCL.Speed = NumberRange.new(Speed)
  725. PRTCL.VelocitySpread = Offset
  726. PRTCL.Drag = Drag
  727. PRTCL.Acceleration = Acel
  728. if Enabled == false then
  729. PRTCL:Emit(Emit)
  730. Debris:AddItem(PRTCL,Lifetime2)
  731. else
  732. PRTCL.Enabled = true
  733. end
  734. return PRTCL
  735. end
  736.  
  737. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  738. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  740. MakeForm(Part,"Wedge")
  741. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  742. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  743. MakeForm(Part,"Wedge")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  745. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  747. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  748. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  749. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  750. MakeForm(Part,"Cyl")
  751. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  752. for i = 1, 8 do
  753. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  754. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  755. end
  756. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  757. MakeForm(Part,"Cyl")
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  759. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  760. MakeForm(Part,"Ball")
  761. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  762. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  763. MakeForm(Part,"Wedge")
  764. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  765. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  766. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  768. MakeForm(Part,"Cyl")
  769. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  770. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  771. MakeForm(Part,"Cyl")
  772. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  773. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  774. MakeForm(Part,"Cyl")
  775. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  776. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  777. MakeForm(Part,"Wedge")
  778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  779. local LASTPART = Handle
  780. for i = 1, 10 do
  781. if LASTPART == Handle then
  782. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  783. LASTPART = Part
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  785. else
  786. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  787. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  788. LASTPART = Part
  789. end
  790. end
  791.  
  792. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  793. MakeForm(Barrel,"Cyl")
  794. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  796. MakeForm(Part,"Cyl")
  797. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  798. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  799. MakeForm(Part,"Wedge")
  800. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  801. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  802. MakeForm(Hole,"Cyl")
  803. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  804. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  805. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  806. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  807. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  808. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  809. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  810. coroutine.resume(coroutine.create(function()
  811. while wait() do
  812. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  813. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  814. end
  815. end))
  816.  
  817. 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)})
  818. --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)})
  819.  
  820.  
  821. for _, c in pairs(Weapon:GetDescendants()) do
  822. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  823. c.Material = "Glass"
  824. c.Color = C3(0,0,0)
  825. elseif c.ClassName == "Part" and c.Name == "Eye" then
  826. c.Color = C3(0,255,0)
  827. c.Material = "Neon"
  828. end
  829. end
  830.  
  831. Weapon.Parent = Character
  832. for _, c in pairs(Weapon:GetChildren()) do
  833. if c.ClassName == "Part" then
  834. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  835. end
  836. end
  837.  
  838. function swait(num)
  839. if num == 0 or num == nil then
  840. ArtificialHB.Event:wait()
  841. else
  842. for i = 0, num do
  843. ArtificialHB.Event:wait()
  844. end
  845. end
  846. end
  847.  
  848. function chatfunc(text)
  849. local chat = coroutine.wrap(function()
  850. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  851. Character:FindFirstChild("TalkingBillBoard"):destroy()
  852. end
  853. local Bill = Instance.new("BillboardGui",Character)
  854. Bill.Size = UDim2.new(0,100,0,40)
  855. Bill.StudsOffset = Vector3.new(0,3,0)
  856. Bill.Adornee = Character.Head
  857. Bill.Name = "TalkingBillBoard"
  858. local Hehe = Instance.new("TextLabel",Bill)
  859. Hehe.BackgroundTransparency = 1
  860. Hehe.BorderSizePixel = 0
  861. Hehe.Text = ""
  862. Hehe.Font = "Bodoni"
  863. Hehe.TextSize = 40
  864. Hehe.TextStrokeTransparency = 0
  865. Hehe.Size = UDim2.new(1,0,0.5,0)
  866. coroutine.resume(coroutine.create(function()
  867. while Hehe ~= nil do
  868. swait()
  869. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  870. Hehe.Rotation = math.random(-5,5)
  871. Hehe.TextColor3 = Color3.new(0,255,0)
  872. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  873. end
  874. end))
  875. for i = 1,string.len(text),1 do
  876. swait()
  877. Hehe.Text = string.sub(text,1,i)
  878. end
  879. swait(90)--Re[math.random(1, 93)]
  880. for i = 0, 1, .025 do
  881. swait()
  882. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  883. Hehe.TextStrokeTransparency = i
  884. Hehe.TextTransparency = i
  885. end
  886. Bill:Destroy()
  887. end)
  888. chat()
  889. end
  890.  
  891. function onChatted(msg)
  892. chatfunc(msg)
  893. end
  894.  
  895. Player.Chatted:connect(onChatted)
  896.  
  897. local BODY = {}
  898. for _, c in pairs(Character:GetDescendants()) do
  899. if c:IsA("BasePart") and c.Name ~= "Handle" then
  900. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  901. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  902. end
  903. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  904. elseif c:IsA("JointInstance") then
  905. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  906. end
  907. end
  908.  
  909. function refit()
  910. Character.Parent = workspace
  911. for e = 1, #BODY do
  912. if BODY[e] ~= nil then
  913. local STUFF = BODY[e]
  914. local PART = STUFF[1]
  915. local PARENT = STUFF[2]
  916. local MATERIAL = STUFF[3]
  917. local COLOR = STUFF[4]
  918. local TRANSPARENCY = STUFF[5]
  919. --local SIZE = STUFF[6]
  920. local NAME = STUFF[7]
  921. if PART.ClassName == "Part" and PART ~= RootPart then
  922. PART.Material = MATERIAL
  923. PART.Transparency = TRANSPARENCY
  924. PART.Name = NAME
  925. end
  926. if PART.Parent ~= PARENT then
  927. Humanoid:remove()
  928. PART.Parent = PARENT
  929. Humanoid = IT("Humanoid",Character)
  930. end
  931. end
  932. end
  933. end
  934.  
  935. local SKILLTEXTCOLOR = C3(0,255,0)
  936. local SKILLFONT = "Code"
  937. local SKILLTEXTSIZE = 7
  938.  
  939. Humanoid.Died:connect(function()
  940. refit()
  941. end)
  942.  
  943. 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")
  944. 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")
  945. 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")
  946. 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")
  947. 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")
  948.  
  949. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  950. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  951. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  952. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  953. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Burning Fury", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  954.  
  955. function printbye(Name)
  956. 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, "}
  957. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  958. end
  959.  
  960. workspace.ChildAdded:connect(function(instance)
  961. for BANISH = 1, #TOBANISH do
  962. if TOBANISH[BANISH] ~= nil then
  963. if instance.Name == TOBANISH[BANISH] then
  964. coroutine.resume(coroutine.create(function()
  965. printbye(instance.Name)
  966. instance:ClearAllChildren()
  967. Debris:AddItem(instance,0.0005)
  968. end))
  969. end
  970. end
  971. end
  972. end)
  973.  
  974. --//=================================\\
  975. --|| DAMAGING
  976. --\\=================================//
  977.  
  978. function Banish(Foe)
  979. if Foe then
  980. coroutine.resume(coroutine.create(function()
  981. --if game.Players:FindFirstChild(Foe.Name) then
  982. table.insert(TOBANISH,Foe.Name)
  983. printbye(Foe.Name)
  984. --end
  985. Foe.Archivable = true
  986. local CLONE = Foe:Clone()
  987. Foe:Destroy()
  988. CLONE.Parent = Effects
  989. CLONE:BreakJoints()
  990. local MATERIALS = {"Glass","Neon"}
  991. for _, c in pairs(CLONE:GetDescendants()) do
  992. if c:IsA("BasePart") then
  993. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  994. CreateSound(340722848, c, 10, 1, false)
  995. end
  996. c.Anchored = true
  997. c.Transparency = c.Transparency + 0.2
  998. c.Material = MATERIALS[MRANDOM(1,2)]
  999. c.Color = C3(0,255,0)
  1000. if c.ClassName == "MeshPart" then
  1001. c.TextureID = ""
  1002. end
  1003. if c:FindFirstChildOfClass("SpecialMesh") then
  1004. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1005. end
  1006. if c:FindFirstChildOfClass("Decal") then
  1007. c:FindFirstChildOfClass("Decal"):remove()
  1008. end
  1009. c.Name = "Banished"
  1010. c.CanCollide = false
  1011. else
  1012. c:remove()
  1013. end
  1014. end
  1015. local A = false
  1016. for i = 1, 35 do
  1017. if A == false then
  1018. A = true
  1019. elseif A == true then
  1020. A = false
  1021. end
  1022. for _, c in pairs(CLONE:GetDescendants()) do
  1023. if c:IsA("BasePart") then
  1024. c.Anchored = true
  1025. c.Material = MATERIALS[MRANDOM(1,2)]
  1026. c.Transparency = c.Transparency + 0.8/35
  1027. if A == false then
  1028. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1029. elseif A == true then
  1030. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1031. end
  1032. end
  1033. end
  1034. Swait()
  1035. end
  1036. CLONE:remove()
  1037. end))
  1038. end
  1039. end
  1040.  
  1041. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1042. local CHILDREN = workspace:GetDescendants()
  1043. for index, CHILD in pairs(CHILDREN) do
  1044. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1045. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1046. if HUM then
  1047. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1048. if TORSO then
  1049. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1050. if ISBANISH == true then
  1051. Banish(CHILD)
  1052. else
  1053. if ISBANISH == "Gravity" then
  1054. HUM.PlatformStand = true
  1055. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1056. local grav = Instance.new("BodyPosition",TORSO)
  1057. grav.D = 15
  1058. grav.P = 20000
  1059. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1060. grav.position = TORSO.Position
  1061. grav.Name = "V3BanishForce"..Player.Name
  1062. else
  1063. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1064. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1065. end
  1066. else
  1067. HUM.PlatformStand = false
  1068. end
  1069. end
  1070. elseif ISBANISH == "Gravity" then
  1071. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1072. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1073. HUM.PlatformStand = false
  1074. end
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081.  
  1082. --//=================================\\
  1083. --|| ATTACK FUNCTIONS AND STUFF
  1084. --\\=================================//
  1085. local LAUGHS = {"907329532"}
  1086.  
  1087. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1088. MakeForm(RightHole,"Cyl")
  1089. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1090. MakeForm(LeftHole,"Cyl")
  1091.  
  1092. function getbloody(victim,amount)
  1093. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1094. PART.CFrame = victim.CFrame
  1095. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1096. Debris:AddItem(PART,5)
  1097. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1098. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1099. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1100. local prtcl = asd:Clone()
  1101. prtcl.Parent = PART
  1102. prtcl:Emit(amount*10)
  1103. end
  1104.  
  1105. function Kill(Char)
  1106. local NewCharacter = IT("Model",Effects)
  1107. NewCharacter.Name = "Ow im ded ;-;"
  1108. for _, c in pairs(Char:GetDescendants()) do
  1109. if c:IsA("BasePart") and c.Transparency == 0 then
  1110. if c.Parent == Char then
  1111. getbloody(c,5)
  1112. end
  1113. c:BreakJoints()
  1114. c.Material = "Glass"
  1115. c.Color = C3(0.5,0,0)
  1116. c.CanCollide = true
  1117. c.Transparency = 0.3
  1118. if c:FindFirstChildOfClass("SpecialMesh") then
  1119. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1120. end
  1121. if c.Name == "Head" then
  1122. c:ClearAllChildren()
  1123. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1124. end
  1125. if c.ClassName == "MeshPart" then
  1126. c.TextureID = ""
  1127. end
  1128. if c:FindFirstChildOfClass("BodyPosition") then
  1129. c:FindFirstChildOfClass("BodyPosition"):remove()
  1130. end
  1131. if c:FindFirstChildOfClass("ParticleEmitter") then
  1132. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1133. end
  1134. c.Parent = NewCharacter
  1135. c.Name = "DeadPart"
  1136. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1137. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1138. end
  1139. end
  1140. Char:remove()
  1141. Debris:AddItem(NewCharacter,5)
  1142. end
  1143.  
  1144. function Banisher_Bullet()
  1145. ATTACK = true
  1146. Rooted = false
  1147. for i=0, 0.05, 0.1 / Animation_Speed do
  1148. Swait()
  1149. turnto(Mouse.Hit.p)
  1150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1154. 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)
  1155. 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)
  1156. end
  1157. repeat
  1158. for i=0, 0.05, 0.1 / Animation_Speed do
  1159. Swait()
  1160. turnto(Mouse.Hit.p)
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1165. 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)
  1166. 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)
  1167. end
  1168. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1169. SpawnTrail(Hole.Position,POS)
  1170. if HIT ~= nil then
  1171. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1172. Banish(HIT.Parent)
  1173. end
  1174. end
  1175. 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})
  1176. 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})
  1177. 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})
  1178. 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})
  1179. for i=0, 0.05, 0.1 / Animation_Speed do
  1180. Swait()
  1181. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1182. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1183. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1184. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1185. 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)
  1186. 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)
  1187. end
  1188. until KEYHOLD == false
  1189. ATTACK = false
  1190. Rooted = false
  1191. end
  1192. function Execute()
  1193. ATTACK = true
  1194. Rooted = false
  1195. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1196. Part.Color = C3(0,0,0)
  1197. MakeForm(Part,"Wedge")
  1198. Part.CanCollide = true
  1199. 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))
  1200. for i=0, 1, 0.1 / Animation_Speed do
  1201. Swait()
  1202. 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)
  1203. 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)
  1204. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1205. 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)
  1206. 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)
  1207. 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)
  1208. end
  1209. CreateSound(541909867, RightBarrel, 7, 1, false)
  1210. local TOCH = Part.Touched:Connect(function(hit)
  1211. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1212. Banish(hit.Parent)
  1213. end
  1214. end)
  1215. for i=0, 0.35, 0.1 / Animation_Speed do
  1216. Swait()
  1217. 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)
  1218. 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)
  1219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1220. 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)
  1221. 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)
  1222. 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)
  1223. end
  1224. TOCH:disconnect()
  1225. for i=0, 0.35, 0.1 / Animation_Speed do
  1226. Swait()
  1227. 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)
  1228. 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)
  1229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1230. 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)
  1231. 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)
  1232. 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)
  1233. end
  1234. Part:remove()
  1235. ATTACK = false
  1236. Rooted = false
  1237. end
  1238. function Banisher_Burn()
  1239. ATTACK = true
  1240. Rooted = true
  1241. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1242. for i=0, 1, 0.1 / Animation_Speed do
  1243. Swait()
  1244. 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)
  1245. 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)
  1246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1248. 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)
  1249. 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)
  1250. end
  1251. coroutine.resume(coroutine.create(function()
  1252. local POS = Mouse.Hit.p
  1253. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  1254. MakeForm(RAY,"Cyl")
  1255. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  1256. MakeForm(SPHERE,"Ball")
  1257. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  1258. MakeForm(SHIELD,"Ball")
  1259. SHIELD.CFrame = CF(POS)
  1260. RAY.CFrame = CF(POS)
  1261. SPHERE.CFrame = CF(POS)
  1262. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1263. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1264. for i = 1, 200 do
  1265. Swait()
  1266. 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})
  1267. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1268. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1269. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1270. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1271. end
  1272. for i = 1, 45 do
  1273. Swait()
  1274. RAY.Transparency = RAY.Transparency + 1/45
  1275. SPHERE.Transparency = RAY.Transparency
  1276. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1277. end
  1278. RAY:remove()
  1279. SHIELD:remove()
  1280. SPHERE:remove()
  1281. end))
  1282. for i=0, 1, 0.1 / Animation_Speed do
  1283. Swait()
  1284. 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)
  1285. 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)
  1286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1288. 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)
  1289. 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)
  1290. end
  1291. ATTACK = false
  1292. Rooted = false
  1293. end
  1294. function Teleport()
  1295. ATTACK = true
  1296. Rooted = false
  1297. for i=0, 0.5, 0.1 / Animation_Speed do
  1298. Swait()
  1299. 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)
  1300. 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)
  1301. end
  1302. for e = 1, #BODY do
  1303. if BODY[e] ~= nil then
  1304. local STUFF = BODY[e]
  1305. local PART = STUFF[1]
  1306. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1307. local PRT = PART:Clone()
  1308. PRT.Anchored = true
  1309. PRT.CanCollide = false
  1310. PRT.Material = "Neon"
  1311. PRT.Color = C3(255,100,255)
  1312. PRT.Name = "WarpEffect"
  1313. PRT.Parent = Effects
  1314. PRT.CFrame = PART.CFrame
  1315. PRT:BreakJoints()
  1316. if PRT:FindFirstChildOfClass("Sound") then
  1317. PRT:FindFirstChildOfClass("Sound"):remove()
  1318. end
  1319. if PRT:FindFirstChildOfClass("Decal") then
  1320. PRT:FindFirstChildOfClass("Decal"):remove()
  1321. end
  1322. coroutine.resume(coroutine.create(function()
  1323. for i = 1, 100 do
  1324. Swait()
  1325. PRT.Transparency = PRT.Transparency + 1/100
  1326. end
  1327. PRT:remove()
  1328. end))
  1329. end
  1330. end
  1331. end
  1332. CreateSound(217767125, Torso, 10, 1)
  1333. local POS = RootPart.Orientation
  1334. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1335. RootPart.Orientation = POS
  1336. RootJoint.Parent = RootPart
  1337. for i=0, 0.5, 0.1 / Animation_Speed do
  1338. Swait()
  1339. 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)
  1340. 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)
  1341. end
  1342. for i=0, 0.1, 0.1 / Animation_Speed do
  1343. Swait()
  1344. 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)
  1345. end
  1346. ATTACK = false
  1347. Rooted = false
  1348. end
  1349. function BanishmentBeam()
  1350. ATTACK = true
  1351. Rooted = false
  1352. local GYRO = IT("BodyGyro",RootPart)
  1353. GYRO.D = 100
  1354. GYRO.P = 2000
  1355. GYRO.MaxTorque = VT(0,4000000,0)
  1356. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1357. CreateSound("93724183", RightArm, 5, 1, false)
  1358. for i=1, 35 do
  1359. Swait()
  1360. 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})
  1361. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1362. 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)
  1363. 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)
  1364. 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)
  1365. 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)
  1366. 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)
  1367. 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)
  1368. end
  1369. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  1370. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  1371. local TOCH = BEAM.Touched:Connect(function(hit)
  1372. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1373. Kill(hit)
  1374. end
  1375. end)
  1376. local I = 0
  1377. repeat
  1378. Swait()
  1379. I = I + 1
  1380. if I <= 10 then
  1381. BEAM.Transparency = BEAM.Transparency - 0.1
  1382. end
  1383. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1384. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1385. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1386. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1387. BEAM.Size = VT(2,2,DISTANCE)
  1388. 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})
  1389. 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})
  1390. 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})
  1391. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. 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)
  1397. 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)
  1398. if ENDHIT ~= nil then
  1399. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1400. Banish(ENDHIT)
  1401. end
  1402. end
  1403. until LOOP.Playing == false
  1404. GYRO:remove()
  1405. BEAM:remove()
  1406. ATTACK = false
  1407. Rooted = false
  1408. end
  1409. function Deathbound()
  1410. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1411. ATTACK = true
  1412. Rooted = true
  1413. for i=0, 1, 0.1 / Animation_Speed do
  1414. Swait()
  1415. 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)
  1416. 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)
  1417. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1418. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1419. 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)
  1420. 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)
  1421. end
  1422. local DONE = false
  1423. local GATE = nil
  1424. local GATESPIN = true
  1425. coroutine.resume(coroutine.create(function()
  1426. repeat
  1427. Swait()
  1428. if GATE ~= nil then
  1429. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1430. end
  1431. until GATESPIN == false
  1432. end))
  1433. coroutine.resume(coroutine.create(function()
  1434. repeat
  1435. Swait()
  1436. 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)
  1437. 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)
  1438. 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)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. until DONE == true
  1443. Swait(50)
  1444. for i = 1, 35 do
  1445. Swait(4)
  1446. local FIRED = false
  1447. local CHILDREN = workspace:GetDescendants()
  1448. for index, CHILD in pairs(CHILDREN) do
  1449. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1450. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1451. if HUM then
  1452. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1453. if TORSO then
  1454. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1455. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1456. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1457. 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})
  1458. 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})
  1459. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1460. Banish(CHILD)
  1461. FIRED = true
  1462. break
  1463. end
  1464. end
  1465. end
  1466. end
  1467. end
  1468. if FIRED == false then
  1469. 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)))
  1470. 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})
  1471. 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})
  1472. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1473. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1474. if HITBOD ~= nil then
  1475. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1476. Kill(HITBOD.Parent)
  1477. end
  1478. end
  1479. end
  1480. end
  1481. for i = 1, 45 do
  1482. Swait()
  1483. GATE.Size = GATE.Size - VT(3,0,3)
  1484. end
  1485. GATESPIN = false
  1486. GATE:remove()
  1487. end))
  1488. Swait(15)
  1489. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1490. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1491. local DECAL = IT("Decal",GATE)
  1492. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1493. DECAL.Face = "Top"
  1494. GATE.CFrame = CF(HITPOS)
  1495. CreateSound(160772554, GATE, 7, 1.3, false)
  1496. for i = 1, 45 do
  1497. Swait()
  1498. GATE.Size = GATE.Size + VT(3,0,3)
  1499. end
  1500. CreateSound(213603013, RightHole, 7, 1, false)
  1501. CreateSound(213603013, LeftHole, 7, 1, false)
  1502. 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})
  1503. 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})
  1504. ATTACK = false
  1505. Rooted = false
  1506. DONE = true
  1507. end
  1508.  
  1509.  
  1510. --//=================================\\
  1511. --|| ASSIGN THINGS TO KEYS
  1512. --\\=================================//
  1513.  
  1514. function MouseDown(Mouse)
  1515. if ATTACK == false then
  1516. Execute()
  1517. end
  1518. end
  1519.  
  1520. function MouseUp(Mouse)
  1521. HOLD = false
  1522. end
  1523.  
  1524. function KeyDown(Key)
  1525. KEYHOLD = true
  1526. if Key == "z" and ATTACK == false then
  1527. Banisher_Bullet()
  1528. end
  1529.  
  1530. if Key == "b" and ATTACK == false then
  1531. Banisher_Burn()
  1532. end
  1533.  
  1534. if Key == "c" and ATTACK == false then
  1535. BanishmentBeam()
  1536. end
  1537.  
  1538. if Key == "v" and ATTACK == false then
  1539. Teleport()
  1540. end
  1541.  
  1542. if Key == "x" and ATTACK == false then
  1543. Deathbound()
  1544. end
  1545. end
  1546.  
  1547. function KeyUp(Key)
  1548. KEYHOLD = false
  1549. end
  1550.  
  1551. Mouse.Button1Down:connect(function(NEWKEY)
  1552. MouseDown(NEWKEY)
  1553. end)
  1554. Mouse.Button1Up:connect(function(NEWKEY)
  1555. MouseUp(NEWKEY)
  1556. end)
  1557. Mouse.KeyDown:connect(function(NEWKEY)
  1558. KeyDown(NEWKEY)
  1559. end)
  1560. Mouse.KeyUp:connect(function(NEWKEY)
  1561. KeyUp(NEWKEY)
  1562. end)
  1563.  
  1564. --//=================================\\
  1565. --\\=================================//
  1566.  
  1567.  
  1568. function unanchor()
  1569. if UNANCHOR == true then
  1570. g = Character:GetChildren()
  1571. for i = 1, #g do
  1572. if g[i].ClassName == "Part" then
  1573. g[i].Anchored = false
  1574. end
  1575. end
  1576. end
  1577. end
  1578.  
  1579.  
  1580. --//=================================\\
  1581. --|| WRAP THE WHOLE SCRIPT UP
  1582. --\\=================================//
  1583.  
  1584. Humanoid.Changed:connect(function(Jump)
  1585. if Jump == "Jump" and (Disable_Jump == true) then
  1586. Humanoid.Jump = false
  1587. end
  1588. end)
  1589.  
  1590. local CONNECT = nil
  1591.  
  1592. while true do
  1593. Swait()
  1594. ANIMATE.Parent = nil
  1595. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1596. Humanoid = IT("Humanoid",Character)
  1597. end
  1598. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1599. v:Stop();
  1600. end
  1601. SINE = SINE + CHANGE
  1602. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1603. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1604. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1605. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  1606. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1607. 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)
  1608. 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)
  1609. 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)
  1610. 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)
  1611. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1612. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1613. 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)
  1614. 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)
  1615. 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)
  1616. end
  1617. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1618. ANIM = "Jump"
  1619. if ATTACK == false then
  1620. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1624. 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)
  1625. 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)
  1626. end
  1627. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1628. ANIM = "Fall"
  1629. if ATTACK == false then
  1630. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1634. 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)
  1635. 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)
  1636. end
  1637. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1638. ANIM = "Idle"
  1639. if ATTACK == false then
  1640. 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)
  1641. 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)
  1642. 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)
  1643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1644. 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)
  1645. 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)
  1646. end
  1647. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1648. ANIM = "Walk"
  1649. if ATTACK == false then
  1650. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1651. 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)
  1652. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1653. 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)
  1654. 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)
  1655. 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)
  1656. end
  1657. end
  1658. unanchor()
  1659. Humanoid.MaxHealth = "inf"
  1660. Humanoid.Health = "inf"
  1661. if Rooted == false then
  1662. Disable_Jump = false
  1663. Humanoid.WalkSpeed = Speed
  1664. elseif Rooted == true then
  1665. Disable_Jump = true
  1666. Humanoid.WalkSpeed = 0
  1667. end
  1668. refit()
  1669. sick.Parent = Torso
  1670. sick:resume()
  1671. sick.Volume = 5
  1672. sick.Pitch = 1
  1673. sick.SoundId = "rbxassetid://900308654"
  1674. sick.Name = "BanishV3Music"
  1675. end
  1676.  
  1677. --//=================================\\
  1678. --\\=================================//
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684. --//====================================================\\--
  1685. --|| END OF SCRIPT
  1686. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement