Advertisement
Guest User

Untitled

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