Advertisement
Toey8415

void shooter FE

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