Advertisement
Tetezaza1542

VOID SHOTER

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