Advertisement
JacksoMykalJunior

Triple Banisher V2 [FE]

Mar 3rd, 2019
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.54 KB | None | 0 0
  1. -- This script has been Edit by Red_Jack142
  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 made by Red_Jack142")
  8. print("Do not abuse | Have Fun!")
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = owner
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89.  
  90. script.Name = "Banisher Gun V3 / 1"
  91. --//====================================================\\--
  92. --|| CREATED BY SHACKLUSTER
  93. --\\====================================================//--
  94.  
  95. script:ClearAllChildren()
  96. wait(0.2)
  97.  
  98. Player = owner
  99. PlayerGui = Player.PlayerGui
  100. Cam = workspace.CurrentCamera
  101. Backpack = Player.Backpack
  102. Character = Player.Character
  103. Humanoid = Character.Humanoid
  104. RootPart = Character["HumanoidRootPart"]
  105. Torso = Character["Torso"]
  106. Head = Character["Head"]
  107. RightArm = Character["Right Arm"]
  108. LeftArm = Character["Left Arm"]
  109. RightLeg = Character["Right Leg"]
  110. LeftLeg = Character["Left Leg"]
  111. RootJoint = RootPart["RootJoint"]
  112. Neck = Torso["Neck"]
  113. RightShoulder = Torso["Right Shoulder"]
  114. LeftShoulder = Torso["Left Shoulder"]
  115. RightHip = Torso["Right Hip"]
  116. LeftHip = Torso["Left Hip"]
  117. local TIME = 5
  118. local sick = Instance.new("Sound",Torso)
  119. sick.Parent = Torso
  120. sick.Playing = true
  121. sick.Looped = true
  122. sick.Volume = 2
  123. sick.Pitch = 0.9
  124. sick.TimePosition = 0
  125. sick.SoundId = "rbxassetid://1383666704"
  126.  
  127. IT = Instance.new
  128. CF = CFrame.new
  129. VT = Vector3.new
  130. RAD = math.rad
  131. C3 = Color3.new
  132. UD2 = UDim2.new
  133. BRICKC = BrickColor.new
  134. ANGLES = CFrame.Angles
  135. EULER = CFrame.fromEulerAnglesXYZ
  136. COS = math.cos
  137. ACOS = math.acos
  138. SIN = math.sin
  139. ASIN = math.asin
  140. ABS = math.abs
  141. MRANDOM = math.random
  142. FLOOR = math.floor
  143.  
  144. --//=================================\\
  145. --|| USEFUL VALUES
  146. --\\=================================//
  147.  
  148. Animation_Speed = 3
  149. local FORCERESET = false
  150. Frame_Speed = 1 / 80 -- (1 / 60) OR (1 / 80)
  151. local Speed = 12
  152. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  153. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  154. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  155. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  156. local DAMAGEMULTIPLIER = 1
  157. local ANIM = "Idle"
  158. local ATTACK = false
  159. local EQUIPPED = false
  160. local HOLD = false
  161. local COMBO = 1
  162. local Rooted = false
  163. local SINE = 0
  164. local SIZE = 1
  165. local KEYHOLD = false
  166. local CHANGE = 2 / Animation_Speed
  167. local WALKINGANIM = false
  168. local VALUE1 = false
  169. local VALUE2 = false
  170. local ROBLOXIDLEANIMATION = IT("Animation")
  171. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  172. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  173. --ROBLOXIDLEANIMATION.Parent = Humanoid
  174. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  175. WEAPONGUI.Name = "BanishV3Gui"
  176. local Weapon = IT("Model")
  177. Player_Size = 1 --Size of the player.
  178. Weapon.Name = "Adds"
  179. local Effects = IT("Folder", Weapon)
  180. Effects.Name = "Effects"
  181. local ANIMATOR = Humanoid.Animator
  182. local ANIMATE = Character:FindFirstChild("Animate")
  183. local UNANCHOR = true
  184. local TOBANISH = {}
  185. script.Parent = PlayerGui
  186.  
  187. --//=================================\\
  188. --\\=================================//
  189.  
  190.  
  191. --//=================================\\
  192. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  193. --\\=================================//
  194.  
  195. ArtificialHB = Instance.new("BindableEvent", script)
  196. ArtificialHB.Name = "ArtificialHB"
  197.  
  198. script:WaitForChild("ArtificialHB")
  199.  
  200. frame = Frame_Speed
  201. tf = 0
  202. allowframeloss = false
  203. tossremainder = false
  204. lastframe = tick()
  205. script.ArtificialHB:Fire()
  206.  
  207. game:GetService("RunService").Heartbeat:connect(function(s, p)
  208. tf = tf + s
  209. if tf >= frame then
  210. if allowframeloss then
  211. script.ArtificialHB:Fire()
  212. lastframe = tick()
  213. else
  214. for i = 1, math.floor(tf / frame) do
  215. script.ArtificialHB:Fire()
  216. end
  217. lastframe = tick()
  218. end
  219. if tossremainder then
  220. tf = 0
  221. else
  222. tf = tf - frame * math.floor(tf / frame)
  223. end
  224. end
  225. end)
  226.  
  227. --//=================================\\
  228. --\\=================================//
  229.  
  230. --//=================================\\
  231. --|| SOME FUNCTIONS
  232. --\\=================================//
  233.  
  234. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  235. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  236. end
  237.  
  238. function PositiveAngle(NUMBER)
  239. if NUMBER >= 0 then
  240. NUMBER = 0
  241. end
  242. return NUMBER
  243. end
  244.  
  245. function NegativeAngle(NUMBER)
  246. if NUMBER <= 0 then
  247. NUMBER = 0
  248. end
  249. return NUMBER
  250. end
  251.  
  252. function Swait(NUMBER)
  253. if NUMBER == 0 or NUMBER == nil then
  254. ArtificialHB.Event:wait()
  255. else
  256. for i = 1, NUMBER do
  257. ArtificialHB.Event:wait()
  258. end
  259. end
  260. end
  261.  
  262. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  263. local NEWMESH = IT(MESH)
  264. if MESH == "SpecialMesh" then
  265. NEWMESH.MeshType = MESHTYPE
  266. if MESHID ~= "nil" and MESHID ~= "" then
  267. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  268. end
  269. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  270. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  271. end
  272. end
  273. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  274. NEWMESH.Scale = SCALE
  275. NEWMESH.Parent = PARENT
  276. return NEWMESH
  277. end
  278.  
  279. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  280. local NEWPART = IT("Part")
  281. NEWPART.formFactor = FORMFACTOR
  282. NEWPART.Reflectance = REFLECTANCE
  283. NEWPART.Transparency = TRANSPARENCY
  284. NEWPART.CanCollide = false
  285. NEWPART.Locked = true
  286. NEWPART.Anchored = true
  287. if ANCHOR == false then
  288. NEWPART.Anchored = false
  289. end
  290. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  291. NEWPART.Name = NAME
  292. NEWPART.Size = SIZE
  293. NEWPART.Position = Torso.Position
  294. NEWPART.Material = MATERIAL
  295. NEWPART:BreakJoints()
  296. NEWPART.Parent = PARENT
  297. return NEWPART
  298. end
  299.  
  300. local function weldBetween(a, b)
  301. local weldd = Instance.new("ManualWeld")
  302. weldd.Part0 = a
  303. weldd.Part1 = b
  304. weldd.C0 = CFrame.new()
  305. weldd.C1 = b.CFrame:inverse() * a.CFrame
  306. weldd.Parent = a
  307. return weldd
  308. end
  309.  
  310.  
  311. function QuaternionFromCFrame(cf)
  312. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  313. local trace = m00 + m11 + m22
  314. if trace > 0 then
  315. local s = math.sqrt(1 + trace)
  316. local recip = 0.5 / s
  317. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  318. else
  319. local i = 0
  320. if m11 > m00 then
  321. i = 1
  322. end
  323. if m22 > (i == 0 and m00 or m11) then
  324. i = 2
  325. end
  326. if i == 0 then
  327. local s = math.sqrt(m00 - m11 - m22 + 1)
  328. local recip = 0.5 / s
  329. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  330. elseif i == 1 then
  331. local s = math.sqrt(m11 - m22 - m00 + 1)
  332. local recip = 0.5 / s
  333. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  334. elseif i == 2 then
  335. local s = math.sqrt(m22 - m00 - m11 + 1)
  336. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  337. end
  338. end
  339. end
  340.  
  341. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  342. local xs, ys, zs = x + x, y + y, z + z
  343. local wx, wy, wz = w * xs, w * ys, w * zs
  344. local xx = x * xs
  345. local xy = x * ys
  346. local xz = x * zs
  347. local yy = y * ys
  348. local yz = y * zs
  349. local zz = z * zs
  350. 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))
  351. end
  352.  
  353. function QuaternionSlerp(a, b, t)
  354. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  355. local startInterp, finishInterp;
  356. if cosTheta >= 0.0001 then
  357. if (1 - cosTheta) > 0.0001 then
  358. local theta = ACOS(cosTheta)
  359. local invSinTheta = 1 / SIN(theta)
  360. startInterp = SIN((1 - t) * theta) * invSinTheta
  361. finishInterp = SIN(t * theta) * invSinTheta
  362. else
  363. startInterp = 1 - t
  364. finishInterp = t
  365. end
  366. else
  367. if (1 + cosTheta) > 0.0001 then
  368. local theta = ACOS(-cosTheta)
  369. local invSinTheta = 1 / SIN(theta)
  370. startInterp = SIN((t - 1) * theta) * invSinTheta
  371. finishInterp = SIN(t * theta) * invSinTheta
  372. else
  373. startInterp = t - 1
  374. finishInterp = t
  375. end
  376. end
  377. 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
  378. end
  379.  
  380. function Clerp(a, b, t)
  381. local qa = {QuaternionFromCFrame(a)}
  382. local qb = {QuaternionFromCFrame(b)}
  383. local ax, ay, az = a.x, a.y, a.z
  384. local bx, by, bz = b.x, b.y, b.z
  385. local _t = 1 - t
  386. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  387. end
  388.  
  389. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  390. local frame = IT("Frame")
  391. frame.BackgroundTransparency = TRANSPARENCY
  392. frame.BorderSizePixel = BORDERSIZEPIXEL
  393. frame.Position = POSITION
  394. frame.Size = SIZE
  395. frame.BackgroundColor3 = COLOR
  396. frame.BorderColor3 = BORDERCOLOR
  397. frame.Name = NAME
  398. frame.Parent = PARENT
  399. return frame
  400. end
  401.  
  402. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  403. local label = IT("TextLabel")
  404. label.BackgroundTransparency = 1
  405. label.Size = UD2(1, 0, 1, 0)
  406. label.Position = UD2(0, 0, 0, 0)
  407. label.TextColor3 = TEXTCOLOR
  408. label.TextStrokeTransparency = STROKETRANSPARENCY
  409. label.TextTransparency = TRANSPARENCY
  410. label.FontSize = TEXTFONTSIZE
  411. label.Font = TEXTFONT
  412. label.BorderSizePixel = BORDERSIZEPIXEL
  413. label.TextScaled = false
  414. label.Text = TEXT
  415. label.Name = NAME
  416. label.Parent = PARENT
  417. return label
  418. end
  419.  
  420. function NoOutlines(PART)
  421. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  422. end
  423.  
  424. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  425. local NEWWELD = IT(TYPE)
  426. NEWWELD.Part0 = PART0
  427. NEWWELD.Part1 = PART1
  428. NEWWELD.C0 = C0
  429. NEWWELD.C1 = C1
  430. NEWWELD.Parent = PARENT
  431. return NEWWELD
  432. end
  433.  
  434. local S = IT("Sound")
  435. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  436. local NEWSOUND = nil
  437. coroutine.resume(coroutine.create(function()
  438. NEWSOUND = S:Clone()
  439. NEWSOUND.Parent = PARENT
  440. NEWSOUND.Volume = VOLUME
  441. NEWSOUND.Pitch = PITCH
  442. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  443. ----------------------------------------------------------------------------------
  444. local SONG = 2490605666
  445. local SONG2 = 0
  446. local Music = Instance.new("Sound",tors)
  447. Music.Volume = 100
  448. Music.Looped = true
  449. Music.Pitch = 1 --Pitcher
  450. ----------------------------------------------------------------------------------
  451. NEWSOUND:play()
  452. if DOESLOOP == true then
  453. NEWSOUND.Looped = true
  454. else
  455. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  456. NEWSOUND:remove()
  457. end
  458. end))
  459. return NEWSOUND
  460. end
  461.  
  462. function CFrameFromTopBack(at, top, back)
  463. local right = top:Cross(back)
  464. 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)
  465. end
  466.  
  467. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  468. function WACKYEFFECT(Table)
  469. local TYPE = (Table.EffectType or "Sphere")
  470. local SIZE = (Table.Size or VT(1,1,1))
  471. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  472. local TRANSPARENCY = (Table.Transparency or 0)
  473. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  474. local CFRAME = (Table.CFrame or Torso.CFrame)
  475. local MOVEDIRECTION = (Table.MoveToPos or nil)
  476. local ROTATION1 = (Table.RotationX or 0)
  477. local ROTATION2 = (Table.RotationY or 0)
  478. local ROTATION3 = (Table.RotationZ or 0)
  479. local MATERIAL = (Table.Material or "Neon")
  480. local COLOR = (Table.Color or C3(1,1,1))
  481. local TIME = (Table.Time or 45)
  482. local SOUNDID = (Table.SoundID or nil)
  483. local SOUNDPITCH = (Table.SoundPitch or nil)
  484. local SOUNDVOLUME = (Table.SoundVolume or nil)
  485. coroutine.resume(coroutine.create(function()
  486. local PLAYSSOUND = false
  487. local SOUND = nil
  488. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  489. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  490. PLAYSSOUND = true
  491. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  492. end
  493. EFFECT.Color = COLOR
  494. local MSH = nil
  495. if TYPE == "Sphere" then
  496. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  497. elseif TYPE == "Block" then
  498. MSH = IT("BlockMesh",EFFECT)
  499. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  500. elseif TYPE == "Wave" then
  501. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  502. elseif TYPE == "Ring" then
  503. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  504. elseif TYPE == "Slash" then
  505. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  506. elseif TYPE == "Round Slash" then
  507. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  508. elseif TYPE == "Swirl" then
  509. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  510. elseif TYPE == "Skull" then
  511. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  512. elseif TYPE == "Crystal" then
  513. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  514. end
  515. if MSH ~= nil then
  516. local MOVESPEED = nil
  517. if MOVEDIRECTION ~= nil then
  518. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  519. end
  520. local GROWTH = SIZE - ENDSIZE
  521. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  522. if TYPE == "Block" then
  523. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  524. else
  525. EFFECT.CFrame = CFRAME
  526. end
  527. for LOOP = 1, TIME+1 do
  528. Swait()
  529. MSH.Scale = MSH.Scale - GROWTH/TIME
  530. if TYPE == "Wave" then
  531. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  532. end
  533. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  534. if TYPE == "Block" then
  535. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  536. else
  537. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  538. end
  539. if MOVEDIRECTION ~= nil then
  540. local ORI = EFFECT.Orientation
  541. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  542. EFFECT.Orientation = ORI
  543. end
  544. end
  545. if PLAYSSOUND == false then
  546. EFFECT:remove()
  547. else
  548. SOUND.Stopped:Connect(function()
  549. EFFECT:remove()
  550. end)
  551. end
  552. else
  553. if PLAYSSOUND == false then
  554. EFFECT:remove()
  555. else
  556. repeat Swait() until SOUND.Playing == false
  557. EFFECT:remove()
  558. end
  559. end
  560. end))
  561. end
  562.  
  563. function MakeForm(PART,TYPE)
  564. if TYPE == "Cyl" then
  565. local MSH = IT("CylinderMesh",PART)
  566. elseif TYPE == "Ball" then
  567. local MSH = IT("SpecialMesh",PART)
  568. MSH.MeshType = "Sphere"
  569. elseif TYPE == "Wedge" then
  570. local MSH = IT("SpecialMesh",PART)
  571. MSH.MeshType = "Wedge"
  572. end
  573. end
  574.  
  575. function SpawnTrail(FROM,TO,BIG)
  576. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  577. MakeForm(TRAIL,"Cyl")
  578. local DIST = (FROM - TO).Magnitude
  579. if BIG == true then
  580. TRAIL.Size = VT(0.8,DIST,0.8)
  581. else
  582. TRAIL.Size = VT(0.35,DIST,0.35)
  583. end
  584. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  585. coroutine.resume(coroutine.create(function()
  586. for i = 1, 5 do
  587. Swait()
  588. TRAIL.Transparency = TRAIL.Transparency + 0.1
  589. end
  590. TRAIL:remove()
  591. end))
  592. end
  593.  
  594. Debris = game:GetService("Debris")
  595.  
  596. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  597. local DIRECTION = CF(StartPos,EndPos).lookVector
  598. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  599. end
  600.  
  601. function turnto(position)
  602. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  603. end
  604.  
  605.  
  606. --//=================================\\
  607. --|| WEAPON CREATION
  608. --\\=================================//
  609.  
  610.  
  611. local Particle = IT("ParticleEmitter",nil)
  612. Particle.Enabled = false
  613. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  614. Particle.LightEmission = 0.5
  615. Particle.Rate = 150
  616. Particle.ZOffset = 0.2
  617. Particle.Rotation = NumberRange.new(-180, 180)
  618. Particle.RotSpeed = NumberRange.new(-180, 180)
  619. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  620. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  621.  
  622. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  623. function ParticleEmitter(Table)
  624. local PRTCL = Particle:Clone()
  625. local Speed = Table.Speed or 5
  626. local Drag = Table.Drag or 0
  627. local Size1 = Table.Size1 or 1
  628. local Size2 = Table.Size2 or 5
  629. local Lifetime1 = Table.Lifetime1 or 1
  630. local Lifetime2 = Table.Lifetime2 or 1.5
  631. local Parent = Table.Parent or Torso
  632. local Emit = Table.Emit or 100
  633. local Offset = Table.Offset or 360
  634. local Acel = Table.Acel or VT(0,0,0)
  635. local Enabled = Table.Enabled or false
  636. PRTCL.Parent = Parent
  637. PRTCL.Size = NumberSequence.new(Size1,Size2)
  638. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  639. PRTCL.Speed = NumberRange.new(Speed)
  640. PRTCL.VelocitySpread = Offset
  641. PRTCL.Drag = Drag
  642. PRTCL.Acceleration = Acel
  643. if Enabled == false then
  644. PRTCL:Emit(Emit)
  645. Debris:AddItem(PRTCL,Lifetime2)
  646. else
  647. PRTCL.Enabled = true
  648. end
  649. return PRTCL
  650. end
  651.  
  652. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  653. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  654. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  655. MakeForm(Part,"Wedge")
  656. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  657. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  658. MakeForm(Part,"Wedge")
  659. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  660. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  661. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  662. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  663. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  664. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  665. MakeForm(Part,"Cyl")
  666. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  667. for i = 1, 8 do
  668. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  669. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  670. end
  671. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  672. MakeForm(Part,"Cyl")
  673. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  674. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  675. MakeForm(Part,"Ball")
  676. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  677. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  678. MakeForm(Part,"Wedge")
  679. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  680. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  681. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  682. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  683. MakeForm(Part,"Cyl")
  684. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  685. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  686. MakeForm(Part,"Cyl")
  687. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  688. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  689. MakeForm(Part,"Cyl")
  690. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  691. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  692. MakeForm(Part,"Wedge")
  693. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  694. local LASTPART = Handle
  695. for i = 1, 10 do
  696. if LASTPART == Handle then
  697. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  698. LASTPART = Part
  699. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  700. else
  701. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  702. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  703. LASTPART = Part
  704. end
  705. end
  706.  
  707. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  708. MakeForm(Barrel,"Cyl")
  709. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  710. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  711. MakeForm(Part,"Cyl")
  712. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  713. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  714. MakeForm(Part,"Wedge")
  715. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  716. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  717. MakeForm(Hole,"Cyl")
  718. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  719. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  720. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  721. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  722. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  723. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  724. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  725. coroutine.resume(coroutine.create(function()
  726. while wait() do
  727. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(0 - 25 * SIN(SINE / 25)))
  728. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(0 - -25 * SIN(SINE / 25)))
  729. end
  730. end))
  731.  
  732. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  733. MakeForm(Hole2,"Cyl")
  734. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0.8, 0.98, 0), CF(0, 0, 0))
  735.  
  736. local Hole3 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  737. MakeForm(Hole3,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole3, CF(-0.8, 0.98, 0), CF(0, 0, 0))
  739.  
  740. ParticleEmitter({Speed = 0.02, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  741. ParticleEmitter({Speed = 50, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  742. ParticleEmitter({Speed = 10, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  743. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  744.  
  745. for _, c in pairs(Weapon:GetDescendants()) do
  746. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  747. c.Material = "Glass"
  748. c.Color = C3(3,0,0)
  749. elseif c.ClassName == "Part" and c.Name == "Eye" then
  750. c.Color = C3(1,0,0)
  751. c.Material = "Neon"
  752. end
  753. end
  754.  
  755. Weapon.Parent = Character
  756. for _, c in pairs(Weapon:GetChildren()) do
  757. if c.ClassName == "Part" then
  758. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  759. end
  760. end
  761.  
  762. local SKILLTEXTCOLOR = C3(1,0,0)
  763. local SKILLFONT = "Antique"
  764. local SKILLTEXTSIZE = 7
  765.  
  766. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  767. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  768. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  769. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  770. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  771. ]]
  772. local SKILL1TEXT = CreateLabel(SKILL1FRAME, ":/ Edit By NameClan", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  773. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  774. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  775. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  776. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  777. ]]
  778. function printbye(Name)
  779. 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, "}
  780. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  781. end
  782.  
  783. workspace.ChildAdded:connect(function(instance)
  784. for BANISH = 1, #TOBANISH do
  785. if TOBANISH[BANISH] ~= nil then
  786. if instance.Name == TOBANISH[BANISH] then
  787. coroutine.resume(coroutine.create(function()
  788. printbye(instance.Name)
  789. instance:ClearAllChildren()
  790. Debris:AddItem(instance,0.0005)
  791. end))
  792. end
  793. end
  794. end
  795. end)
  796.  
  797. --//=================================\\
  798. --|| DAMAGING
  799. --\\=================================//
  800.  
  801. function Banish(Foe)
  802. if Foe then
  803. coroutine.resume(coroutine.create(function()
  804. --if game.Players:FindFirstChild(Foe.Name) then
  805. table.insert(TOBANISH,Foe.Name)
  806. printbye(Foe.Name)
  807. --end
  808. Foe.Archivable = true
  809. local CLONE = Foe:Clone()
  810. Foe:Destroy()
  811. CLONE.Parent = Effects
  812. CLONE:BreakJoints()
  813. local MATERIALS = {"Glass","Neon"}
  814. for _, c in pairs(CLONE:GetDescendants()) do
  815. if c:IsA("BasePart") then
  816. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  817. CreateSound(340722848, c, 10, 1, false)
  818. end
  819. c.Anchored = true
  820. c.Transparency = c.Transparency + 0.2
  821. c.Material = MATERIALS[MRANDOM(1,2)]
  822. c.Color = C3(1,0,0)
  823. if c.ClassName == "MeshPart" then
  824. c.TextureID = ""
  825. end
  826. if c:FindFirstChildOfClass("SpecialMesh") then
  827. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  828. end
  829. if c:FindFirstChildOfClass("Decal") then
  830. c:FindFirstChildOfClass("Decal"):remove()
  831. end
  832. c.Name = "Banished"
  833. c.CanCollide = false
  834. else
  835. c:remove()
  836. end
  837. end
  838. local A = false
  839. for i = 1, 35 do
  840. if A == false then
  841. A = true
  842. elseif A == true then
  843. A = false
  844. end
  845. for _, c in pairs(CLONE:GetDescendants()) do
  846. if c:IsA("BasePart") then
  847. c.Anchored = true
  848. c.Material = MATERIALS[MRANDOM(1,2)]
  849. c.Transparency = c.Transparency + 0.8/35
  850. if A == false then
  851. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  852. elseif A == true then
  853. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  854. end
  855. end
  856. end
  857. Swait()
  858. end
  859. CLONE:remove()
  860. end))
  861. end
  862. end
  863.  
  864. function ApplyAoE(POSITION,RANGE,ISBANISH)
  865. local CHILDREN = workspace:GetDescendants()
  866. for index, CHILD in pairs(CHILDREN) do
  867. if CHILD.ClassName == "Model" and CHILD ~= Character then
  868. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  869. if HUM then
  870. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  871. if TORSO then
  872. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  873. if ISBANISH == true then
  874. Banish(CHILD)
  875. else
  876. if ISBANISH == "Gravity" then
  877. HUM.PlatformStand = true
  878. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  879. local grav = Instance.new("BodyPosition",TORSO)
  880. grav.D = 15
  881. grav.P = 20000
  882. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  883. grav.position = TORSO.Position
  884. grav.Name = "V3BanishForce"..Player.Name
  885. else
  886. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  887. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  888. end
  889. else
  890. HUM.PlatformStand = false
  891. end
  892. end
  893. elseif ISBANISH == "Gravity" then
  894. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  895. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  896. HUM.PlatformStand = false
  897. end
  898. end
  899. end
  900. end
  901. end
  902. end
  903. end
  904.  
  905. function ApplyDamage(Humanoid,Damage,TorsoPart)
  906. ----------------------------------------------------------------------------------
  907. local naeeym2 = Instance.new("BillboardGui",char)
  908. naeeym2.AlwaysOnTop = true
  909. naeeym2.Size = UDim2.new(5,35,2,15)
  910. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  911. naeeym2.Adornee = hed
  912. naeeym2.Name = "Name"
  913. --naeeym2.PlayerToHideFrom = Player
  914. local tecks2 = Instance.new("TextLabel",naeeym2)
  915. tecks2.BackgroundTransparency = 1
  916. tecks2.TextScaled = true
  917. tecks2.BorderSizePixel = 0
  918. tecks2.Font = Enum.Font.Antique
  919. tecks2.TextSize = 30
  920. tecks2.TextStrokeTransparency = 0
  921. tecks2.TextColor3 = Color3.new(0, 0, 0)
  922. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  923. tecks2.Size = UDim2.new(1,0,0.5,0)
  924. tecks2.Parent = naeeym2
  925. wait(0.0)
  926. tecks2.Text = "Triple Banish"
  927. --------------------------------------------------------
  928. local defence = Instance.new("BoolValue",Humanoid.Parent)
  929. defence.Name = ("HitBy"..Player.Name)
  930. game:GetService("Debris"):AddItem(defence, 0.001)
  931. Damage = Damage * DAMAGEMULTIPLIER
  932. if Humanoid.Health ~= 0 then
  933. local CritChance = MRANDOM(1,100)
  934. if Damage > Humanoid.Health then
  935. Damage = math.ceil(Humanoid.Health)
  936. if Damage == 0 then
  937. Damage = 0.1
  938. end
  939. end
  940. Humanoid.Health = Humanoid.Health - Damage
  941. end
  942. end
  943.  
  944. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  945. local CHILDREN = workspace:GetDescendants()
  946. for index, CHILD in pairs(CHILDREN) do
  947. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  948. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  949. if HUM then
  950. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  951. if TORSO then
  952. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  953. if INSTAKILL == true then
  954. CHILD:BreakJoints()
  955. else
  956. local DMG = MRANDOM(MINDMG,MAXDMG)
  957. ApplyDamage(HUM,DMG,TORSO)
  958. end
  959. if FLING > 0 then
  960. for _, c in pairs(CHILD:GetChildren()) do
  961. if c:IsA("BasePart") then
  962. local bv = Instance.new("BodyVelocity")
  963. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  964. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  965. bv.Parent = c
  966. Debris:AddItem(bv,0.05)
  967. end
  968. end
  969. end
  970. end
  971. end
  972. end
  973. end
  974. end
  975. end
  976.  
  977. --//=================================\\
  978. --|| ATTACK FUNCTIONS AND STUFF
  979. --\\=================================//
  980.  
  981. function Shot()
  982. ATTACK = true
  983. Rooted = false
  984. for i=0, 1, 0.1 / Animation_Speed do
  985. Swait()
  986. turnto(Mouse.Hit.p)
  987. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  989. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  993. end
  994. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 317129949, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 999999})
  995. repeat
  996. for i=0, 0.2, 0.1 / Animation_Speed do
  997. Swait()
  998. turnto(Mouse.Hit.p)
  999. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1001. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1002. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1004. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -0.7) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1005. end
  1006. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1007. SpawnTrail(Hole2.Position,POS)
  1008. local HIT,POS = CastProperRay(Hole3.Position, Mouse.Hit.p, 1000, Character)
  1009. SpawnTrail(Hole3.Position,POS)
  1010. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1011. SpawnTrail(Hole.Position,POS)
  1012. if HIT ~= nil then
  1013. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1014. Banish(HIT.Parent)
  1015. end
  1016. end
  1017.  
  1018. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole3.CFrame, MoveToPos = Hole3.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1019. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole3.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1020. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole3.CFrame, MoveToPos = Hole3.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1021. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole3.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 168143115, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1022. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole3.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1023. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole3.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1024.  
  1025. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1026. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1027. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1028. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 168143115, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1029. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1030. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1031.  
  1032. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1033. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1034. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1035. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 168143115, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1036. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1037. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1038. for i=0, 0.2, 0.1 / Animation_Speed do
  1039. Swait()
  1040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(95), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, 0.04) * ANGLES(RAD(95), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1042. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1043. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.1, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1044. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1046. end
  1047. until KEYHOLD == false
  1048. ATTACK = false
  1049. Rooted = false
  1050. end
  1051.  
  1052. function Shot2()
  1053. ATTACK = true
  1054. Rooted = false
  1055. for i=0, 3, 0.1 / Animation_Speed do
  1056. Swait()
  1057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-25), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1062. end
  1063. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,45,45), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1064. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(180,180,180), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1065. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(123,123,123), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1066. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,180,1), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1067. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,1,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1068. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1069. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
  1070. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 999999})
  1071. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,180,1), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1072. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,1,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1073. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1074. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
  1075. ApplyAoE3(RootPart.Position,95,999,999,999,false)
  1076. for i=0, 0.5, 0.1 / Animation_Speed do
  1077. Swait()
  1078. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
  1079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2, 0.5, -0.5) * ANGLES(RAD(75), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2, 0.5, -0.5) * ANGLES(RAD(75), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1081. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(30), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1082. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1083. end
  1084. ATTACK = false
  1085. Rooted = false
  1086. end
  1087.  
  1088. --//=================================\\
  1089. --|| ASSIGN THINGS TO KEYS
  1090. --\\=================================//
  1091.  
  1092. function MouseDown(Mouse)
  1093. if ATTACK == false then
  1094. end
  1095. end
  1096.  
  1097. function MouseUp(Mouse)
  1098. HOLD = false
  1099. end
  1100.  
  1101. function KeyDown(Key)
  1102. KEYHOLD = true
  1103. if Key == "z" and ATTACK == false then
  1104. Shot()
  1105. end
  1106.  
  1107. if Key == "b" and ATTACK == false then
  1108. AttackTemplate()
  1109. end
  1110.  
  1111. if Key == "c" and ATTACK == false then
  1112. Shot2()
  1113. end
  1114.  
  1115. if Key == "v" and ATTACK == false then
  1116. end
  1117.  
  1118. if Key == "x" and ATTACK == false then
  1119. end
  1120. end
  1121.  
  1122. function KeyUp(Key)
  1123. KEYHOLD = false
  1124. end
  1125.  
  1126. Mouse.Button1Down:connect(function(NEWKEY)
  1127. MouseDown(NEWKEY)
  1128. end)
  1129. Mouse.Button1Up:connect(function(NEWKEY)
  1130. MouseUp(NEWKEY)
  1131. end)
  1132. Mouse.KeyDown:connect(function(NEWKEY)
  1133. KeyDown(NEWKEY)
  1134. end)
  1135. Mouse.KeyUp:connect(function(NEWKEY)
  1136. KeyUp(NEWKEY)
  1137. end)
  1138.  
  1139. --//=================================\\
  1140. --\\=================================//
  1141.  
  1142.  
  1143. function unanchor()
  1144. if UNANCHOR == true then
  1145. g = Character:GetChildren()
  1146. for i = 1, #g do
  1147. if g[i].ClassName == "Part" then
  1148. g[i].Anchored = false
  1149. end
  1150. end
  1151. end
  1152. end
  1153.  
  1154.  
  1155. --//=================================\\
  1156. --|| WRAP THE WHOLE SCRIPT UP
  1157. --\\=================================//
  1158.  
  1159. Humanoid.Changed:connect(function(Jump)
  1160. if Jump == "Jump" and (Disable_Jump == true) then
  1161. Humanoid.Jump = false
  1162. end
  1163. end)
  1164.  
  1165. local CONNECT = nil
  1166.  
  1167. while true do
  1168. Swait()
  1169. ANIMATE.Parent = nil
  1170. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1171. Humanoid = IT("Humanoid",Character)
  1172. end
  1173. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1174. v:Stop();
  1175. end
  1176. SINE = SINE + CHANGE
  1177. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1178. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1179. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1180. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1181. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1182. 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) / Animation_Speed)
  1183. 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) / Animation_Speed)
  1184. 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) / Animation_Speed)
  1185. 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) / Animation_Speed)
  1186. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1187. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1188. 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 / Animation_Speed)
  1189. 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 / Animation_Speed)
  1190. 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 / Animation_Speed)
  1191. end
  1192. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1193. ANIM = "Jump"
  1194. if ATTACK == false then
  1195. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1196. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1198. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1199. 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)
  1200. 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)
  1201. end
  1202. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1203. ANIM = "Fall"
  1204. if ATTACK == false then
  1205. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1206. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1207. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1208. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1209. 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)
  1210. 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)
  1211. end
  1212. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1213. ANIM = "Idle"
  1214. if ATTACK == false then
  1215. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 0.2 / Animation_Speed*3)
  1216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 8) - 1.75 * COS(SINE / 8)), RAD(2.75 * SIN(SINE / 8))), 0.2 / Animation_Speed)
  1217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (SINE/1)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1218. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1219. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1221. end
  1222. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1223. ANIM = "Walk"
  1224. if ATTACK == false then
  1225. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1226. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1227. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * SIN(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(0 - 40 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1228. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * SIN(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(0 - 40 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1229. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(-5), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-5), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1231. end
  1232. end
  1233. unanchor()
  1234. Humanoid.MaxHealth = "inf"
  1235. Humanoid.Health = "inf"
  1236. if Rooted == false then
  1237. Disable_Jump = false
  1238. Humanoid.WalkSpeed = Speed
  1239. elseif Rooted == true then
  1240. Disable_Jump = true
  1241. Humanoid.WalkSpeed = 0
  1242. end
  1243. end
  1244.  
  1245. --//=================================\\
  1246. --\\=================================//
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252. --//====================================================\\--
  1253. --|| END OF SCRIPT
  1254. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement