Advertisement
GojiGaming1337

Untitled

Jun 20th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.37 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28. sick.SoundId = "rbxassetid://170282324"
  29. sick.Looped = true
  30. sick.Volume = 1
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49. --//=================================\\
  50. --|| USEFUL VALUES
  51. --\\=================================//
  52.  
  53. Animation_Speed = 3
  54. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  55. local Speed = 45
  56. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  59. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  60. local DAMAGEMULTIPLIER = 1
  61. local ANIM = "Idle"
  62. local ATTACK = false
  63. local EQUIPPED = false
  64. local HOLD = false
  65. local COMBO = 1
  66. local Rooted = false
  67. local SINE = 0
  68. local KEYHOLD = false
  69. local CHANGE = 2 / Animation_Speed
  70. local WALKINGANIM = false
  71. local VALUE1 = false
  72. local VALUE2 = false
  73. local ROBLOXIDLEANIMATION = IT("Animation")
  74. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  75. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  76. --ROBLOXIDLEANIMATION.Parent = Humanoid
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "Weapon GUI"
  79. local Effects = IT("Folder", Character)
  80. Effects.Name = "Effects"
  81. local ANIMATOR = Humanoid.Animator
  82. local ANIMATE = Character.Animate
  83. local UNANCHOR = true
  84. local HITPOS = nil
  85. local HITFLOOR = nil
  86. local LEFTWINGS = {}
  87. local RIGHTWINGS = {}
  88. local BODY = {}
  89.  
  90. --//=================================\\
  91. --\\=================================//
  92.  
  93.  
  94. --//=================================\\
  95. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  96. --\\=================================//
  97.  
  98. ArtificialHB = Instance.new("BindableEvent", script)
  99. ArtificialHB.Name = "ArtificialHB"
  100.  
  101. script:WaitForChild("ArtificialHB")
  102.  
  103. frame = Frame_Speed
  104. tf = 0
  105. allowframeloss = false
  106. tossremainder = false
  107. lastframe = tick()
  108. script.ArtificialHB:Fire()
  109.  
  110. game:GetService("RunService").Heartbeat:connect(function(s, p)
  111. tf = tf + s
  112. if tf >= frame then
  113. if allowframeloss then
  114. script.ArtificialHB:Fire()
  115. lastframe = tick()
  116. else
  117. for i = 1, math.floor(tf / frame) do
  118. script.ArtificialHB:Fire()
  119. end
  120. lastframe = tick()
  121. end
  122. if tossremainder then
  123. tf = 0
  124. else
  125. tf = tf - frame * math.floor(tf / frame)
  126. end
  127. end
  128. end)
  129.  
  130. --//=================================\\
  131. --\\=================================//
  132.  
  133. --//=================================\\
  134. --|| SOME FUNCTIONS
  135. --\\=================================//
  136.  
  137. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  138. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  139. end
  140.  
  141. function PositiveAngle(NUMBER)
  142. if NUMBER >= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function NegativeAngle(NUMBER)
  149. if NUMBER <= 0 then
  150. NUMBER = 0
  151. end
  152. return NUMBER
  153. end
  154.  
  155. function Swait(NUMBER)
  156. if NUMBER == 0 or NUMBER == nil then
  157. ArtificialHB.Event:wait()
  158. else
  159. for i = 1, NUMBER do
  160. ArtificialHB.Event:wait()
  161. end
  162. end
  163. end
  164.  
  165. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  166. local NEWMESH = IT(MESH)
  167. if MESH == "SpecialMesh" then
  168. NEWMESH.MeshType = MESHTYPE
  169. if MESHID ~= "nil" and MESHID ~= "" then
  170. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  171. end
  172. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  173. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  174. end
  175. end
  176. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  177. NEWMESH.Scale = SCALE
  178. NEWMESH.Parent = PARENT
  179. return NEWMESH
  180. end
  181.  
  182. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  183. local NEWPART = IT("Part")
  184. NEWPART.formFactor = FORMFACTOR
  185. NEWPART.Reflectance = REFLECTANCE
  186. NEWPART.Transparency = TRANSPARENCY
  187. NEWPART.CanCollide = false
  188. NEWPART.Locked = true
  189. NEWPART.Anchored = true
  190. if ANCHOR == false then
  191. NEWPART.Anchored = false
  192. end
  193. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  194. NEWPART.Name = NAME
  195. NEWPART.Size = SIZE
  196. NEWPART.Position = Torso.Position
  197. NEWPART.Material = MATERIAL
  198. NEWPART:BreakJoints()
  199. NEWPART.Parent = PARENT
  200. return NEWPART
  201. end
  202.  
  203. local function weldBetween(a, b)
  204. local weldd = Instance.new("ManualWeld")
  205. weldd.Part0 = a
  206. weldd.Part1 = b
  207. weldd.C0 = CFrame.new()
  208. weldd.C1 = b.CFrame:inverse() * a.CFrame
  209. weldd.Parent = a
  210. return weldd
  211. end
  212.  
  213.  
  214. function QuaternionFromCFrame(cf)
  215. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  216. local trace = m00 + m11 + m22
  217. if trace > 0 then
  218. local s = math.sqrt(1 + trace)
  219. local recip = 0.5 / s
  220. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  221. else
  222. local i = 0
  223. if m11 > m00 then
  224. i = 1
  225. end
  226. if m22 > (i == 0 and m00 or m11) then
  227. i = 2
  228. end
  229. if i == 0 then
  230. local s = math.sqrt(m00 - m11 - m22 + 1)
  231. local recip = 0.5 / s
  232. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  233. elseif i == 1 then
  234. local s = math.sqrt(m11 - m22 - m00 + 1)
  235. local recip = 0.5 / s
  236. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  237. elseif i == 2 then
  238. local s = math.sqrt(m22 - m00 - m11 + 1)
  239. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  240. end
  241. end
  242. end
  243.  
  244. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  245. local xs, ys, zs = x + x, y + y, z + z
  246. local wx, wy, wz = w * xs, w * ys, w * zs
  247. local xx = x * xs
  248. local xy = x * ys
  249. local xz = x * zs
  250. local yy = y * ys
  251. local yz = y * zs
  252. local zz = z * zs
  253. 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))
  254. end
  255.  
  256. function QuaternionSlerp(a, b, t)
  257. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  258. local startInterp, finishInterp;
  259. if cosTheta >= 0.0001 then
  260. if (1 - cosTheta) > 0.0001 then
  261. local theta = ACOS(cosTheta)
  262. local invSinTheta = 1 / SIN(theta)
  263. startInterp = SIN((1 - t) * theta) * invSinTheta
  264. finishInterp = SIN(t * theta) * invSinTheta
  265. else
  266. startInterp = 1 - t
  267. finishInterp = t
  268. end
  269. else
  270. if (1 + cosTheta) > 0.0001 then
  271. local theta = ACOS(-cosTheta)
  272. local invSinTheta = 1 / SIN(theta)
  273. startInterp = SIN((t - 1) * theta) * invSinTheta
  274. finishInterp = SIN(t * theta) * invSinTheta
  275. else
  276. startInterp = t - 1
  277. finishInterp = t
  278. end
  279. end
  280. 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
  281. end
  282.  
  283. CFuncs = {
  284. Part = {
  285. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  286. local Part = Create("Part")({
  287. Parent = Parent,
  288. Reflectance = Reflectance,
  289. Transparency = Transparency,
  290. CanCollide = false,
  291. Locked = true,
  292. BrickColor = BrickColor.new(tostring(BColor)),
  293. Name = Name,
  294. Size = Size,
  295. Material = Material
  296. })
  297. RemoveOutlines(Part)
  298. return Part
  299. end
  300. },
  301. Mesh = {
  302. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  303. local Msh = Create(Mesh)({
  304. Parent = Part,
  305. Offset = OffSet,
  306. Scale = Scale
  307. })
  308. if Mesh == "SpecialMesh" then
  309. Msh.MeshType = MeshType
  310. Msh.MeshId = MeshId
  311. end
  312. return Msh
  313. end
  314. },
  315. Mesh = {
  316. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  317. local Msh = Create(Mesh)({
  318. Parent = Part,
  319. Offset = OffSet,
  320. Scale = Scale
  321. })
  322. if Mesh == "SpecialMesh" then
  323. Msh.MeshType = MeshType
  324. Msh.MeshId = MeshId
  325. end
  326. return Msh
  327. end
  328. },
  329. Weld = {
  330. Create = function(Parent, Part0, Part1, C0, C1)
  331. local Weld = Create("Weld")({
  332. Parent = Parent,
  333. Part0 = Part0,
  334. Part1 = Part1,
  335. C0 = C0,
  336. C1 = C1
  337. })
  338. return Weld
  339. end
  340. },
  341. Sound = {
  342. Create = function(id, par, vol, pit)
  343. coroutine.resume(coroutine.create(function()
  344. local S = Create("Sound")({
  345. Volume = vol,
  346. Pitch = pit or 1,
  347. SoundId = id,
  348. Parent = par or workspace
  349. })
  350. wait()
  351. S:play()
  352. game:GetService("Debris"):AddItem(S, 10)
  353. end))
  354. end
  355. },
  356. LongSound = {
  357. Create = function(id, par, vol, pit)
  358. coroutine.resume(coroutine.create(function()
  359. local S = Create("Sound")({
  360. Volume = vol,
  361. Pitch = pit or 1,
  362. SoundId = id,
  363. Parent = par or workspace
  364. })
  365. wait()
  366. S:play()
  367. game:GetService("Debris"):AddItem(S, 30)
  368. end))
  369. end
  370. },
  371. ParticleEmitter = {
  372. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  373. local fp = Create("ParticleEmitter")({
  374. Parent = Parent,
  375. Color = ColorSequence.new(Color1, Color2),
  376. LightEmission = LightEmission,
  377. Size = Size,
  378. Texture = Texture,
  379. Transparency = Transparency,
  380. ZOffset = ZOffset,
  381. Acceleration = Accel,
  382. Drag = Drag,
  383. LockedToPart = LockedToPart,
  384. VelocityInheritance = VelocityInheritance,
  385. EmissionDirection = EmissionDirection,
  386. Enabled = Enabled,
  387. Lifetime = LifeTime,
  388. Rate = Rate,
  389. Rotation = Rotation,
  390. RotSpeed = RotSpeed,
  391. Speed = Speed,
  392. VelocitySpread = VelocitySpread
  393. })
  394. return fp
  395. end
  396. },
  397. CreateTemplate = {}
  398. }
  399.  
  400. function Clerp(a, b, t)
  401. local qa = {QuaternionFromCFrame(a)}
  402. local qb = {QuaternionFromCFrame(b)}
  403. local ax, ay, az = a.x, a.y, a.z
  404. local bx, by, bz = b.x, b.y, b.z
  405. local _t = 1 - t
  406. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  407. end
  408.  
  409. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  410. local frame = IT("Frame")
  411. frame.BackgroundTransparency = TRANSPARENCY
  412. frame.BorderSizePixel = BORDERSIZEPIXEL
  413. frame.Position = POSITION
  414. frame.Size = SIZE
  415. frame.BackgroundColor3 = COLOR
  416. frame.BorderColor3 = BORDERCOLOR
  417. frame.Name = NAME
  418. frame.Parent = PARENT
  419. return frame
  420. end
  421.  
  422. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  423. local label = IT("TextLabel")
  424. label.BackgroundTransparency = 1
  425. label.Size = UD2(1, 0, 1, 0)
  426. label.Position = UD2(0, 0, 0, 0)
  427. label.TextColor3 = TEXTCOLOR
  428. label.TextStrokeColor3 = BRICKC"Really red".Color
  429. label.TextStrokeTransparency = STROKETRANSPARENCY
  430. label.TextTransparency = TRANSPARENCY
  431. label.FontSize = TEXTFONTSIZE
  432. label.Font = TEXTFONT
  433. label.BorderSizePixel = BORDERSIZEPIXEL
  434. label.TextScaled = false
  435. label.Text = TEXT
  436. label.Name = NAME
  437. label.Parent = PARENT
  438. return label
  439. end
  440.  
  441. function NoOutlines(PART)
  442. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  443. end
  444.  
  445. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  446. local NEWWELD = IT(TYPE)
  447. NEWWELD.Part0 = PART0
  448. NEWWELD.Part1 = PART1
  449. NEWWELD.C0 = C0
  450. NEWWELD.C1 = C1
  451. NEWWELD.Parent = PARENT
  452. return NEWWELD
  453. end
  454.  
  455. local S = IT("Sound")
  456. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  457. local NEWSOUND = nil
  458. coroutine.resume(coroutine.create(function()
  459. NEWSOUND = S:Clone()
  460. NEWSOUND.Parent = PARENT
  461. NEWSOUND.Volume = VOLUME
  462. NEWSOUND.Pitch = PITCH
  463. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  464. NEWSOUND:play()
  465. NEWSOUND.Name = "Audio"
  466. if DOESLOOP == true then
  467. NEWSOUND.Looped = true
  468. else
  469. repeat Swait() until NEWSOUND.Playing == false
  470. NEWSOUND:remove()
  471. end
  472. end))
  473. return NEWSOUND
  474. end
  475.  
  476. function CFrameFromTopBack(at, top, back)
  477. local right = top:Cross(back)
  478. 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)
  479. end
  480.  
  481. --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})
  482. function WACKYEFFECT(Table)
  483. local TYPE = (Table.EffectType or "Sphere")
  484. local SIZE = (Table.Size or VT(1,1,1))
  485. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  486. local TRANSPARENCY = (Table.Transparency or 0)
  487. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  488. local CFRAME = (Table.CFrame or Torso.CFrame)
  489. local MOVEDIRECTION = (Table.MoveToPos or nil)
  490. local ROTATION1 = (Table.RotationX or 0)
  491. local ROTATION2 = (Table.RotationY or 0)
  492. local ROTATION3 = (Table.RotationZ or 0)
  493. local MATERIAL = (Table.Material or "Neon")
  494. local COLOR = (Table.Color or C3(1,1,1))
  495. local TIME = (Table.Time or 45)
  496. local SOUNDID = (Table.SoundID or nil)
  497. local SOUNDPITCH = (Table.SoundPitch or nil)
  498. local SOUNDVOLUME = (Table.SoundVolume or nil)
  499. coroutine.resume(coroutine.create(function()
  500. local PLAYSSOUND = false
  501. local SOUND = nil
  502. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  503. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  504. PLAYSSOUND = true
  505. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  506. end
  507. EFFECT.Color = COLOR
  508. local MSH = nil
  509. if TYPE == "Sphere" then
  510. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  511. elseif TYPE == "Block" then
  512. MSH = IT("BlockMesh",EFFECT)
  513. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  514. elseif TYPE == "Box" then
  515. MSH = IT("BlockMesh",EFFECT)
  516. MSH.Scale = SIZE
  517. elseif TYPE == "Wave" then
  518. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  519. elseif TYPE == "Ring" then
  520. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  521. elseif TYPE == "Slash" then
  522. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  523. elseif TYPE == "Round Slash" then
  524. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  525. elseif TYPE == "Swirl" then
  526. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  527. elseif TYPE == "Skull" then
  528. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  529. elseif TYPE == "Crystal" then
  530. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  531. end
  532. if MSH ~= nil then
  533. local MOVESPEED = nil
  534. if MOVEDIRECTION ~= nil then
  535. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  536. end
  537. local GROWTH = SIZE - ENDSIZE
  538. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  539. if TYPE == "Block" then
  540. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  541. else
  542. EFFECT.CFrame = CFRAME
  543. end
  544. for LOOP = 1, TIME do
  545. Swait()
  546. MSH.Scale = MSH.Scale - GROWTH/TIME
  547. if TYPE == "Wave" then
  548. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  549. end
  550. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  551. if TYPE == "Block" then
  552. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  553. else
  554. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  555. end
  556. if MOVEDIRECTION ~= nil then
  557. local ORI = EFFECT.Orientation
  558. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  559. EFFECT.Orientation = ORI
  560. end
  561. end
  562. if PLAYSSOUND == false then
  563. EFFECT:remove()
  564. else
  565. repeat Swait() until SOUND.Playing == false
  566. EFFECT:remove()
  567. end
  568. else
  569. if PLAYSSOUND == false then
  570. EFFECT:remove()
  571. else
  572. repeat Swait() until SOUND.Playing == false
  573. EFFECT:remove()
  574. end
  575. end
  576. end))
  577. end
  578.  
  579. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  580. PLAYMAINANIM = false
  581. if WhichPose == "Cast1" then
  582. for i=0, Time, 0.1 / Animation_Speed do
  583. Swait()
  584. if Magic == true then
  585. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  586. end
  587. if Gyro ~= nil and Gyro ~= false then
  588. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  589. end
  590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  594. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  596. end
  597. elseif WhichPose == "Cast2" then
  598. for i=0, Time, 0.1 / Animation_Speed do
  599. Swait()
  600. if Magic == true then
  601. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  602. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  603. end
  604. if Gyro ~= nil and Gyro ~= false then
  605. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  606. end
  607. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  608. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  611. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  612. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  613. end
  614. elseif WhichPose == "RightArmUp" then
  615. for i=0, Time, 0.1 / Animation_Speed do
  616. Swait()
  617. if Magic == true then
  618. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  619. end
  620. if Gyro ~= nil and Gyro ~= false then
  621. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  622. end
  623. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  627. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  629. end
  630. elseif WhichPose == "Taunt" then
  631. for i=0, Time, 0.1 / Animation_Speed do
  632. Swait()
  633. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  634. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  635. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  636. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  637. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  638. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  639. end
  640. HATWELD.Part0 = RightArm
  641. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  642. CreateSound(221057812,Torso,10,1,false)
  643. for i=0, Time*2, 0.1 / Animation_Speed do
  644. Swait()
  645. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  646. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  647. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  648. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  649. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  650. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  651. end
  652. for i=0, Time, 0.1 / Animation_Speed do
  653. Swait()
  654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  658. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  659. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  660. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  661. end
  662. HATWELD.Part0 = Head
  663. HATWELD.C0 = CF(0,0.35,0)
  664. elseif WhichPose == "Prepare key" then
  665. for i=0, Time, 0.1 / Animation_Speed do
  666. Swait()
  667. if Gyro ~= nil and Gyro ~= false then
  668. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  669. end
  670. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  671. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  672. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  673. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  674. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  675. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  676. end
  677. elseif WhichPose == "Turn key" then
  678. for i=0, Time, 0.1 / Animation_Speed do
  679. Swait()
  680. if Gyro ~= nil and Gyro ~= false then
  681. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  682. end
  683. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  687. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  689. end
  690. end
  691. PLAYMAINANIM = true
  692. end
  693.  
  694. function Shatter(Part)
  695. if Part.Transparency == 0 then
  696. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  697. Debris:AddItem(SOUNDPART,5)
  698. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  699. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  700. local SIZESET = SIZE/4
  701. local XOffset = Part.Size.X*1.5/SIZESET
  702. local YOffset = Part.Size.Y*1.5/SIZESET
  703. local ZOffset = Part.Size.Z*1.5/SIZESET
  704. for x = 1, math.ceil(XOffset) do
  705. for y = 1, math.ceil(YOffset) do
  706. for z = 1, math.ceil(ZOffset) do
  707. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  708. SHARD.CanCollide = true
  709. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  710. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  711. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  712. end
  713. end
  714. end
  715. end
  716. Part:remove()
  717. end
  718.  
  719. function MakeForm(PART,TYPE)
  720. if TYPE == "Cyl" then
  721. local MSH = IT("CylinderMesh",PART)
  722. elseif TYPE == "Ball" then
  723. local MSH = IT("SpecialMesh",PART)
  724. MSH.MeshType = "Sphere"
  725. elseif TYPE == "Wedge" then
  726. local MSH = IT("SpecialMesh",PART)
  727. MSH.MeshType = "Wedge"
  728. end
  729. end
  730.  
  731. Debris = game:GetService("Debris")
  732.  
  733. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  734. local DIRECTION = CF(StartPos,EndPos).lookVector
  735. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  736. end
  737.  
  738. function turnto(position)
  739. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  740. end
  741.  
  742. --//=================================\\
  743. --|| WEAPON CREATION
  744. --\\=================================//
  745.  
  746. local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false)
  747. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  748.  
  749. local ANGLE = 35
  750. for i = 1, 5 do
  751. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
  752. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  753. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
  754. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  755. ANGLE = ANGLE - 15
  756. table.insert(LEFTWINGS,WingWeld)
  757. end
  758. ANGLE = 35
  759. for i = 1, 5 do
  760. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
  761. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  762. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
  763. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  764. ANGLE = ANGLE - 15
  765. table.insert(RIGHTWINGS,WingWeld)
  766. end
  767. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.3,0.3,0.3),false)
  768. local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  769. local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Really red", "Eye", VT(0.5,0.5,0.29),false)
  770. local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  771.  
  772. local Eye3 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,0.1,0.31),false)
  773. local EyeWeld3 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye3, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(-25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  774.  
  775. local SKILLTEXTCOLOR = BRICKC"Really red".Color
  776. local SKILLFONT = "SciFi"
  777. local SKILLTEXTSIZE = 6
  778.  
  779. local naeeym2 = Instance.new("BillboardGui",Character)
  780. naeeym2.AlwaysOnTop = true
  781. naeeym2.Size = UDim2.new(5,35,2,15)
  782. naeeym2.StudsOffset = Vector3.new(0,1.2,0)
  783. naeeym2.Adornee = Character.Head
  784. naeeym2.Name = "Name"
  785. naeeym2.PlayerToHideFrom = Player
  786. local tecks2 = Instance.new("TextLabel",naeeym2)
  787. tecks2.BackgroundTransparency = 1
  788. tecks2.TextScaled = true
  789. tecks2.BorderSizePixel = 0
  790. tecks2.Text = "Cyber Monarch"
  791. tecks2.Font = SKILLFONT
  792. tecks2.TextSize = 30
  793. tecks2.TextStrokeTransparency = 0
  794. tecks2.TextColor3 = C3(0,0,0)
  795. tecks2.TextStrokeColor3 = BRICKC"Really red".Color
  796. tecks2.Size = UDim2.new(1,0,0.5,0)
  797. tecks2.Parent = naeeym2
  798.  
  799. for _, c in pairs(Character:GetChildren()) do
  800. if c.ClassName == "Part" then
  801. table.insert(BODY,{c,Character})
  802. for _, q in pairs(c:GetChildren()) do
  803. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  804. table.insert(BODY,{q,c})
  805. end
  806. end
  807. end
  808. end
  809.  
  810. function refit()
  811. Character.Parent = workspace
  812. for e = 1, #BODY do
  813. if BODY[e] ~= nil then
  814. local STUFF = BODY[e]
  815. local PART = STUFF[1]
  816. local PARENT = STUFF[2]
  817. PART.Parent = PARENT
  818. end
  819. end
  820. end
  821.  
  822. Humanoid.HealthChanged:connect(function()
  823. Humanoid.Parent = nil
  824. Humanoid.MaxHealth = "inf"
  825. Humanoid.Health = "inf"
  826. refit()
  827. Humanoid.Parent = Character
  828. end)
  829.  
  830. Humanoid.Died:connect(function()
  831. Humanoid.Parent = nil
  832. Humanoid.MaxHealth = "inf"
  833. Humanoid.Health = "inf"
  834. refit()
  835. Humanoid.Parent = Character
  836. end)
  837.  
  838. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  839. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  840. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  841. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  842. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  843.  
  844. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Cyber Out-Burst", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  845. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Techno Beam", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  846. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Techno Warp", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  847. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Cyber Smash", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  848. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[F] Techno Key", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  849.  
  850. --//=================================\\
  851. --|| DAMAGING
  852. --\\=================================//
  853.  
  854. function killnearest(position,range,EFFECT)
  855. for i,v in ipairs(workspace:GetChildren()) do
  856. local body = v:GetChildren()
  857. for part = 1, #body do
  858. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  859. local SIZE = body[part].Size.Magnitude
  860. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  861. if v.ClassName == "Model" then
  862. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  863. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  864. v:BreakJoints()
  865. if EFFECT == "Glitch" then
  866. coroutine.resume(coroutine.create(function()
  867. local ORIGINPOS = body[part].CFrame
  868. local SIZE = body[part].Size
  869. for i = 1, 100 do
  870. Swait()
  871. local PART = body[part]
  872. PART.Anchored = true
  873. PART.Size = SIZE*MRANDOM(5,15)/10
  874. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  875. end
  876. body[part]:remove()
  877. end))
  878. elseif EFFECT == "Shatter" then
  879. for _, c in pairs(v:GetChildren()) do
  880. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  881. Shatter(c)
  882. end
  883. end
  884. end
  885. end
  886. end
  887. end
  888. end
  889. end
  890. end
  891. end
  892. end
  893.  
  894. --//=================================\\
  895. --|| ATTACK FUNCTIONS AND STUFF
  896. --\\=================================//
  897.  
  898. function CyberOutburst()
  899. if HITFLOOR ~= nil then
  900. ATTACK = true
  901. CreateSound("907329669", Head, 10, 0.8)
  902. chatfunc("Leave the dead where they fall.")
  903. Rooted = true
  904. for i=0, 2, 0.1 / Animation_Speed do
  905. Swait()
  906. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0), MoveToPos = Torso.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  911. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. end
  914. for i=0, 2, 0.1 / Animation_Speed do
  915. Swait()
  916. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  920. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  921. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  922. end
  923. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
  924. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(35,35,35), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 0.8, SoundVolume = 4})
  925. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(40,40,40), Transparency = 0.75, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 2})
  926. for i=0, 0.4, 0.1 / Animation_Speed do
  927. Swait()
  928. killnearest(Torso.Position,45,"Glitch")
  929. WACKYEFFECT({Time = 75, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  930. WACKYEFFECT({Time = 45, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))*CF(0,0,55).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  931. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  932. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  933. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  934. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  935. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  936. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  937. end
  938. ATTACK = false
  939. Rooted = false
  940. end
  941. end
  942.  
  943. function TechnoKey()
  944. if Mouse.Target ~= nil then
  945. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  946. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  947. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  948. local GYRO = IT("BodyGyro",RootPart)
  949. GYRO.D = 750
  950. GYRO.P = 20000
  951. GYRO.MaxTorque = VT(0,40000000,0)
  952. local grav = Instance.new("BodyPosition",TORSO)
  953. grav.D = 15
  954. grav.P = 20000
  955. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  956. grav.position = TORSO.Position
  957. local GYRO2 = IT("BodyGyro",TORSO)
  958. GYRO2.D = 750
  959. GYRO2.P = 20000
  960. GYRO2.MaxTorque = VT(0,40000000,0)
  961. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  962. grav.Name = "Jail"
  963. local LOCKPARTS = {}
  964. ATTACK = true
  965. Rooted = false
  966. local LOCK = IT("Model",Effects)
  967. LOCK.Name = "Lock"
  968. local LOCK2 = IT("Model",LOCK)
  969. LOCK2.Name = "Metal"
  970. --CREATE LOCK--
  971. local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  972. LOCK.PrimaryPart = BASE
  973. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  974. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  975. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  976. MakeForm(PRT,"Cyl")
  977. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really red", "Hole", VT(1, 1, 1))
  978. PRT.Color = C3(0,0,0)
  979. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  980. MakeForm(PRT,"Cyl")
  981. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really red", "Hole", VT(0.5, 1, 1))
  982. PRT.Color = C3(0,0,0)
  983. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  984. for i = 1, 45 do
  985. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Really red", "Keylock", VT(0.5, 0.5, 0.5))
  986. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  987. end
  988. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Really red", "Keylock", VT(0.5, 0.5, 0.5))
  989. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  990. LOCK2.PrimaryPart = PRT
  991. ---------------
  992. local CHILDREN = LOCK:GetDescendants()
  993. for index, CHILD in pairs(CHILDREN) do
  994. if CHILD:IsA("BasePart") then
  995. CHILD.Transparency = 1
  996. end
  997. end
  998. for i = 1, 75 do
  999. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1000. Swait()
  1001. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1002. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1003. local CHILDREN = LOCK:GetDescendants()
  1004. for index, CHILD in pairs(CHILDREN) do
  1005. if CHILD:IsA("BasePart") then
  1006. CHILD.Transparency = CHILD.Transparency - 1/75
  1007. end
  1008. end
  1009. end
  1010. HUM.DisplayDistanceType = "None"
  1011. local KEY = IT("Model",Effects)
  1012. KEY.Name = "Key"
  1013. --CREATE KEY--
  1014. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  1015. KEY.PrimaryPart = KBASE
  1016. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1017. local WLD = weldBetween(RightArm,KBASE)
  1018. for i = 1, 45 do
  1019. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  1020. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1021. weldBetween(KBASE,PRT)
  1022. end
  1023. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  1024. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1025. weldBetween(KBASE,PRT)
  1026. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  1027. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1028. weldBetween(KBASE,PRT)
  1029. --------------
  1030. Rooted = true
  1031. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1032. coroutine.resume(coroutine.create(function()
  1033. for i = 1, 10 do
  1034. Swait()
  1035. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1036. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1037. end
  1038. CreateSound(1149318312,BASE,5,1,false)
  1039. CreateSound(160772554,BASE,3,1,false)
  1040. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1041. for i = 1, 4 do
  1042. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1043. end
  1044. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1045. wait(1)
  1046. TORSO.Parent.Parent = LOCK
  1047. for i = 1, 75 do
  1048. Swait()
  1049. local CHILDREN = KEY:GetDescendants()
  1050. for index, CHILD in pairs(CHILDREN) do
  1051. if CHILD:IsA("BasePart") then
  1052. CHILD.Transparency = i/25
  1053. end
  1054. end
  1055. local CHILDREN = LOCK:GetDescendants()
  1056. for index, CHILD in pairs(CHILDREN) do
  1057. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1058. CHILD.Transparency = CHILD.Transparency + 1/75
  1059. elseif CHILD.ClassName == "Decal" then
  1060. CHILD.Transparency = CHILD.Transparency + 1/75
  1061. end
  1062. end
  1063. end
  1064. TORSO.Parent:ClearAllChildren()
  1065. KEY:remove()
  1066. LOCK:remove()
  1067. end))
  1068. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1069. CreateSound("907330619", Head, 10, 0.8)
  1070. chatfunc("This delay is pointless.")
  1071. GYRO:remove()
  1072. ATTACK = false
  1073. Rooted = false
  1074. end
  1075. end
  1076. end
  1077.  
  1078. function Technobeam()
  1079. ATTACK = true
  1080. CreateSound("907328262", Head, 10, 0.8)
  1081. chatfunc("Direct intervention is neccesary.")
  1082. Rooted = false
  1083. local GYRO = IT("BodyGyro",RootPart)
  1084. GYRO.D = 100
  1085. GYRO.P = 2000
  1086. GYRO.MaxTorque = VT(0,4000000,0)
  1087. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1088. CreateSound("93724183", RightArm, 5, 1, false)
  1089. for i=1, 35 do
  1090. Swait()
  1091. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1092. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1093. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1097. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1098. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1099. end
  1100. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1101. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  1102. local TOCH = BEAM.Touched:Connect(function(hit)
  1103. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1104. Shatter(hit)
  1105. end
  1106. end)
  1107. local I = 0
  1108. repeat
  1109. Swait()
  1110. I = I + 1
  1111. if I <= 10 then
  1112. BEAM.Transparency = BEAM.Transparency - 0.1
  1113. end
  1114. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1115. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1116. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1117. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1118. BEAM.Size = VT(2,2,DISTANCE)
  1119. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1120. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1121. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1122. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1123. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1127. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1128. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1129. if ENDHIT ~= nil then
  1130. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1131. Shatter(ENDHIT)
  1132. end
  1133. end
  1134. until LOOP.Playing == false
  1135. GYRO:remove()
  1136. BEAM:remove()
  1137. ATTACK = false
  1138. Rooted = false
  1139. end
  1140.  
  1141. function Technowarp()
  1142. CreateSound("907329423", Head, 10, 0.8)
  1143. chatfunc("I will find you again.")
  1144. local FRAME = RootPart.Position
  1145. for i = 1, 6 do
  1146. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  1147. end
  1148. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  1149. for i = 1, 6 do
  1150. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  1151. end
  1152. end
  1153.  
  1154. function CyberSmash()
  1155. ATTACK = true
  1156. CreateSound("907332670", Head, 10, 0.8)
  1157. chatfunc("Your death is assured.")
  1158. Rooted = false
  1159. local GYRO = IT("BodyGyro",RootPart)
  1160. GYRO.D = 100
  1161. GYRO.P = 2000
  1162. GYRO.MaxTorque = VT(0,4000000,0)
  1163. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1164. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Block", VT(25,25,25))
  1165. SMASH.CanCollide = true
  1166. SMASH.Color = C3(0,0,0)
  1167. local EF = Instance.new("SelectionBox",SMASH)
  1168. EF.Adornee = SMASH
  1169. EF.Color = BrickColor.new("Really red")
  1170. EF.LineThickness = 0.2
  1171. EF.Transparency = 1
  1172. coroutine.resume(coroutine.create(function()
  1173. for i = 1, 20 do
  1174. Swait()
  1175. SMASH.Transparency = SMASH.Transparency - 0.05
  1176. EF.Transparency = SMASH.Transparency
  1177. end
  1178. end))
  1179. repeat
  1180. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  1181. Swait()
  1182. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  1183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1187. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1188. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1189. until HOLD == true and SMASH.Transparency < 0.99
  1190. for i = 1, 25 do
  1191. Swait()
  1192. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  1193. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1194. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1195. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1196. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1197. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1198. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1199. end
  1200. local TOCH = SMASH.Touched:Connect(function(hit)
  1201. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1202. Shatter(hit)
  1203. end
  1204. end)
  1205. local n0 = nil
  1206. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  1207. if HITFLOOR ~= nil then
  1208. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  1209. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1210. if HITFLOOR.Parent.ClassName == "Model" then
  1211. HITFLOOR.Parent:BreakJoints()
  1212. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  1213. HITFLOOR.Parent.Parent:BreakJoints()
  1214. end
  1215. end
  1216. local POS = HITPOS
  1217. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  1218. end
  1219. end
  1220. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  1221. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  1222. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  1223. for i = 1, 25 do
  1224. Swait()
  1225. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1226. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1227. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1228. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1229. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1231. end
  1232. coroutine.resume(coroutine.create(function()
  1233. wait(0.2)
  1234. TOCH:disconnect()
  1235. wait(1.8)
  1236. for i = 1, 100 do
  1237. Swait()
  1238. SMASH.Transparency = i/100
  1239. end
  1240. for i = 1, 10 do
  1241. Swait()
  1242. EF.Transparency = EF.Transparency + 0.1
  1243. end
  1244. SMASH:remove()
  1245. end))
  1246. GYRO:remove()
  1247. ATTACK = false
  1248. Rooted = false
  1249. end
  1250.  
  1251. function chatfunc(text)
  1252. local chat = coroutine.wrap(function()
  1253. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  1254. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1255. end
  1256. local naeeym2 = Instance.new("BillboardGui", Character)
  1257. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1258. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  1259. naeeym2.Adornee = Character.Head
  1260. naeeym2.Name = "TalkingBillBoard"
  1261. local tecks3 = Instance.new("TextLabel", naeeym2)
  1262. tecks3.BackgroundTransparency = 1
  1263. tecks3.BorderSizePixel = 0
  1264. tecks3.Text = ""
  1265. tecks3.Font = "SciFi"
  1266. tecks3.TextSize = 30
  1267. tecks3.TextStrokeTransparency = 0
  1268. tecks3.TextColor3 = Color3.new(0, 0, 0)
  1269. tecks3.TextStrokeColor3 = Color3.new(3, 0, 0)
  1270. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  1271. coroutine.resume(coroutine.create(function()
  1272. while true do
  1273. Swait(1)
  1274. if chaosmode == true then
  1275. tecks3.TextStrokeColor3 = BrickColor.new("Really black")().Color
  1276. end
  1277. end
  1278. end))
  1279. for i = 1, string.len(text) do
  1280. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  1281. tecks3.Text = string.sub(text, 1, i)
  1282. Swait(1)
  1283. end
  1284. wait(1)
  1285. local randomrot = math.random(1, 2)
  1286. if randomrot == 1 then
  1287. for i = 1, 50 do
  1288. Swait()
  1289. end
  1290. elseif randomrot == 2 then
  1291. for i = 1, 50 do
  1292. Swait()
  1293. end
  1294. end
  1295. naeeym2:Destroy()
  1296. end)
  1297. chat()
  1298. end
  1299.  
  1300. function onChatted(msg)
  1301. chatfunc(msg)
  1302. end
  1303. Player.Chatted:connect(onChatted)
  1304.  
  1305. --//=================================\\
  1306. --|| ASSIGN THINGS TO KEYS
  1307. --\\=================================//
  1308.  
  1309. function MouseDown(Mouse)
  1310. HOLD = true
  1311. if ATTACK == false then
  1312. end
  1313. end
  1314.  
  1315. function MouseUp(Mouse)
  1316. HOLD = false
  1317. end
  1318.  
  1319. function KeyDown(Key)
  1320. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1321. KEYHOLD = true
  1322. if Key == "z" and ATTACK == false then
  1323. CyberOutburst()
  1324. end
  1325.  
  1326. if Key == "b" and ATTACK == false then
  1327. Technobeam()
  1328. end
  1329.  
  1330. if Key == "c" and ATTACK == false then
  1331. Technowarp()
  1332. end
  1333.  
  1334. if Key == "f" and ATTACK == false then
  1335. TechnoKey()
  1336. end
  1337.  
  1338. if Key == "v" and ATTACK == false then
  1339. CyberSmash()
  1340. end
  1341.  
  1342. if Key == "t" then
  1343. local TAUNT = CreateSound("132392118", Head, 10, 0.8)
  1344. TAUNT.TimePosition = 1.1
  1345. chatfunc("My attacks will tear you apart.")
  1346. end
  1347. end
  1348. end
  1349. function KeyUp(Key)
  1350. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1351. KEYHOLD = false
  1352. end
  1353. end
  1354.  
  1355. Mouse.Button1Down:connect(function(NEWKEY)
  1356. MouseDown(NEWKEY)
  1357. end)
  1358. Mouse.Button1Up:connect(function(NEWKEY)
  1359. MouseUp(NEWKEY)
  1360. end)
  1361. Mouse.KeyDown:connect(function(NEWKEY)
  1362. KeyDown(NEWKEY)
  1363. end)
  1364. Mouse.KeyUp:connect(function(NEWKEY)
  1365. KeyUp(NEWKEY)
  1366. end)
  1367.  
  1368. --//=================================\\
  1369. --\\=================================//
  1370.  
  1371.  
  1372. function unanchor()
  1373. if UNANCHOR == true then
  1374. g = Character:GetChildren()
  1375. for i = 1, #g do
  1376. if g[i].ClassName == "Part" then
  1377. g[i].Anchored = false
  1378. end
  1379. end
  1380. end
  1381. end
  1382.  
  1383.  
  1384. --//=================================\\
  1385. --|| WRAP THE WHOLE SCRIPT UP
  1386. --\\=================================//
  1387.  
  1388. Humanoid.Changed:connect(function(Jump)
  1389. if Jump == "Jump" and (Disable_Jump == true) then
  1390. Humanoid.Jump = false
  1391. end
  1392. end)
  1393.  
  1394. Humanoid.HipHeight = 2
  1395.  
  1396. while true do
  1397. Swait()
  1398. refit()
  1399. Character.Parent = workspace
  1400. Humanoid.Parent = Character
  1401. ANIMATE.Parent = nil
  1402. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1403. IDLEANIMATION:Play()
  1404. SINE = SINE + CHANGE
  1405. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1406. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1407. HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
  1408. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1409. EyeWeld3.C1 = Clerp(EyeWeld3.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
  1410. EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
  1411. EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
  1412. for LW = 1, #LEFTWINGS do
  1413. if LEFTWINGS[LW] ~= nil then
  1414. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  1415. end
  1416. end
  1417. for RW = 1, #RIGHTWINGS do
  1418. if RIGHTWINGS[RW] ~= nil then
  1419. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  1420. end
  1421. end
  1422. if ATTACK == false then
  1423. if TORSOVELOCITY < 1 then
  1424. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1428. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1429. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1430. elseif TORSOVELOCITY > 1 then
  1431. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1435. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1436. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1437. end
  1438. end
  1439. for _, c in pairs(Character:GetChildren()) do
  1440. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1441. c.Material = "Neon"
  1442. if c:FindFirstChildOfClass("ParticleEmitter") then
  1443. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1444. end
  1445. if c ~= Head and c ~= RootPart and c:FindFirstChild("BoxEffect") == nil then
  1446. local EF = Instance.new("SelectionBox",c)
  1447. EF.Adornee = c
  1448. EF.Color = BrickColor.new("Really red")
  1449. EF.LineThickness = 0.01
  1450. EF.Transparency = 0
  1451. EF.Name = "BoxEffect"
  1452. end
  1453. c.Color = C3(0,0,0)
  1454. if c == Head then
  1455. --[[if c:FindFirstChild("Dominus") == nil then
  1456. local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
  1457. M.Name = "Dominus"
  1458. end]]--
  1459. if c:FindFirstChild("face") then
  1460. c.face:remove()
  1461. end
  1462. end
  1463. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1464. c:remove()
  1465. end
  1466. end
  1467. if HITFLOOR ~= nil and MRANDOM(1,6) == 1 then
  1468. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,15),0,0).p
  1469. local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
  1470. if BOXFLOOR ~= nil then
  1471. WACKYEFFECT({EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(BOXPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1472. end
  1473. end
  1474. unanchor()
  1475. Humanoid.MaxHealth = "inf"
  1476. Humanoid.Health = "inf"
  1477. if Rooted == false then
  1478. Disable_Jump = false
  1479. Humanoid.WalkSpeed = Speed
  1480. elseif Rooted == true then
  1481. Disable_Jump = true
  1482. Humanoid.WalkSpeed = 0
  1483. end
  1484. for _, c in pairs(workspace:GetChildren()) do
  1485. if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
  1486. end
  1487. end
  1488. script.Parent = WEAPONGUI
  1489. Humanoid.Name = "Monarch"
  1490. sick.Parent = Effects
  1491. sick.Pitch = 0.85
  1492. sick.Playing = true
  1493. for _, q in pairs(Head:GetChildren()) do
  1494. if q.ClassName == "Sound" and q.Name ~= "Audio" then
  1495. q:remove()
  1496. end
  1497. end
  1498. Humanoid.DisplayDistanceType = "None"
  1499. end
  1500.  
  1501. --//=================================\\
  1502. --\\=================================//
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508. --//====================================================\\--
  1509. --|| END OF SCRIPT
  1510. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement