Advertisement
Basykung7845

Test

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