Advertisement
Basykung7845

good banisher

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