Advertisement
FMER

o

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