Advertisement
AsukaOS

Fe Yeti sin

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