Advertisement
Basykung7845

Test

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