Advertisement
pleaseno

warden

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