Advertisement
rivahaviz

Untitled

Jul 5th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.38 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --|| EDITED BY InfintyBoy
  4. --\\====================================================//--
  5.  
  6. wait(0.2)
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. PlayerGui = Player.PlayerGui
  10. Cam = workspace.CurrentCamera
  11. insane = false
  12. insane = false
  13. dev = false
  14. dev = false
  15. Backpack = Player.Backpack
  16. Character = Player.Character
  17. Humanoid = Character.Humanoid
  18. hum = Character.Humanoid
  19. Humanoid.DisplayDistanceType="None"
  20. Humanoid.HealthDisplayDistance="None"
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. local shield = Instance.new("Part")
  27. shield.Size = Vector3.new(1, 1, 1)
  28. shield.Name = "Shield"
  29. shield.Material = Enum.Material.Metal
  30. shield.TopSurface = Enum.SurfaceType.Smooth
  31. shield.BottomSurface = Enum.SurfaceType.Smooth
  32. shield.Parent = stuff
  33. shield.CFrame = CFrame.new(-26.77, 0.5, -37.02)
  34. LeftArm = Character["Left Arm"]
  35. RightLeg = Character["Right Leg"]
  36. LeftLeg = Character["Left Leg"]
  37. RootJoint = RootPart["RootJoint"]
  38. Neck = Torso["Neck"]
  39. RightShoulder = Torso["Right Shoulder"]
  40. LeftShoulder = Torso["Left Shoulder"]
  41. RightHip = Torso["Right Hip"]
  42. LeftHip = Torso["Left Hip"]
  43. Character.Archivable = true
  44.  
  45. IT = Instance.new
  46. CF = CFrame.new
  47. VT = Vector3.new
  48. RAD = math.rad
  49. C3 = Color3.new
  50. UD2 = UDim2.new
  51. BRICKC = BrickColor.new
  52. ANGLES = CFrame.Angles
  53. EULER = CFrame.fromEulerAnglesXYZ
  54. COS = math.cos
  55. ACOS = math.acos
  56. SIN = math.sin
  57. ASIN = math.asin
  58. ABS = math.abs
  59. MRANDOM = math.random
  60. FLOOR = math.floor
  61. Character:WaitForChild("Head").BrickColor=BrickColor.new("White")
  62. local plr = game:service'Players'.LocalPlayer
  63. print('Local User is '..plr.Name)
  64. local char = plr.Character
  65. local hum = char.Humanoid
  66. local hed = char.Head
  67. local root = char.HumanoidRootPart
  68. local rootj = root.RootJoint
  69. local tors = char.Torso
  70. local ra = char["Right Arm"]
  71. local la = char["Left Arm"]
  72. local rl = char["Right Leg"]
  73. local ll = char["Left Leg"]
  74. local neck = tors["Neck"]
  75. local mouse = plr:GetMouse()
  76. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  77. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  78. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  79. local maincolor = BrickColor.new("Institutional white")
  80.  
  81. -------------------------------------------------------
  82. --Start Good Stuff--
  83. -------------------------------------------------------
  84. cam = game.Workspace.CurrentCamera
  85. CF = CFrame.new
  86. angles = CFrame.Angles
  87. attack = false
  88. Euler = CFrame.fromEulerAnglesXYZ
  89. Rad = math.rad
  90. IT = Instance.new
  91. BrickC = BrickColor.new
  92. Cos = math.cos
  93. Acos = math.acos
  94. Sin = math.sin
  95. Asin = math.asin
  96. Abs = math.abs
  97. Mrandom = math.random
  98. Floor = math.floor
  99. -------------------------------------------------------
  100. --End Good Stuff--
  101. -------------------------------------------------------
  102. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  103. RSH, LSH = nil, nil
  104. RW = Instance.new("Weld")
  105. LW = Instance.new("Weld")
  106. RH = tors["Right Hip"]
  107. LH = tors["Left Hip"]
  108. RSH = tors["Right Shoulder"]
  109. LSH = tors["Left Shoulder"]
  110. RSH.Parent = nil
  111. LSH.Parent = nil
  112. RW.Name = "RW"
  113. RW.Part0 = tors
  114. RW.C0 = CF(1.5, 0.5, 0)
  115. RW.C1 = CF(0, 0.5, 0)
  116. RW.Part1 = ra
  117. RW.Parent = tors
  118. LW.Name = "LW"
  119. LW.Part0 = tors
  120. LW.C0 = CF(-1.5, 0.5, 0)
  121. LW.C1 = CF(0, 0.5, 0)
  122. LW.Part1 = la
  123. LW.Parent = tors
  124. Effects = {}
  125.  
  126. local Player_Size = 1
  127. if Player_Size ~= 1 then
  128. root.Size = root.Size * Player_Size
  129. tors.Size = tors.Size * Player_Size
  130. hed.Size = hed.Size * Player_Size
  131. ra.Size = ra.Size * Player_Size
  132. la.Size = la.Size * Player_Size
  133. rl.Size = rl.Size * Player_Size
  134. ll.Size = ll.Size * Player_Size
  135. ----------------------------------------------------------------------------------
  136. rootj.Parent = root
  137. neck.Parent = tors
  138. RW.Parent = tors
  139. LW.Parent = tors
  140. RH.Parent = tors
  141. LH.Parent = tors
  142. ----------------------------------------------------------------------------------
  143. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  144. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  145. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  146. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  147. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  148. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  149. ----------------------------------------------------------------------------------
  150. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  151. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  152. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  153. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  154. --hat.Parent = Character
  155. end
  156. --//=================================\\
  157. --|| USEFUL VALUES
  158. --\\=================================//
  159.  
  160. Animation_Speed = 2.5
  161. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  162. local Speed = 20
  163. local SIZE = 1
  164. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  165. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  166. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  167. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  168. local DAMAGEMULTIPLIER = "inf"
  169. local ANIM = "Idle"
  170. local ATTACK = false
  171. local EQUIPPED = false
  172. local HOLD = false
  173. local COMBO = 1
  174. local Rooted = false
  175. local SINE = 0
  176. local KEYHOLD = false
  177. local CHANGE = 2 / Animation_Speed
  178. local WALKINGANIM = false
  179. local VALUE1 = false
  180. local VALUE2 = false
  181. local ROBLOXIDLEANIMATION = IT("Animation")
  182. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  183. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  184. local ATANIM = IT("Animation")
  185. ATANIM.Name = "Attack Animation"
  186. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  187. --ROBLOXIDLEANIMATION.Parent = Humanoid
  188. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  189. WEAPONGUI.Name = "Weapon GUI"
  190. local Weapon = IT("Model")
  191. Weapon.Name = "Adds"
  192. local Effects = IT("Folder", Weapon)
  193. Effects.Name = "Effects"
  194. local ANIMATOR = Humanoid.Animator
  195. local ANIMATE = Character.Animate
  196. local UNANCHOR = true
  197. local CLOCKLOOP = 0
  198. local SONG = 156879167
  199. local SONG2 = 156879167
  200. local CLOCKTARGET = nil
  201. local CLOCKSPEED = 10.5
  202. script.Parent = WEAPONGUI
  203. local CLONE = Character:Clone()
  204. CLONE.Parent = nil
  205. Character.Archivable = false
  206. local sick = Instance.new("Sound",Character)
  207. --//=================================\\
  208. --\\=================================//
  209.  
  210.  
  211. --//=================================\\
  212. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  213. --\\=================================//
  214.  
  215. ArtificialHB = Instance.new("BindableEvent", script)
  216. ArtificialHB.Name = "ArtificialHB"
  217.  
  218. script:WaitForChild("ArtificialHB")
  219.  
  220. frame = Frame_Speed
  221. tf = 0
  222. allowframeloss = false
  223. tossremainder = false
  224. lastframe = tick()
  225. script.ArtificialHB:Fire()
  226.  
  227. game:GetService("RunService").Heartbeat:connect(function(s, p)
  228. tf = tf + s
  229. if tf >= frame then
  230. if allowframeloss then
  231. script.ArtificialHB:Fire()
  232. lastframe = tick()
  233. else
  234. for i = 1, math.floor(tf / frame) do
  235. script.ArtificialHB:Fire()
  236. end
  237. lastframe = tick()
  238. end
  239. if tossremainder then
  240. tf = 0
  241. else
  242. tf = tf - frame * math.floor(tf / frame)
  243. end
  244. end
  245. end)
  246.  
  247. --//=================================\\
  248. --\\=================================//
  249.  
  250. --//=================================\\
  251. --|| SOME FUNCTIONS
  252. --\\=================================//
  253.  
  254. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  255. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  256. end
  257.  
  258. function Shatter(Part)
  259. if Part.Transparency == 0 then
  260. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(1,1,1))
  261. Debris:AddItem(SOUNDPART,5)
  262. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  263. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  264. local SIZESET = SIZE/4
  265. local XOffset = Part.Size.X*1.5/SIZESET
  266. local YOffset = Part.Size.Y*1.5/SIZESET
  267. local ZOffset = Part.Size.Z*1.5/SIZESET
  268. for x = 1, math.ceil(XOffset) do
  269. for y = 1, math.ceil(YOffset) do
  270. for z = 1, math.ceil(ZOffset) do
  271. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  272. SHARD.CanCollide = true
  273. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  274. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  275. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  276. end
  277. end
  278. end
  279. end
  280. Part:remove()
  281. end
  282.  
  283. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  284. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  285. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  286. local BODYGYRO = IT("BodyGyro", STATPART)
  287. local BODYPOSITION = IT("BodyPosition", STATPART)
  288. BODYPOSITION.P = 2000
  289. BODYPOSITION.D = 100
  290. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  291. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  292. game:GetService("Debris"):AddItem(STATPART ,5)
  293. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  294. BILLBOARDGUI.Adornee = STATPART
  295. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  296. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  297. BILLBOARDGUI.AlwaysOnTop = false
  298. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  299. TEXTLABEL.BackgroundTransparency = 1
  300. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  301. TEXTLABEL.Text = TEXT
  302. TEXTLABEL.Font = "SciFi"
  303. TEXTLABEL.FontSize="Size42"
  304. TEXTLABEL.TextColor3 = COLOR
  305. TEXTLABEL.TextStrokeTransparency = 1
  306. TEXTLABEL.TextScaled = true
  307. TEXTLABEL.TextWrapped = true
  308. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  309. if LABELTYPE == "Normal" then
  310. for i = 1, 20 do
  311. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  312. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  313. end
  314. elseif LABELTYPE == "Debuff" then
  315. for i = 1, 20 do
  316. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  317. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  318. end
  319. elseif LABELTYPE == "Shock" then
  320. local ORIGIN = STATPART.Position
  321. for i = 1, 20 do
  322. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  323. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  324. end
  325. end
  326. THEPART.Parent = nil
  327. end),STATPART, BODYPOSITION, TEXTLABEL)
  328. end
  329.  
  330. function CameraEnshaking(Length, Intensity)
  331. coroutine.resume(coroutine.create(function()
  332. local intensity = 1 * Intensity
  333. local rotM = 0.01 * Intensity
  334. for i = 0, Length, 0.1 do
  335. swait()
  336. intensity = intensity - 0.05 * Intensity / Length
  337. rotM = rotM - 5.0E-4 * Intensity / Length
  338. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  339. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  340. end
  341. hum.CameraOffset = Vector3.new(0, 0, 0)
  342. end))
  343. end
  344.  
  345. function GetSpike(FLOOROBJECT)
  346. local Rock = SPIKE:Clone()
  347. Rock.Parent = Effects
  348. if FLOOROBJECT ~= nil then
  349. if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
  350. Rock.Material = FLOOROBJECT.Material
  351. Rock.Color = FLOOROBJECT.Color
  352. else
  353. Rock.Material = "Slate"
  354. Rock.Color = BRICKC"Dirt brown".Color
  355. end
  356. else
  357. Rock.Material = "Slate"
  358. Rock.Color = BRICKC"Dirt brown".Color
  359. end
  360. return Rock
  361. end
  362.  
  363. function WaveParticles(Position,Size,Color)
  364. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(1,1,1), true)
  365. BASE.CFrame = CF(Position)
  366. local A = IT("Attachment",BASE)
  367. local WAVE = script.Wave:Clone()
  368. WAVE.Parent = A
  369. WAVE.Size = NumberSequence.new(0,Size)
  370. WAVE.Color = ColorSequence.new(Color)
  371. Debris:AddItem(BASE,0.5)
  372. WAVE:Emit(1)
  373. end
  374.  
  375. function GetShield(FLOOROBJECT)
  376. local Rock = SHIELD:Clone()
  377. Rock.Parent = Effects
  378. if FLOOROBJECT ~= nil then
  379. Rock.Material = FLOOROBJECT.Material
  380. Rock.Color = FLOOROBJECT.Color
  381. else
  382. Rock.Material = "Slate"
  383. Rock.Color = BRICKC"Dirt brown".Color
  384. end
  385. return Rock
  386. end
  387.  
  388. function CheckTableForString(Table, String)
  389. for i, v in pairs(Table) do
  390. if string.find(string.lower(String), string.lower(v)) then
  391. return true
  392. end
  393. end
  394. return false
  395. end
  396.  
  397. function CreateGUICircle(TARGET)
  398. local GUI = Instance.new("BillboardGui",Character)
  399. GUI.Size = UDim2.new(0,0,0,0)
  400. GUI.Adornee = TARGET
  401. local GUI2 = IT("ImageLabel",GUI)
  402. GUI2.BackgroundTransparency = 1
  403. GUI2.BorderSizePixel = 0
  404. GUI2.Size = UDim2.new(1,0,1,0)
  405. GUI2.SizeConstraint = "RelativeYY"
  406. GUI.AlwaysOnTop = true
  407. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  408. return GUI,GUI2
  409. end
  410.  
  411. function Warp(Victim,WarpToVoid)
  412. print("Warping "..Victim.Name.."...")
  413. Victim.Anchored = true
  414. coroutine.resume(coroutine.create(function()
  415. local GUI,GUI2 = CreateGUICircle(Victim)
  416. CreateSound("1208650519", Victim, 10, 1)
  417. for i = 1, 100 do
  418. Swait()
  419. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  420. GUI2.Rotation = GUI2.Rotation + 4
  421. end
  422. CastWarpOutlines(Victim.Parent)
  423. if WarpToVoid == false then
  424. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  425. CreateSound("1177785010", Victim, 10, 1)
  426. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  427. if HUMANOID ~= nil then
  428. local dmg = MRANDOM(75,95)
  429. HUMANOID.Health = HUMANOID.Health - dmg
  430. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  431. end
  432. for i = 1, 50 do
  433. Swait()
  434. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  435. GUI2.Rotation = GUI2.Rotation - 8
  436. end
  437. Victim.Anchored = false
  438. GUI:remove()
  439. elseif WarpToVoid == true then
  440. CastWarpOutlines(Victim.Parent)
  441. q = Victim.Parent:GetChildren()
  442. for i = 1, #q do
  443. if q[i] ~= Victim then
  444. q[i]:remove()
  445. end
  446. end
  447. CreateSound("1177785010", Victim, 10, 1)
  448. Victim.Transparency = 1
  449. for i = 1, 50 do
  450. Swait()
  451. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  452. GUI2.Rotation = GUI2.Rotation - 8
  453. end
  454. Victim.Parent:remove()
  455. end
  456. end))
  457. end
  458.  
  459. function CastWarpOutlines(TARGET)
  460. coroutine.resume(coroutine.create(function()
  461. local T = TARGET:GetChildren()
  462. for i = 1, # T do
  463. local child = T[i]
  464. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  465. local clone = child:Clone()
  466. clone.Parent = Effects
  467. clone.Anchored = true
  468. clone.CanCollide = false
  469. clone:ClearAllChildren()
  470. clone.CFrame = child.CFrame
  471. if clone.Name == "Head" then
  472. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  473. end
  474. if clone.ClassName == "MeshPart" then
  475. clone.TextureID = ""
  476. end
  477. clone.BrickColor = BRICKC"Black"
  478. clone.Material = "Neon"
  479. coroutine.resume(coroutine.create(function()
  480. for i = 1, 200 do
  481. Swait()
  482. clone.Transparency = clone.Transparency + 0.005
  483. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  484. end
  485. clone:remove()
  486. end))
  487. end
  488. end
  489. end))
  490. end
  491.  
  492. function CheckIntangible(Hit)
  493. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  494. if Hit and Hit.Parent then
  495. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  496. return true
  497. end
  498. end
  499. return false
  500. end
  501.  
  502. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  503. local dmg = math.random(min,max)
  504. for i,v in ipairs(workspace:GetChildren()) do
  505. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  506. local body = v:GetChildren()
  507. for part = 1, #body do
  508. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  509. if(body[part].Position - position).Magnitude < radius then
  510. if v.ClassName == "Model" then
  511. if v:FindFirstChildOfClass("Humanoid") then
  512. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  513. if HUMAN.Health ~= 0 then
  514. if HasChain == true then
  515. local defence = Instance.new("BoolValue",v)
  516. defence.Name = ("HitBy"..Player.Name)
  517. game:GetService("Debris"):AddItem(defence, 1)
  518. coroutine.resume(coroutine.create(function()
  519. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  520. if TORSO then
  521. --print("Found "..v.Name.."'s Torso")
  522. local PART = IT("Part",Effects)
  523. PART.Anchored = true
  524. PART.CanCollide = false
  525. PART.Transparency = 1
  526. PART.CFrame = CF(position)
  527. Debris:AddItem(PART,15)
  528. local A = IT("Attachment",PART)
  529. --TORSO.Anchored = true
  530. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  531. --print("Chain start")
  532. Front.CFrame = CF(position)
  533. Front.CanCollide = true
  534. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  535. local B = IT("Attachment",Front)
  536. local ChainLink = IT("Beam",Effects)
  537. ChainLink.Texture = "rbxassetid://1262544869"
  538. ChainLink.TextureSpeed = 0
  539. ChainLink.FaceCamera = true
  540. ChainLink.Width0 = 3
  541. ChainLink.Attachment0 = A
  542. ChainLink.Attachment1 = B
  543. ChainLink.TextureMode = "Static"
  544. local bv = Instance.new("BodyVelocity")
  545. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  546. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  547. bv.Parent = Front
  548. bv.Name = "MOVE"
  549. --print("Chain made")
  550. coroutine.resume(coroutine.create(function()
  551. Swait(30)
  552. bv:remove()
  553. local POS = Front.Position
  554. Front.CanCollide = false
  555. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(1,1,1)
  556. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(1,1,1)
  557. for i = 0, 1, 0.07 do
  558. Swait()
  559. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  560. end
  561. Front:remove()
  562. ChainLink:remove()
  563. end))
  564. local harm = Front.Touched:Connect(function(hit)
  565. impale(Front,hit)
  566. end)
  567. end
  568. end))
  569. elseif DoesWarp == true then
  570. local defence = Instance.new("BoolValue",v)
  571. defence.Name = ("HitBy"..Player.Name)
  572. game:GetService("Debris"):AddItem(defence, 0.001)
  573. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  574. Warp(TORSO,Instakill)
  575. else
  576. if CanBeDodgedByJumping == true then
  577. if body[part].Position.Y < position.Y+5 then
  578. if math.random(1,100) < critrate+1 then
  579. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  580. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  581. else
  582. HUMAN.Health = HUMAN.Health - dmg
  583. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  584. end
  585. local defence = Instance.new("BoolValue",v)
  586. defence.Name = ("HitBy"..Player.Name)
  587. game:GetService("Debris"):AddItem(defence, 0.01)
  588. end
  589. else
  590. if beserk == true then
  591. HUMAN.Health = 0
  592. end
  593. if math.random(1,100) < critrate+1 then
  594. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  595. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  596. else
  597. HUMAN.Health = HUMAN.Health - dmg
  598. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  599. end
  600. local defence = Instance.new("BoolValue",v)
  601. defence.Name = ("HitBy"..Player.Name)
  602. game:GetService("Debris"):AddItem(defence, 0.01)
  603. end
  604. end
  605. end
  606. end
  607. end
  608. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  609. end
  610. end
  611. end
  612. if v.ClassName == "Part" then
  613. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  614. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  615. end
  616. end
  617. end
  618. end
  619. end
  620.  
  621. Debris = game:GetService("Debris")
  622.  
  623. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  624. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  625. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  626. if RayHit and CheckIntangible(RayHit) then
  627. if DelayIfHit then
  628. wait()
  629. end
  630. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  631. end
  632. return RayHit, RayPos, RayNormal
  633. end
  634.  
  635. --Zap({StartPosition = Position, TargetPosition = Position, Character = Character, Color = "Color", Individual = true})
  636. function Zap(Table)
  637. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  638. local Duration = (Table.Duration or 2)
  639. local FadeRate = (Table.FadeRate or 0.05)
  640. local Offset = (Table.Offset or 2)
  641. local Individualize = (Table.Individualize or false)
  642. local MaxRange = (Table.MaxRange or 200)
  643. local DoesKill = (Table.DoesKill or false)
  644. local SegmentLength = (Table.SegmentLength or 5)
  645. local TimeToFade = (Table.TimeToFade or 0.5)
  646. local Ignore = (Table.Ignore or {})
  647. local SIZE = (Table.Size or 0.3)
  648. if not StartPos or not TargetPos or not Character then
  649. return
  650. end
  651. local LightningModel = Effects
  652. for i, v in pairs({Character, LightningModel}) do
  653. table.insert(Ignore, v)
  654. end
  655. local LastPos = StartPos
  656. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  657. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  658. local RayLength = (StartPos - RayPos).Magnitude
  659. local Struck = false
  660. local TotalSegments = math.ceil(RayLength / SegmentLength)
  661. Direction = CFrame.new(StartPos, RayPos).lookVector
  662. local LightningBolt = IT("Model",Effects)
  663. LightningBolt.Name = "Lightning"
  664. if not Individualize then
  665. table.insert(LightningBolts, LightningBolt)
  666. end
  667. LastBolt = LightningBolt
  668. Debris:AddItem(LightningBolt, Duration)
  669. LightningBolt.Parent = LightningModel
  670. for i = 1, TotalSegments do
  671. if not Struck then
  672. local Entropy = Vector3.new(((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset))
  673. local NewPos = (StartPos + (Direction * (RayLength * (i / TotalSegments))) + Entropy)
  674. local SegmentVec = (NewPos - LastPos)
  675. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  676. local RayVec = (LastPos - RayPos)
  677. local LightningPart = BaseLightning:Clone()
  678. LightningPart.BrickColor = BrickColor.new(Color)
  679. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  680. LightningPart.CFrame = (CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)))
  681. table.insert(Effects2,{LightningPart,"Disappear",0.025,1,1,1,2})
  682. --Make circular
  683. local CylinderMesh = IT("CylinderMesh",LightningPart)
  684. local OrigCF = LightningPart.CFrame
  685. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  686. LightningPart.CFrame = (OrigCF * CFrame.Angles((math.pi / 2), 0, 0))
  687. LightningPart.Parent = LightningBolt
  688. LastPos = NewPos
  689. if DoesKill == true then
  690. killnearest(NewPos,40,100)
  691. AoEDamage(NewPos,75,15,65,0,false,6,3,false)
  692. end
  693. Spawn(function()
  694. local FadeRate = 0.05
  695. local OrigTransparency = LightningPart.Transparency
  696. for i = 1, (TimeToFade / FadeRate) do
  697. wait(FadeRate)
  698. LightningPart.Transparency = (OrigTransparency + (i / (TimeToFade / FadeRate)))
  699. end
  700. end)
  701. end
  702. end
  703. return {RayHit = RayHit, RayPos = RayPos, RayNormal = RayNormal, LightningModel = LightningModel}
  704. end
  705.  
  706.  
  707. local Decal = IT("Decal")
  708.  
  709. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  710. local sinkhole = IT("Part")
  711. sinkhole.Size = VT(size,0,size)
  712. sinkhole.CFrame = cframe
  713. --sinkhole.Orientation = VT(1,1,1)
  714. sinkhole.Parent = Effects
  715. sinkhole.Material = "Neon"
  716. sinkhole.Color = C3(1,0,0)
  717. sinkhole.Anchored = true
  718. sinkhole.CanCollide = false
  719. sinkhole.Transparency = 1
  720. local decal = Decal:Clone()
  721. decal.Parent = sinkhole
  722. decal.Face = "Top"
  723. decal.Texture = "http://www.roblox.com/asset/?id="..TOP
  724. local decal2 = Decal:Clone()
  725. decal2.Parent = sinkhole
  726. decal2.Face = "Bottom"
  727. decal2.Texture = "http://www.roblox.com/asset/?id="..BOTTOM
  728. coroutine.resume(coroutine.create(function(PART)
  729. for i = 1, waitt do
  730. Swait()
  731. if doesrotate == true then
  732. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  733. end
  734. if alwaysfade == true then
  735. decal.Transparency = decal.Transparency + (1/waitt)
  736. decal2.Transparency = decal.Transparency + (1/waitt)
  737. end
  738. if i > waitt-11 and (alwaysfade ~= true) then
  739. decal.Transparency = decal.Transparency + 0.1
  740. decal2.Transparency = decal.Transparency + 0.1
  741. end
  742. end
  743. sinkhole.Parent = nil
  744. end))
  745. return sinkhole
  746. end
  747.  
  748. function PositiveAngle(NUMBER)
  749. if NUMBER >= 0 then
  750. NUMBER = 0
  751. end
  752. return NUMBER
  753. end
  754.  
  755. function NegativeAngle(NUMBER)
  756. if NUMBER <= 0 then
  757. NUMBER = 0
  758. end
  759. return NUMBER
  760. end
  761.  
  762. function Swait(NUMBER)
  763. if NUMBER == 0 or NUMBER == nil then
  764. ArtificialHB.Event:wait()
  765. else
  766. for i = 1, NUMBER do
  767. ArtificialHB.Event:wait()
  768. end
  769. end
  770. end
  771.  
  772. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  773. local NEWMESH = IT(MESH)
  774. if MESH == "SpecialMesh" then
  775. NEWMESH.MeshType = MESHTYPE
  776. if MESHID ~= "nil" and MESHID ~= "" then
  777. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  778. end
  779. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  780. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  781. end
  782. end
  783. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  784. NEWMESH.Scale = SCALE
  785. NEWMESH.Parent = PARENT
  786. return NEWMESH
  787. end
  788.  
  789. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  790. local NEWPART = IT("Part")
  791. NEWPART.formFactor = FORMFACTOR
  792. NEWPART.Reflectance = REFLECTANCE
  793. NEWPART.Transparency = TRANSPARENCY
  794. NEWPART.CanCollide = false
  795. NEWPART.Locked = true
  796. NEWPART.Anchored = true
  797. if ANCHOR == false then
  798. NEWPART.Anchored = false
  799. end
  800. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  801. NEWPART.Name = NAME
  802. NEWPART.Size = SIZE
  803. NEWPART.Position = Torso.Position
  804. NEWPART.Material = MATERIAL
  805. NEWPART:BreakJoints()
  806. NEWPART.Parent = PARENT
  807. return NEWPART
  808. end
  809.  
  810. local function weldBetween(a, b)
  811. local weldd = Instance.new("ManualWeld")
  812. weldd.Part0 = a
  813. weldd.Part1 = b
  814. weldd.C0 = CFrame.new()
  815. weldd.C1 = b.CFrame:inverse() * a.CFrame
  816. weldd.Parent = a
  817. return weldd
  818. end
  819.  
  820.  
  821. function QuaternionFromCFrame(cf)
  822. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  823. local trace = m00 + m11 + m22
  824. if trace > 0 then
  825. local s = math.sqrt(1 + trace)
  826. local recip = 0.5 / s
  827. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  828. else
  829. local i = 0
  830. if m11 > m00 then
  831. i = 1
  832. end
  833. if m22 > (i == 0 and m00 or m11) then
  834. i = 2
  835. end
  836. if i == 0 then
  837. local s = math.sqrt(m00 - m11 - m22 + 1)
  838. local recip = 0.5 / s
  839. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  840. elseif i == 1 then
  841. local s = math.sqrt(m11 - m22 - m00 + 1)
  842. local recip = 0.5 / s
  843. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  844. elseif i == 2 then
  845. local s = math.sqrt(m22 - m00 - m11 + 1)
  846. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  847. end
  848. end
  849. end
  850.  
  851. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  852. local xs, ys, zs = x + x, y + y, z + z
  853. local wx, wy, wz = w * xs, w * ys, w * zs
  854. local xx = x * xs
  855. local xy = x * ys
  856. local xz = x * zs
  857. local yy = y * ys
  858. local yz = y * zs
  859. local zz = z * zs
  860. 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))
  861. end
  862.  
  863. function QuaternionSlerp(a, b, t)
  864. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  865. local startInterp, finishInterp;
  866. if cosTheta >= 0.0001 then
  867. if (1 - cosTheta) > 0.0001 then
  868. local theta = ACOS(cosTheta)
  869. local invSinTheta = 1 / SIN(theta)
  870. startInterp = SIN((1 - t) * theta) * invSinTheta
  871. finishInterp = SIN(t * theta) * invSinTheta
  872. else
  873. startInterp = 1 - t
  874. finishInterp = t
  875. end
  876. else
  877. if (1 + cosTheta) > 0.0001 then
  878. local theta = ACOS(-cosTheta)
  879. local invSinTheta = 1 / SIN(theta)
  880. startInterp = SIN((t - 1) * theta) * invSinTheta
  881. finishInterp = SIN(t * theta) * invSinTheta
  882. else
  883. startInterp = t - 1
  884. finishInterp = t
  885. end
  886. end
  887. 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
  888. end
  889.  
  890. function Clerp(a, b, t)
  891. local qa = {QuaternionFromCFrame(a)}
  892. local qb = {QuaternionFromCFrame(b)}
  893. local ax, ay, az = a.x, a.y, a.z
  894. local bx, by, bz = b.x, b.y, b.z
  895. local _t = 1 - t
  896. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  897. end
  898.  
  899. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  900. local frame = IT("Frame")
  901. frame.BackgroundTransparency = TRANSPARENCY
  902. frame.BorderSizePixel = BORDERSIZEPIXEL
  903. frame.Position = POSITION
  904. frame.Size = SIZE
  905. frame.BackgroundColor3 = COLOR
  906. frame.BorderColor3 = BORDERCOLOR
  907. frame.Name = NAME
  908. frame.Parent = PARENT
  909. return frame
  910. end
  911.  
  912. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  913. local label = IT("TextLabel")
  914. label.BackgroundTransparency = 1
  915. label.Size = UD2(1, 0, 1, 0)
  916. label.Position = UD2(0, 0, 0, 0)
  917. label.TextColor3 = TEXTCOLOR
  918. label.TextStrokeTransparency = STROKETRANSPARENCY
  919. label.TextTransparency = TRANSPARENCY
  920. label.FontSize = TEXTFONTSIZE
  921. label.Font = TEXTFONT
  922. label.BorderSizePixel = BORDERSIZEPIXEL
  923. label.TextStrokeColor3 = C3(1,1,1)
  924. label.TextScaled = false
  925. label.Text = TEXT
  926. label.Name = NAME
  927. label.Parent = PARENT
  928. return label
  929. end
  930.  
  931. function NoOutlines(PART)
  932. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  933. end
  934.  
  935. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  936. local NEWWELD = IT(TYPE)
  937. NEWWELD.Part0 = PART0
  938. NEWWELD.Part1 = PART1
  939. NEWWELD.C0 = C0
  940. NEWWELD.C1 = C1
  941. NEWWELD.Parent = PARENT
  942. return NEWWELD
  943. end
  944.  
  945. local S = IT("Sound")
  946. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  947. local NEWSOUND = nil
  948. coroutine.resume(coroutine.create(function()
  949. NEWSOUND = S:Clone()
  950. NEWSOUND.Parent = PARENT
  951. NEWSOUND.Volume = VOLUME
  952. NEWSOUND.Pitch = PITCH
  953. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  954. NEWSOUND:play()
  955. if DOESLOOP == true then
  956. NEWSOUND.Looped = true
  957. else
  958. repeat wait(1) until NEWSOUND.Playing == false
  959. NEWSOUND:remove()
  960. end
  961. end))
  962. return NEWSOUND
  963. end
  964.  
  965. function CFrameFromTopBack(at, top, back)
  966. local right = top:Cross(back)
  967. 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)
  968. end
  969.  
  970. --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})
  971. function WACKYEFFECT(Table)
  972. local TYPE = (Table.EffectType or "Sphere")
  973. local SIZE = (Table.Size or VT(1,1,1))
  974. local ENDSIZE = (Table.Size2 or VT(1,1,1))
  975. local TRANSPARENCY = (Table.Transparency or 0)
  976. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  977. local CFRAME = (Table.CFrame or Torso.CFrame)
  978. local MOVEDIRECTION = (Table.MoveToPos or nil)
  979. local ROTATION1 = (Table.RotationX or 0)
  980. local ROTATION2 = (Table.RotationY or 0)
  981. local ROTATION3 = (Table.RotationZ or 0)
  982. local MATERIAL = (Table.Material or "Neon")
  983. local COLOR = (Table.Color or C3(1,1,1))
  984. local TIME = (Table.Time or 45)
  985. local SOUNDID = (Table.SoundID or nil)
  986. local SOUNDPITCH = (Table.SoundPitch or nil)
  987. local SOUNDVOLUME = (Table.SoundVolume or nil)
  988. coroutine.resume(coroutine.create(function()
  989. local PLAYSSOUND = false
  990. local SOUND = nil
  991. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Magenta"), "Effect", VT(1,1,1), true)
  992. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  993. PLAYSSOUND = true
  994. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  995. end
  996. EFFECT.Color = COLOR
  997. local MSH = nil
  998. if TYPE == "Sphere" then
  999. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(1,1,1))
  1000. elseif TYPE == "Block" then
  1001. MSH = IT("BlockMesh",EFFECT)
  1002. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1003. elseif TYPE == "Wave" then
  1004. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1005. elseif TYPE == "Ring" then
  1006. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(1,1,1))
  1007. elseif TYPE == "Slash" then
  1008. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(1,1,1))
  1009. elseif TYPE == "Round Slash" then
  1010. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(1,1,1))
  1011. elseif TYPE == "Swirl" then
  1012. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(1,1,1))
  1013. elseif TYPE == "Skull" then
  1014. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(1,1,1))
  1015. elseif TYPE == "Crystal" then
  1016. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(1,1,1))
  1017. end
  1018. if MSH ~= nil then
  1019. local MOVESPEED = nil
  1020. if MOVEDIRECTION ~= nil then
  1021. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1022. end
  1023. local GROWTH = SIZE - ENDSIZE
  1024. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1025. if TYPE == "Block" then
  1026. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1027. else
  1028. EFFECT.CFrame = CFRAME
  1029. end
  1030. for LOOP = 1, TIME+1 do
  1031. Swait()
  1032. MSH.Scale = MSH.Scale - GROWTH/TIME
  1033. if TYPE == "Wave" then
  1034. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1035. end
  1036. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1037. if TYPE == "Block" then
  1038. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1039. else
  1040. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1041. end
  1042. if MOVEDIRECTION ~= nil then
  1043. local ORI = EFFECT.Orientation
  1044. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1045. EFFECT.Orientation = ORI
  1046. end
  1047. end
  1048. if PLAYSSOUND == false then
  1049. EFFECT:remove()
  1050. else
  1051. repeat Swait() until SOUND.Playing == false
  1052. EFFECT:remove()
  1053. end
  1054. else
  1055. if PLAYSSOUND == false then
  1056. EFFECT:remove()
  1057. else
  1058. repeat Swait() until SOUND.Playing == false
  1059. EFFECT:remove()
  1060. end
  1061. end
  1062. end))
  1063. end
  1064.  
  1065. function MakeForm(PART,TYPE)
  1066. if TYPE == "Cyl" then
  1067. local MSH = IT("CylinderMesh",PART)
  1068. elseif TYPE == "Ball" then
  1069. local MSH = IT("SpecialMesh",PART)
  1070. MSH.MeshType = "Sphere"
  1071. elseif TYPE == "Wedge" then
  1072. local MSH = IT("SpecialMesh",PART)
  1073. MSH.MeshType = "Wedge"
  1074. end
  1075. end
  1076.  
  1077. Debris = game:GetService("Debris")
  1078.  
  1079. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1080. local DIRECTION = CF(StartPos,EndPos).lookVector
  1081. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1082. end
  1083.  
  1084. function turnto(position)
  1085. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1086. end
  1087.  
  1088. --//=================================\\
  1089. --|| WEAPON CREATION
  1090. --\\=================================//
  1091.  
  1092. Humanoid.Parent = nil
  1093. RootPart.Size = RootPart.Size*SIZE
  1094. Torso.Size = Torso.Size*SIZE
  1095. RightArm.Size = RightArm.Size*SIZE
  1096. RightLeg.Size = RightLeg.Size*SIZE
  1097. LeftArm.Size = LeftArm.Size*SIZE
  1098. LeftLeg.Size = LeftLeg.Size*SIZE
  1099. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1100. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1101. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1102. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1103. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1104. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1105. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1106. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1107. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1108. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1109. Head.Size = Head.Size*SIZE
  1110. RootJoint.Parent = RootPart
  1111. Neck.Parent = Torso
  1112. RightShoulder.Parent = Torso
  1113. LeftShoulder.Parent = Torso
  1114. RightHip.Parent = Torso
  1115. LeftHip.Parent = Torso
  1116.  
  1117. function swait(num)
  1118. if num == 0 or num == nil then
  1119. ArtificialHB.Event:wait()
  1120. else
  1121. for i = 0, num do
  1122. ArtificialHB.Event:wait()
  1123. end
  1124. end
  1125. end
  1126.  
  1127. function chatfunc(text)
  1128. local chat = coroutine.wrap(function()
  1129. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1130. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1131. end
  1132. local Bill = Instance.new("BillboardGui",Character)
  1133. Bill.Size = UDim2.new(0,100,0,40)
  1134. Bill.StudsOffset = Vector3.new(0,4,0)
  1135. Bill.Adornee = Character.Head
  1136. Bill.Name = "TalkingBillBoard"
  1137. local Hehe = Instance.new("TextLabel",Bill)
  1138. Hehe.BackgroundTransparency = 1
  1139. Hehe.BorderSizePixel = 0
  1140. Hehe.Text = ""
  1141. Hehe.Font = "Fantasy"
  1142. Hehe.TextSize = 40
  1143. Hehe.TextStrokeTransparency = 0
  1144. Hehe.Size = UDim2.new(1,0,0.5,0)
  1145. coroutine.resume(coroutine.create(function()
  1146. while Hehe ~= nil do
  1147. swait()
  1148. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1149. Hehe.Rotation = math.random(-5,5)
  1150. Hehe.TextColor3 = Color3.new(1,1,1)
  1151. Hehe.TextStrokeColor3 = Color3.new(179,0,179)
  1152. end
  1153. end))
  1154. for i = 1,string.len(text),1 do
  1155. swait()
  1156. Hehe.Text = string.sub(text,1,i)
  1157. end
  1158. swait(90)--Re[math.random(1, 93)]
  1159. for i = 0, 1, .025 do
  1160. swait()
  1161. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1162. Hehe.TextStrokeTransparency = i
  1163. Hehe.TextTransparency = i
  1164. end
  1165. Bill:Destroy()
  1166. end)
  1167. chat()
  1168. end
  1169.  
  1170. function onChatted(msg)
  1171. chatfunc(msg)
  1172. end
  1173.  
  1174. Player.Chatted:connect(onChatted)
  1175.  
  1176. local naeeym2 = IT("BillboardGui",Character)
  1177. naeeym2.AlwaysOnTop = true
  1178. naeeym2.Size = UDim2.new(5,35,2,15)
  1179. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1180. naeeym2.MaxDistance = 75
  1181. naeeym2.Adornee = Character.Head
  1182. naeeym2.Name = "Name"
  1183. local tecks2 = IT("TextLabel",naeeym2)
  1184. tecks2.BackgroundTransparency = 1
  1185. tecks2.TextScaled = true
  1186. tecks2.BorderSizePixel = 0
  1187. tecks2.Text = "The GOD"
  1188. tecks2.Font = "Fantasy"
  1189. tecks2.TextSize = 30
  1190. tecks2.TextStrokeTransparency = 0
  1191. tecks2.TextColor3 = C3(1,1,1)
  1192. tecks2.TextStrokeColor3 = C3(196, 40, 28)
  1193. tecks2.Size = UDim2.new(1,0,0.5,0)
  1194. tecks2.Parent = naeeym2
  1195.  
  1196. for _, c in pairs(Weapon:GetChildren()) do
  1197. if c.ClassName == "Part" then
  1198. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1199. end
  1200. end
  1201.  
  1202. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "BrickColor.random().Color)", "Hat", VT(2,0.2,2),false)
  1203. MakeForm(HAT1,"Cyl")
  1204. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1205. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "BrickColor.random().Color)", "Hat", VT(2.01,0.15,2.01),false)
  1206. BELT.Color = C3(15/255,15/255,15/255)
  1207. MakeForm(BELT,"Cyl")
  1208. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(1,1,1), CF(0, 0, 0))
  1209. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "BrickColor.random().Color)", "Hat", VT(1.3,2.2,1.3),false)
  1210. MakeForm(HAT2,"Cyl")
  1211. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1212. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "BrickColor.random().Color)", "Hat", VT(1.31,0.2,1.31),false)
  1213. BELT.Color = C3(15/255,15/255,15/255)
  1214. MakeForm(BELT,"Cyl")
  1215. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(1,1,1), CF(0, 0, 0))
  1216. local GEM = CreatePart(3, Character, "Neon", 0, 0, "White", "Gem", VT(0.25,0.25,0.1),false)
  1217. MakeForm(GEM,"Ball")
  1218. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1219. local GEM = CreatePart(3, Character, "Neon", 0, 0, "White", "Gem", VT(0.25,0.25,0.1),false)
  1220. MakeForm(GEM,"Ball")
  1221. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1222. local GEM = CreatePart(3, Character, "Neon", 0, 0, "White", "Gem", VT(0.1,0.25,0.25),false)
  1223. MakeForm(GEM,"Ball")
  1224. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1225. local GEM = CreatePart(3, Character, "Neon", 0, 0, "White", "Gem", VT(0.1,0.25,0.25),false)
  1226. MakeForm(GEM,"Ball")
  1227. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1228. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  1229. BELT.Color = C3(15/255,15/255,15/255)
  1230. MakeForm(BELT,"Cyl")
  1231. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1232. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  1233. BELT.Color = C3(15/255,15/255,15/255)
  1234. MakeForm(BELT,"Cyl")
  1235. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1236. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  1237. BELT.Color = C3(15/255,15/255,15/255)
  1238. MakeForm(BELT,"Cyl")
  1239. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1240. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  1241. BELT.Color = C3(15/255,15/255,15/255)
  1242. MakeForm(BELT,"Cyl")
  1243. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1244. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.3,0.5,1.3),false)
  1245. MakeForm(BELT,"Ball")
  1246. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1247. Humanoid.DisplayDistanceType = "None"
  1248.  
  1249. Neck.Name = "Weld"
  1250. RootJoint.Name = "Weld"
  1251. RightShoulder.Name = "Weld"
  1252. LeftShoulder.Name = "Weld"
  1253. RightHip.Name = "Weld"
  1254. LeftHip.Name = "Weld"
  1255.  
  1256. local SKILLTEXTCOLOR = C3(0/102,0,0/102)
  1257. local SKILLFONT = "Fantasy"
  1258. local SKILLTEXTSIZE = 7
  1259.  
  1260. Weapon.Parent = Character
  1261. Humanoid.Parent = Character
  1262.  
  1263. local BODY = {}
  1264. for _, c in pairs(Character:GetDescendants()) do
  1265. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1266. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1267. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1268. end
  1269. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1270. elseif c:IsA("JointInstance") then
  1271. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1272. end
  1273. end
  1274. for e = 1, #BODY do
  1275. if BODY[e] ~= nil then
  1276. local STUFF = BODY[e]
  1277. local PART = STUFF[1]
  1278. local PARENT = STUFF[2]
  1279. local MATERIAL = STUFF[3]
  1280. local COLOR = STUFF[4]
  1281. local TRANSPARENCY = STUFF[5]
  1282. if PART.ClassName == "Part" and PART ~= RootPart then
  1283. PART.Material = MATERIAL
  1284. PART.Color = COLOR
  1285. PART.Transparency = TRANSPARENCY
  1286. end
  1287. PART.AncestryChanged:Connect(function()
  1288. PART.Parent = PARENT
  1289. end)
  1290. end
  1291. end
  1292.  
  1293. function refit()
  1294. Character.Parent = workspace
  1295. for e = 1, #BODY do
  1296. if BODY[e] ~= nil then
  1297. local STUFF = BODY[e]
  1298. local PART = STUFF[1]
  1299. local PARENT = STUFF[2]
  1300. local MATERIAL = STUFF[3]
  1301. local COLOR = STUFF[4]
  1302. local TRANSPARENCY = STUFF[5]
  1303. if PART.ClassName == "Part" and PART ~= RootPart then
  1304. PART.Material = MATERIAL
  1305. PART.Color = COLOR
  1306. PART.Transparency = TRANSPARENCY
  1307. end
  1308. if PART.Parent ~= PARENT then
  1309. Humanoid:remove()
  1310. PART.Parent = PARENT
  1311. Humanoid = IT("Humanoid",Character)
  1312. end
  1313. end
  1314. end
  1315. end
  1316.  
  1317. Humanoid.Died:connect(function()
  1318. refit()
  1319. end)
  1320.  
  1321. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 1 Frame")
  1322. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 2 Frame")
  1323. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 3 Frame")
  1324. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 4 Frame")
  1325. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 5 Frame")
  1326. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(1,1,1), C3(0, 0, 0), "Skill 6 Frame")
  1327.  
  1328. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Techno Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1329. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[M] Dance", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1330. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1331. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Corrupted Comet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1332. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Void Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1333. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Lock Time", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1334.  
  1335. --//=================================\\
  1336. --|| DAMAGING
  1337. --\\=================================//
  1338.  
  1339. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1340. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1341. defence.Name = ("HitBy"..Player.Name)
  1342. game:GetService("Debris"):AddItem(defence, 0.001)
  1343. Damage = Damage * DAMAGEMULTIPLIER
  1344. if Humanoid.Health ~= 0 then
  1345. local CritChance = MRANDOM(1,100)
  1346. if Damage > Humanoid.Health then
  1347. Damage = math.ceil(Humanoid.Health)
  1348. if Damage == 0 then
  1349. Damage = 0.1
  1350. end
  1351. end
  1352. Humanoid.Health = Humanoid.Health - Damage
  1353. end
  1354. end
  1355.  
  1356. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1357. local CHILDREN = workspace:GetDescendants()
  1358. for index, CHILD in pairs(CHILDREN) do
  1359. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1360. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1361. if HUM then
  1362. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1363. if TORSO then
  1364. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1365. if INSTAKILL == false then
  1366. CHILD:BreakJoints()
  1367. else
  1368. local DMG = MRANDOM(75,95)
  1369. ApplyDamage(HUM,DMG,TORSO)
  1370. end
  1371. if FLING > 0 then
  1372. for _, c in pairs(CHILD:GetChildren()) do
  1373. if c:IsA("BasePart") then
  1374. local bv = Instance.new("BodyVelocity")
  1375. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1376. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1377. bv.Parent = c
  1378. Debris:AddItem(bv,0.05)
  1379. end
  1380. end
  1381. end
  1382. end
  1383. end
  1384. end
  1385. end
  1386. end
  1387. end
  1388.  
  1389. --//=================================\\
  1390. --|| ATTACK FUNCTIONS AND STUFF
  1391. --\\=================================//
  1392.  
  1393. local HATWELD = nil
  1394. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1395. PLAYMAINANIM = false
  1396. if WhichPose == "Cast1" then
  1397. for i=0, Time, 0.1 / Animation_Speed do
  1398. Swait()
  1399. if Magic == true then
  1400. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1401. end
  1402. if Gyro ~= nil and Gyro ~= false then
  1403. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1404. end
  1405. 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)
  1406. 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)
  1407. 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)
  1408. 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)
  1409. 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)
  1410. 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)
  1411. end
  1412. elseif WhichPose == "Cast2" then
  1413. for i=0, Time, 0.1 / Animation_Speed do
  1414. Swait()
  1415. if Magic == true then
  1416. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1417. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1418. end
  1419. if Gyro ~= nil and Gyro ~= false then
  1420. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1421. end
  1422. 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)
  1423. 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)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. 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)
  1428. end
  1429. elseif WhichPose == "RightArmUp" then
  1430. for i=0, Time, 0.1 / Animation_Speed do
  1431. Swait()
  1432. if Magic == true then
  1433. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1434. end
  1435. if Gyro ~= nil and Gyro ~= false then
  1436. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1437. end
  1438. 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)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. 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)
  1443. 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)
  1444. end
  1445. elseif WhichPose == "Taunt" then
  1446. for i=0, Time, 0.1 / Animation_Speed do
  1447. Swait()
  1448. 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)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. 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)
  1453. 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)
  1454. end
  1455. HATWELD.Part0 = RightArm
  1456. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1457. CreateSound(221057812,Torso,10,1,false)
  1458. for i=0, Time*2, 0.1 / Animation_Speed do
  1459. Swait()
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. 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)
  1465. 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)
  1466. end
  1467. for i=0, Time, 0.1 / Animation_Speed do
  1468. Swait()
  1469. 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)
  1470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1472. 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)
  1473. 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)
  1474. 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)
  1475. 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)
  1476. end
  1477. HATWELD.Part0 = Head
  1478. HATWELD.C0 = CF(0,0.35,0)
  1479. elseif WhichPose == "Prepare key" then
  1480. for i=0, Time, 0.1 / Animation_Speed do
  1481. Swait()
  1482. if Gyro ~= nil and Gyro ~= false then
  1483. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1484. end
  1485. 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)
  1486. 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)
  1487. 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)
  1488. 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)
  1489. 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)
  1490. 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)
  1491. end
  1492. elseif WhichPose == "Turn key" then
  1493. for i=0, Time, 0.1 / Animation_Speed do
  1494. Swait()
  1495. if Gyro ~= nil and Gyro ~= false then
  1496. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1497. end
  1498. 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)
  1499. 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)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. end
  1505. end
  1506. PLAYMAINANIM = true
  1507. end
  1508.  
  1509.  
  1510.  
  1511.  
  1512. function PrisonKeyV2()
  1513. if Mouse.Target ~= nil then
  1514. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1515. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1516. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1517. local GYRO = IT("BodyGyro",RootPart)
  1518. GYRO.D = 750
  1519. GYRO.P = 20000
  1520. GYRO.MaxTorque = VT(0,40000000,0)
  1521. local grav = Instance.new("BodyPosition",TORSO)
  1522. grav.D = 15
  1523. grav.P = 20000
  1524. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1525. grav.position = TORSO.Position
  1526. local GYRO2 = IT("BodyGyro",TORSO)
  1527. GYRO2.D = 750
  1528. GYRO2.P = 20000
  1529. GYRO2.MaxTorque = VT(0,40000000,0)
  1530. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1531. grav.Name = "Jail"
  1532. local LOCKPARTS = {}
  1533. ATTACK = true
  1534. Rooted = false
  1535. local LOCK = IT("Model",Effects)
  1536. LOCK.Name = "Lock"
  1537. local LOCK2 = IT("Model",LOCK)
  1538. LOCK2.Name = "Metal"
  1539. --CREATE LOCK--
  1540. local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Tr. Red", "Keylock", VT(3, 2.5, 1))
  1541. LOCK.PrimaryPart = BASE
  1542. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1543. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Tr. Red", "Keylock", VT(3, 1, 3))
  1544. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1545. MakeForm(PRT,"Cyl")
  1546. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Tr. Red", "Hole", VT(1, 1, 1))
  1547. PRT.Color = C3(1,1,1)
  1548. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1549. MakeForm(PRT,"Cyl")
  1550. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Tr. Red", "Hole", VT(0.5, 1, 1))
  1551. PRT.Color = C3(1,1,1)
  1552. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1553. for i = 1, 45 do
  1554. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Tr. Red", "Keylock", VT(0.5, 0.5, 0.5))
  1555. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1556. end
  1557. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Tr. Red", "Keylock", VT(0.5, 0.5, 0.5))
  1558. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1559. LOCK2.PrimaryPart = PRT
  1560. ---------------
  1561. local CHILDREN = LOCK:GetDescendants()
  1562. for index, CHILD in pairs(CHILDREN) do
  1563. if CHILD:IsA("BasePart") then
  1564. CHILD.Transparency = 1
  1565. end
  1566. end
  1567. for i = 1, 75 do
  1568. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1569. Swait()
  1570. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1571. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1572. local CHILDREN = LOCK:GetDescendants()
  1573. for index, CHILD in pairs(CHILDREN) do
  1574. if CHILD:IsA("BasePart") then
  1575. CHILD.Transparency = CHILD.Transparency - 1/75
  1576. end
  1577. end
  1578. end
  1579. HUM.DisplayDistanceType = "None"
  1580. local KEY = IT("Model",Effects)
  1581. KEY.Name = "Key"
  1582. --CREATE KEY--
  1583. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Tr. Red", "KeyBase", VT(0.1, 1, 0.1),false)
  1584. KEY.PrimaryPart = KBASE
  1585. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1586. local WLD = weldBetween(RightArm,KBASE)
  1587. for i = 1, 45 do
  1588. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Tr. Red", "Key", VT(0.1, 0.1, 0.1),false)
  1589. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1590. weldBetween(KBASE,PRT)
  1591. end
  1592. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Tr. Red", "Key", VT(0.3, 0.1, 0.1),false)
  1593. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1594. weldBetween(KBASE,PRT)
  1595. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Tr. Red", "Key", VT(0.3, 0.1, 0.1),false)
  1596. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1597. weldBetween(KBASE,PRT)
  1598. --------------
  1599. Rooted = true
  1600. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1601. coroutine.resume(coroutine.create(function()
  1602. for i = 1, 10 do
  1603. Swait()
  1604. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1605. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1606. end
  1607. CreateSound(1149318312,BASE,5,1,false)
  1608. CreateSound(160772554,BASE,3,1,false)
  1609. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1610. for i = 1, 4 do
  1611. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1612. end
  1613. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(1,1,1), 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"Magenta".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1614. wait(1)
  1615. TORSO.Parent.Parent = LOCK
  1616. for i = 1, 75 do
  1617. Swait()
  1618. local CHILDREN = KEY:GetDescendants()
  1619. for index, CHILD in pairs(CHILDREN) do
  1620. if CHILD:IsA("BasePart") then
  1621. CHILD.Transparency = i/25
  1622. end
  1623. end
  1624. local CHILDREN = LOCK:GetDescendants()
  1625. for index, CHILD in pairs(CHILDREN) do
  1626. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1627. CHILD.Transparency = CHILD.Transparency + 1/75
  1628. elseif CHILD.ClassName == "Decal" then
  1629. CHILD.Transparency = CHILD.Transparency + 1/75
  1630. end
  1631. end
  1632. end
  1633. TORSO.Parent:ClearAllChildren()
  1634. KEY:remove()
  1635. LOCK:remove()
  1636. end))
  1637. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1638. GYRO:remove()
  1639. ATTACK = false
  1640. Rooted = false
  1641. end
  1642. end
  1643. end
  1644.  
  1645. function Prison_Key()
  1646. if Mouse.Target ~= nil then
  1647. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1648. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1649. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1650. local GYRO = IT("BodyGyro",RootPart)
  1651. GYRO.D = 750
  1652. GYRO.P = 20000
  1653. GYRO.MaxTorque = VT(0,40000000,0)
  1654. local grav = Instance.new("BodyPosition",TORSO)
  1655. grav.D = 15
  1656. grav.P = 20000
  1657. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1658. grav.position = TORSO.Position
  1659. local GYRO2 = IT("BodyGyro",TORSO)
  1660. GYRO2.D = 750
  1661. GYRO2.P = 20000
  1662. GYRO2.MaxTorque = VT(0,40000000,0)
  1663. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1664. grav.Name = "Jail"
  1665. local LOCKPARTS = {}
  1666. ATTACK = true
  1667. Rooted = false
  1668. local LOCK = IT("Model",Effects)
  1669. LOCK.Name = "Lock"
  1670. local LOCK2 = IT("Model",LOCK)
  1671. LOCK2.Name = "Metal"
  1672. --CREATE LOCK--
  1673. local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  1674. LOCK.PrimaryPart = BASE
  1675. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1676. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  1677. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1678. MakeForm(PRT,"Cyl")
  1679. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(1, 1, 1))
  1680. PRT.Color = C3(1,1,1)
  1681. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1682. MakeForm(PRT,"Cyl")
  1683. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  1684. PRT.Color = C3(1,1,1)
  1685. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1686. for i = 1, 45 do
  1687. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  1688. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1689. end
  1690. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  1691. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1692. LOCK2.PrimaryPart = PRT
  1693. ---------------
  1694. local CHILDREN = LOCK:GetDescendants()
  1695. for index, CHILD in pairs(CHILDREN) do
  1696. if CHILD:IsA("BasePart") then
  1697. CHILD.Transparency = 1
  1698. end
  1699. end
  1700. for i = 1, 75 do
  1701. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1702. Swait()
  1703. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1704. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1705. local CHILDREN = LOCK:GetDescendants()
  1706. for index, CHILD in pairs(CHILDREN) do
  1707. if CHILD:IsA("BasePart") then
  1708. CHILD.Transparency = CHILD.Transparency - 1/75
  1709. end
  1710. end
  1711. end
  1712. HUM.DisplayDistanceType = "None"
  1713. local KEY = IT("Model",Effects)
  1714. KEY.Name = "Key"
  1715. --CREATE KEY--
  1716. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Magenta", "KeyBase", VT(0.1, 1, 0.1),false)
  1717. KEY.PrimaryPart = KBASE
  1718. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1719. local WLD = weldBetween(RightArm,KBASE)
  1720. for i = 1, 45 do
  1721. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Magenta", "Key", VT(0.1, 0.1, 0.1),false)
  1722. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1723. weldBetween(KBASE,PRT)
  1724. end
  1725. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Magenta", "Key", VT(0.3, 0.1, 0.1),false)
  1726. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1727. weldBetween(KBASE,PRT)
  1728. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Magenta", "Key", VT(0.3, 0.1, 0.1),false)
  1729. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1730. weldBetween(KBASE,PRT)
  1731. --------------
  1732. Rooted = true
  1733. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1734. coroutine.resume(coroutine.create(function()
  1735. for i = 1, 10 do
  1736. Swait()
  1737. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1738. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1739. end
  1740. CreateSound(1149318312,BASE,5,1,false)
  1741. CreateSound(160772554,BASE,3,1,false)
  1742. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1743. for i = 1, 4 do
  1744. 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"Magenta".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1745. end
  1746. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(1,1,1), 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"Magenta".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1747. wait(1)
  1748. TORSO.Parent.Parent = LOCK
  1749. for i = 1, 75 do
  1750. Swait()
  1751. local CHILDREN = KEY:GetDescendants()
  1752. for index, CHILD in pairs(CHILDREN) do
  1753. if CHILD:IsA("BasePart") then
  1754. CHILD.Transparency = i/25
  1755. end
  1756. end
  1757. local CHILDREN = LOCK:GetDescendants()
  1758. for index, CHILD in pairs(CHILDREN) do
  1759. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1760. CHILD.Transparency = CHILD.Transparency + 1/75
  1761. elseif CHILD.ClassName == "Decal" then
  1762. CHILD.Transparency = CHILD.Transparency + 1/75
  1763. end
  1764. end
  1765. end
  1766. TORSO.Parent:ClearAllChildren()
  1767. KEY:remove()
  1768. LOCK:remove()
  1769. end))
  1770. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1771. GYRO:remove()
  1772. ATTACK = false
  1773. Rooted = false
  1774. end
  1775. end
  1776. end
  1777.  
  1778.  
  1779. function ChainPunch()
  1780. ATTACK = true
  1781. Rooted = false
  1782. local GYRO = IT("BodyGyro",RootPart)
  1783. GYRO.D = 25
  1784. GYRO.P = 2000
  1785. GYRO.MaxTorque = VT(0,40000,0)
  1786. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1787. repeat
  1788. Swait()
  1789. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1790. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1794. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1795. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796. until HOLD == true
  1797. local POS = Mouse.Hit.p
  1798. local CHAINS = false
  1799. local CHAINLINKS = {}
  1800. local A = IT("Attachment",RightArm)
  1801. A.Position = VT(1,-1,0)*SIZE
  1802. A.Orientation = VT(-90, -89.982, 0)
  1803. local B = IT("Attachment",RightArm)
  1804. B.Position = VT(-1,-1,0)*SIZE
  1805. B.Orientation = VT(-90, 89.988, 0)
  1806. local C = IT("Attachment",RightArm)
  1807. C.Position = VT(0.5,-1.3,0)*SIZE
  1808. C.Orientation = VT(-90, -89.982, 0)
  1809. local D = IT("Attachment",RightArm)
  1810. D.Position = VT(-0.5,-1.3,0)*SIZE
  1811. D.Orientation = VT(-90, 89.988, 0)
  1812. local LIGHT = IT("Attachment",RightArm)
  1813. LIGHT.Position = VT(0,-1,0)*SIZE
  1814. local LIGHT2 = IT("PointLight",LIGHT)
  1815. LIGHT2.Range = 7
  1816. LIGHT2.Brightness = 5
  1817. LIGHT2.Color = SKILLTEXTCOLOR
  1818. for i = 1, 2 do
  1819. local TWIST = -2
  1820. local START = A
  1821. local END = B
  1822. if i == 1 then
  1823. START = B
  1824. END = A
  1825. end
  1826. local ChainLink = IT("Beam",Torso)
  1827. ChainLink.Texture = "rbxassetid://73042633"
  1828. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1829. ChainLink.TextureSpeed = 1
  1830. ChainLink.Width0 = 1
  1831. ChainLink.Width1 = 1
  1832. ChainLink.TextureLength = 2.5
  1833. ChainLink.Attachment0 = START
  1834. ChainLink.Attachment1 = END
  1835. ChainLink.CurveSize0 = TWIST
  1836. ChainLink.CurveSize1 = TWIST
  1837. --ChainLink.FaceCamera = true
  1838. ChainLink.Segments = 45
  1839. ChainLink.Transparency = NumberSequence.new(1)
  1840. table.insert(CHAINLINKS,ChainLink)
  1841. end
  1842. for i = 1, 2 do
  1843. local TWIST = -1
  1844. local START = C
  1845. local END = D
  1846. if i == 1 then
  1847. START = D
  1848. END = C
  1849. end
  1850. local ChainLink = IT("Beam",Torso)
  1851. ChainLink.Texture = "rbxassetid://73042633"
  1852. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1853. ChainLink.TextureSpeed = 1
  1854. ChainLink.Width0 = 1
  1855. ChainLink.Width1 = 1
  1856. ChainLink.TextureLength = 5
  1857. ChainLink.Attachment0 = START
  1858. ChainLink.Attachment1 = END
  1859. ChainLink.CurveSize0 = TWIST
  1860. ChainLink.CurveSize1 = TWIST
  1861. --ChainLink.FaceCamera = true
  1862. ChainLink.Segments = 25
  1863. ChainLink.LightEmission = 0.5
  1864. ChainLink.Transparency = NumberSequence.new(1)
  1865. table.insert(CHAINLINKS,ChainLink)
  1866. end
  1867. coroutine.resume(coroutine.create(function()
  1868. repeat
  1869. Swait()
  1870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1874. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1876. until CHAINS == true
  1877. repeat
  1878. Swait()
  1879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1883. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1885. until ATTACK == false
  1886. for e = 1, 15 do
  1887. Swait()
  1888. for i = 1, #CHAINLINKS do
  1889. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1890. end
  1891. end
  1892. A:remove()
  1893. B:remove()
  1894. C:remove()
  1895. D:remove()
  1896. end))
  1897. CreateSound(233856115, RightArm, 5, 1.2, false)
  1898. for e = 1, 15 do
  1899. Swait()
  1900. for i = 1, #CHAINLINKS do
  1901. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1902. end
  1903. end
  1904. CHAINS = true
  1905. Rooted = false
  1906. wait(0.25)
  1907. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Magenta", "Part", VT(2,2,2))
  1908. FIST.Color = C3(1, 215/255, 1)
  1909. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1910. local LIGHT3 = IT("PointLight",FIST)
  1911. LIGHT3.Range = 7
  1912. LIGHT3.Brightness = 5
  1913. LIGHT3.Color = SKILLTEXTCOLOR
  1914. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(1,1,1))
  1915. local FISTA = IT("Attachment",FIST)
  1916. FISTA.Position = VT(0.062, 0.977, 0)
  1917. local ChainLink = IT("Beam",Torso)
  1918. ChainLink.Texture = "rbxassetid://73042633"
  1919. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1920. ChainLink.TextureSpeed = 0
  1921. ChainLink.Width0 = 3
  1922. ChainLink.Width1 = 3
  1923. ChainLink.TextureLength = 12
  1924. ChainLink.Attachment0 = LIGHT
  1925. ChainLink.Attachment1 = FISTA
  1926. ChainLink.FaceCamera = true
  1927. ChainLink.Segments = 45
  1928. ChainLink.LightEmission = 0.5
  1929. ChainLink.Transparency = NumberSequence.new(0.25)
  1930. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1931. for i = 1, 85 do
  1932. Swait()
  1933. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1934. ChainLink.TextureLength = 12+(i*2)
  1935. ApplyAoE(FIST.Position,10,15,25,100,false)
  1936. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1937. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1938. if HITFLOOR ~= nil then
  1939. HITFLOOR:BreakJoints()
  1940. coroutine.resume(coroutine.create(function()
  1941. for i = 1, 15 do
  1942. Swait()
  1943. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1944. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1945. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1946. end
  1947. end))
  1948. break
  1949. end
  1950. end
  1951. coroutine.resume(coroutine.create(function()
  1952. for i = 1, 50 do
  1953. Swait()
  1954. FIST.Transparency = FIST.Transparency + 0.5/50
  1955. LIGHT3.Range = LIGHT3.Range - 7/50
  1956. end
  1957. FIST:remove()
  1958. end))
  1959. LIGHT:remove()
  1960. GYRO:remove()
  1961. ATTACK = false
  1962. Rooted = false
  1963. end
  1964.  
  1965. function WarpMeteor()
  1966. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1967. if DIST > 9999 then
  1968. DIST = 9999
  1969. end
  1970. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1971. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1972. if HITFLOOR then
  1973. local POS = HITPOS
  1974. ATTACK = true
  1975. Rooted = false
  1976. local WARPED = false
  1977. local SMASHED = false
  1978. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1979. coroutine.resume(coroutine.create(function()
  1980. repeat
  1981. Swait()
  1982. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1985. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1986. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1987. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1988. until WARPED == true
  1989. repeat
  1990. Swait()
  1991. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1995. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1997. until SMASHED == true
  1998. repeat
  1999. Swait()
  2000. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  2002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2004. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2006. until ATTACK == false
  2007. end))
  2008. VALUE1 = true
  2009. CreateSound(233856115, Torso, 5, 1.6, false)
  2010. for i = 1, 25 do
  2011. Swait()
  2012. for _, c in pairs(Character:GetChildren()) do
  2013. if c.ClassName == "Part" then
  2014. c.Transparency = c.Transparency + 1/25
  2015. end
  2016. end
  2017. for _, c in pairs(Weapon:GetChildren()) do
  2018. if c.ClassName == "Part" then
  2019. c.Transparency = c.Transparency + 1/25
  2020. end
  2021. end
  2022. end
  2023. UNANCHOR = false
  2024. RootPart.Anchored = true
  2025. RootPart.Velocity = VT(0,0,0)
  2026. local ROOTPOS = RootPart.Position
  2027. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2028. WARPED = true
  2029. for i = 1, 25 do
  2030. Swait()
  2031. for _, c in pairs(Character:GetChildren()) do
  2032. if c.ClassName == "Part" then
  2033. c.Transparency = c.Transparency - 1/25
  2034. end
  2035. end
  2036. for _, c in pairs(Weapon:GetChildren()) do
  2037. if c.ClassName == "Part" then
  2038. c.Transparency = c.Transparency - 1/25
  2039. end
  2040. end
  2041. end
  2042. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Part", VT(0,0,0))
  2043. SHELL.CFrame = RootPart.CFrame
  2044. MakeForm(SHELL,"Ball")
  2045. CreateSound(402981977, SHELL, 5, 1.6, false)
  2046. for i = 1, 10 do
  2047. Swait()
  2048. SHELL.Transparency = SHELL.Transparency - 1/10
  2049. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2050. end
  2051. for i = 1, math.ceil(75/2) do
  2052. Swait()
  2053. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2054. SHELL.CFrame = CF(RootPart.Position)
  2055. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2056. end
  2057. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2058. SHELL.CFrame = CF(RootPart.Position)
  2059. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2060. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2061. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2062. for i = 1, 5 do
  2063. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2064. end
  2065. SHELL:remove()
  2066. ApplyAoE(RootPart.Position,75,35,75,175,false)
  2067. SMASHED = true
  2068. wait(1)
  2069. VALUE1 = false
  2070. UNANCHOR = true
  2071. ATTACK = false
  2072. Rooted = false
  2073. end
  2074. end
  2075.  
  2076. function Taunt()
  2077. ATTACK = true
  2078. local LAUGH = nil
  2079. coroutine.resume(coroutine.create(function()
  2080. repeat
  2081. Swait()
  2082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2086. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2088. until LAUGH ~= nil
  2089. repeat
  2090. Swait()
  2091. LAUGH.Parent = Head
  2092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2096. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2098. until LAUGH.Playing == false
  2099. ATTACK = false
  2100. end))
  2101. wait(0.1)
  2102. sick:Pause()
  2103. LAUGH = CreateSound(265201042, Head, 10, 1, false)
  2104. wait(1.5)
  2105. sick:Resume()
  2106. end
  2107.  
  2108. function VoidWarp()
  2109. ATTACK = true
  2110. Rooted = false
  2111. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  2112. CreateSound("1208650519", Torso, 10, 2.5)
  2113. local GUI,GUI2 = CreateGUICircle(Torso)
  2114. for i = 1, 50 do
  2115. Swait()
  2116. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  2117. GUI2.Rotation = GUI2.Rotation + i/10
  2118. end
  2119. CastWarpOutlines(Character)
  2120. local POS = Torso.Position
  2121. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  2122. Swait()
  2123. CreateSound("1177785010", Torso, 10, 1)
  2124. coroutine.resume(coroutine.create(function()
  2125. for i = 1, 50 do
  2126. Swait()
  2127. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  2128. GUI2.Rotation = GUI2.Rotation - i/10
  2129. end
  2130. end))
  2131. ATTACK = false
  2132. Rooted = false
  2133. end
  2134.  
  2135. function HuntersMark()
  2136. Speed = 5
  2137. local MEME = CreateSound(160442087, Effects, 2, 1, false)
  2138. MEME.Volume = 3
  2139. MEME.Looped = true
  2140. ATTACK = true
  2141. Rooted = false
  2142. local DANCE = true
  2143. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2144. if NEWKEY == "l" then
  2145. DANCE = false
  2146. end
  2147. end)
  2148. PLAYSONG = false
  2149. while true do
  2150. for i = 1, 15 do
  2151. Swait()
  2152. MEME.Parent = Effects
  2153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2159. end
  2160. if DANCE == false then
  2161. break
  2162. end
  2163. for i = 1, 15 do
  2164. Swait()
  2165. MEME.Parent = Effects
  2166. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2167. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2168. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2169. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2170. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2172. end
  2173. end
  2174. PLAYSONG = true
  2175. PLAYSONG = false
  2176. KEY:Disconnect()
  2177. MEME:remove()
  2178. Speed = 25
  2179. ATTACK = false
  2180. Rooted = false
  2181. end
  2182.  
  2183. function Shield()
  2184. print("oof.")
  2185. end
  2186.  
  2187. function Insanity()
  2188. insane = true
  2189. PLAYSONG = false
  2190. Animation_Speed = 1.5
  2191. chatfunc("I will Changed to darkness")
  2192. wait(5.1)
  2193. chatfunc("Muahahahahaa!!")
  2194. wait(1)
  2195. tecks2.Text = "Darkness"
  2196. tecks2.TextStrokeColor3 = C3(0, 0, 0)
  2197. Animation_Speed = 2.5
  2198. sick:Remove()
  2199. HAT1:Remove()
  2200. BELT:Remove()
  2201. HAT2:Remove()
  2202. GEM:Remove()
  2203. GEM:Remove()
  2204. GEM:Remove()
  2205. GEM:Remove()
  2206. BELT:Remove()
  2207. BELT:Remove()
  2208. BELT:Remove()
  2209. BELT:Remove()
  2210. BELT:Remove()
  2211. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(2,0.2,2),false)
  2212. MakeForm(HAT1,"Cyl")
  2213. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2214. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(2.01,0.15,2.01),false)
  2215. BELT.Color = C3(15/255,15/255,15/255)
  2216. MakeForm(BELT,"Cyl")
  2217. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2218. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(1.3,2.2,1.3),false)
  2219. MakeForm(HAT2,"Cyl")
  2220. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2221. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(1.31,0.2,1.31),false)
  2222. BELT.Color = C3(15/255,15/255,15/255)
  2223. MakeForm(BELT,"Cyl")
  2224. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2225. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.25,0.25,0.1),false)
  2226. MakeForm(GEM,"Ball")
  2227. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2228. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.25,0.25,0.1),false)
  2229. MakeForm(GEM,"Ball")
  2230. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2231. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
  2232. MakeForm(GEM,"Ball")
  2233. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2234. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
  2235. MakeForm(GEM,"Ball")
  2236. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2237. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2238. BELT.Color = C3(15/255,15/255,15/255)
  2239. MakeForm(BELT,"Cyl")
  2240. local SONG = 156879167
  2241. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2242. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2243. BELT.Color = C3(15/255,15/255,15/255)
  2244. MakeForm(BELT,"Cyl")
  2245. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2246. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2247. BELT.Color = C3(15/255,15/255,15/255)
  2248. MakeForm(BELT,"Cyl")
  2249. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2250. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2251. BELT.Color = C3(15/255,15/255,15/255)
  2252. MakeForm(BELT,"Cyl")
  2253. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2254. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  2255. MakeForm(BELT,"Ball")
  2256. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2257. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2258. MakeForm(RightHole,"Cyl")
  2259. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2260. Humanoid.DisplayDistanceType = "None"
  2261. SKILL1FRAME:Remove()
  2262. SKILL2FRAME:Remove()
  2263. SKILL3FRAME:Remove()
  2264. SKILL4FRAME:Remove()
  2265. SKILL5FRAME:Remove()
  2266. SKILL6FRAME:Remove()
  2267. tecks2.TextStrokeColor3 = C3(205, 84, 75)
  2268. wait(1)
  2269. tecks2.Text = "Darkness"
  2270. tecks2.TextStrokeColor3 = C3(0,0,0)
  2271. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2272. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2273. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 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")
  2274. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 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")
  2275. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2276. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  2277.  
  2278. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  2279. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Void Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  2280. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Lock Time", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  2281. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Build Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  2282. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Knife Throw", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  2283. PLAYSONG = true
  2284. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Techno Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  2285. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2286. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2287. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2288. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2289. MakeForm(PRT,"Cyl")
  2290. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Tr. Red", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2291. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2292. MakeForm(PRT,"Cyl")
  2293. PRT.Color = C3(159/255, 111/255, 183/255)
  2294. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2295. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2296. MakeForm(RING,"Cyl")
  2297. RING.Color = C3(0,0,0)
  2298. for i = 1, 12 do
  2299. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(0,0.15,0)*SIZE,false)
  2300. PRT.Color = C3(0,0,0)
  2301. local MSH = IT("BlockMesh",PRT)
  2302. MSH.Scale = VT(0.6,1,1)
  2303. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  2304. end
  2305. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2306. PRT.Color = C3(0,0,0)
  2307. local MSH = IT("BlockMesh",PRT)
  2308. MSH.Scale = VT(0.4,1,1)
  2309. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  2310. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Tr. Red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2311. PRT.Color = C3(0,0,0)
  2312. local MSH = IT("BlockMesh",PRT)
  2313. MSH.Scale = VT(0.4,1,1)
  2314. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  2315. coroutine.resume(coroutine.create(function()
  2316. while true do
  2317. Swait()
  2318. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2319. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2320. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2321. if CLOCKLOOP <= -150 then
  2322. if VALUE1 == false then
  2323. CLOCKLOOP = 0
  2324. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 1, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(205, 84, 75), SoundID = 0, SoundPitch = 1.2, SoundVolume = 0})
  2325. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2326. ApplyAoE(HITPOS,10,15,45,75,false)
  2327. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(205, 84, 75), SoundID = nil, SoundPitch = 0.5, SoundVolume = 0})
  2328. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(205, 84, 75), SoundID = nil, SoundPitch = 0.5, SoundVolume = 0})
  2329. if CLOCKTARGET ~= nil then
  2330. CLOCKTARGET.Health = CLOCKTARGET.Health - math.huge
  2331. if CLOCKTARGET.Torso ~= nil then
  2332. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2333. end
  2334. if CLOCKTARGET.Health == 0 then
  2335. CLOCKTARGET = nil
  2336. end
  2337. end
  2338. end
  2339. end
  2340. end
  2341. end))
  2342. local CLOCKSPEED = 150
  2343. end
  2344. function ResetAnimations()
  2345. ATTACK = true
  2346. local LAUGH = nil
  2347. coroutine.resume(coroutine.create(function()
  2348. repeat
  2349. Swait()
  2350. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2351. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2352. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2353. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2354. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2355. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2356. until LAUGH ~= nil
  2357. repeat
  2358. Swait()
  2359. LAUGH.Parent = Head
  2360. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2364. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2365. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2366. until LAUGH.Playing == true
  2367. ATTACK = false
  2368. end))
  2369. wait(0.1)
  2370. sick:Pause()
  2371. LAUGH = CreateSound(0, Head, 10, 1, false)
  2372. wait(1.5)
  2373. sick:Resume()
  2374. end
  2375. function Star()
  2376. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  2377. if HITFLOOR ~= nil then
  2378. if HITFLOOR.Anchored == true then
  2379. local WALL = HITFLOOR:Clone()
  2380. WALL.Size = VT(45,45,5)
  2381. WALL.Parent = Effects
  2382. WALL.Name = "Wall"
  2383. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  2384. CreateSound(130972023,WALL,5,0.8,false)
  2385. ATTACK = true
  2386. Rooted = true
  2387. local HIT = WALL.Touched:Connect(function(hit)
  2388. if hit.Parent ~= Character then
  2389. hit:BreakJoints()
  2390. end
  2391. end)
  2392. coroutine.resume(coroutine.create(function()
  2393. 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"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2394. for i = 1, 90 do
  2395. Swait()
  2396. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  2397. end
  2398. HIT:disconnect()
  2399. wait(666)
  2400. for i = 1, 46 do
  2401. Swait()
  2402. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  2403. end
  2404. WALL:remove()
  2405. end))
  2406. ATTACK = false
  2407. Rooted = false
  2408. end
  2409. end
  2410. end
  2411. function Ring55()
  2412. ATTACK = true
  2413. Rooted = false
  2414. local GYRO = IT("BodyGyro",RootPart)
  2415. GYRO.D = 100
  2416. GYRO.P = 2000
  2417. GYRO.MaxTorque = VT(0,4000000,0)
  2418. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2419. CreateSound("93724183", RightArm, 5, 1, false)
  2420. for i=1, 35 do
  2421. Swait()
  2422. 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})
  2423. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2424. 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)
  2425. 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)
  2426. 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)
  2427. 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)
  2428. 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)
  2429. 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)
  2430. end
  2431. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  2432. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  2433. local TOCH = BEAM.Touched:Connect(function(hit)
  2434. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  2435. Shatter(hit)
  2436. end
  2437. end)
  2438. local I = 0
  2439. repeat
  2440. Swait()
  2441. I = I + 1
  2442. if I <= 10 then
  2443. BEAM.Transparency = BEAM.Transparency - 0.1
  2444. end
  2445. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  2446. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  2447. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  2448. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  2449. BEAM.Size = VT(2,2,DISTANCE)
  2450. 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})
  2451. 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})
  2452. 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})
  2453. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2454. 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)
  2455. 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)
  2456. 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)
  2457. 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)
  2458. 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)
  2459. 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)
  2460. if ENDHIT ~= nil then
  2461. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  2462. Shatter(ENDHIT)
  2463. end
  2464. end
  2465. until LOOP.Playing == false
  2466. GYRO:remove()
  2467. BEAM:remove()
  2468. ATTACK = false
  2469. Rooted = false
  2470. end
  2471. function MemesAreDank()
  2472. Rooted = false
  2473. local GYRO = IT("BodyGyro",RootPart)
  2474. GYRO.D = 100
  2475. GYRO.P = 2000
  2476. GYRO.MaxTorque = VT(0,40000000,0)
  2477. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2478. local Darkheart = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Darkheart", VT(1,1,1),false)
  2479. local SwordWeld = CreateWeldOrSnapOrMotor("Weld", Darkheart, RightArm, Darkheart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, -1.8))
  2480. local MSH = IT("SpecialMesh",Darkheart)
  2481. MSH.MeshId = "rbxasset://fonts/sword.mesh"
  2482. Darkheart.Color = C3(0,0,0)
  2483. repeat
  2484. Swait()
  2485. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2486. 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(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2490. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * 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)
  2491. 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)
  2492. until HOLD == true
  2493. Rooted = true
  2494. CreateSound("1112042117", RightArm, 5, 1.2, false)
  2495. SwordWeld:remove()
  2496. coroutine.resume(coroutine.create(function()
  2497. local DISTANCE = (RootPart.Position - Mouse.Hit.p).Magnitude
  2498. local NoHit,HitPos,NORMAL = Raycast(RootPart.Position, RootPart.CFrame.lookVector, DISTANCE, workspace)
  2499. local ThrowHit,HitPos2,NORMAL2 = Raycast(RootPart.Position, CF(RootPart.Position,VT(HitPos.X,Mouse.Hit.p.Y,HitPos.Z)).lookVector, 1000, Character)
  2500. if ThrowHit then
  2501. Darkheart.CFrame = CF(HitPos2,RootPart.Position)*ANGLES(RAD(0),RAD(0),RAD(180))
  2502. weldBetween(ThrowHit,Darkheart)
  2503. if ThrowHit.Parent:FindFirstChildOfClass("Humanoid") then
  2504. CreateSound("1306077413", ThrowHit, 5, 1, false)
  2505. local HUM = ThrowHit.Parent:FindFirstChildOfClass("Humanoid")
  2506. if ThrowHit.Name ~= "Head" and ThrowHit.Name ~= "Torso" and ThrowHit.Name ~= "UpperTorso" then
  2507. for i = 1, 15 do
  2508. ApplyDamage(HUM,1,2,2)
  2509. wait()
  2510. end
  2511. elseif ThrowHit.Name == "Head" then
  2512. for i = 1, 15 do
  2513. ApplyDamage(HUM,3,2,2)
  2514. wait()
  2515. end
  2516. elseif ThrowHit.Name == "Torso" or ThrowHit.Name == "UpperTorso" then
  2517. for i = 1, 15 do
  2518. ApplyDamage(HUM,2,2,2)
  2519. wait()
  2520. end
  2521. end
  2522. wait(2)
  2523. for i = 1, 10 do
  2524. Swait()
  2525. Darkheart.Transparency = i/10
  2526. end
  2527. Darkheart:remove()
  2528. else
  2529. wait(2)
  2530. for i = 1, 10 do
  2531. Swait()
  2532. Darkheart.Transparency = i/10
  2533. end
  2534. Darkheart:remove()
  2535. end
  2536. else
  2537. Darkheart:remove()
  2538. end
  2539. end))
  2540. for i=0, 1, 0.1 / Animation_Speed do
  2541. Swait()
  2542. GYRO.cframe = CF(RootPart.Position,Darkheart.Position)
  2543. 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(55 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-55 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -0.4) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(55 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2546. 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)
  2547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * 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)
  2548. 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)
  2549. end
  2550. GYRO:remove()
  2551. Rooted = false
  2552. end
  2553. function Morning()
  2554. print("oof")
  2555. end
  2556. function develop()
  2557. chatfunc("DEVELOPER MODE ENABLED..")
  2558. Animation_Speed = 2.5
  2559. sick:Remove()
  2560. HAT1:Remove()
  2561. BELT:Remove()
  2562. HAT2:Remove()
  2563. GEM:Remove()
  2564. GEM:Remove()
  2565. GEM:Remove()
  2566. GEM:Remove()
  2567. BELT:Remove()
  2568. BELT:Remove()
  2569. BELT:Remove()
  2570. BELT:Remove()
  2571. BELT:Remove()
  2572. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(2,0.2,2),false)
  2573. MakeForm(HAT1,"Cyl")
  2574. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2575. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(2.01,0.15,2.01),false)
  2576. BELT.Color = C3(15/255,15/255,15/255)
  2577. MakeForm(BELT,"Cyl")
  2578. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2579. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(1.3,2.2,1.3),false)
  2580. MakeForm(HAT2,"Cyl")
  2581. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2582. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Red", "Hat", VT(1.31,0.2,1.31),false)
  2583. BELT.Color = C3(15/255,15/255,15/255)
  2584. MakeForm(BELT,"Cyl")
  2585. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2586. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.25,0.25,0.1),false)
  2587. MakeForm(GEM,"Ball")
  2588. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2589. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.25,0.25,0.1),false)
  2590. MakeForm(GEM,"Ball")
  2591. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2592. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
  2593. MakeForm(GEM,"Ball")
  2594. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2595. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
  2596. MakeForm(GEM,"Ball")
  2597. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2598. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2599. BELT.Color = C3(15/255,15/255,15/255)
  2600. MakeForm(BELT,"Cyl")
  2601. local SONG = 156879167
  2602. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2603. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2604. BELT.Color = C3(15/255,15/255,15/255)
  2605. MakeForm(BELT,"Cyl")
  2606. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2607. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2608. BELT.Color = C3(15/255,15/255,15/255)
  2609. MakeForm(BELT,"Cyl")
  2610. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2611. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  2612. BELT.Color = C3(15/255,15/255,15/255)
  2613. MakeForm(BELT,"Cyl")
  2614. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2615. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  2616. MakeForm(BELT,"Ball")
  2617. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2618. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2619. MakeForm(RightHole,"Cyl")
  2620. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2621. Humanoid.DisplayDistanceType = "None"
  2622. SKILL1FRAME:Remove()
  2623. SKILL2FRAME:Remove()
  2624. SKILL3FRAME:Remove()
  2625. SKILL4FRAME:Remove()
  2626. SKILL5FRAME:Remove()
  2627. SKILL6FRAME:Remove()
  2628. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2629. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2630. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 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")
  2631. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 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")
  2632. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2633. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  2634.  
  2635. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  2636. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Void Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  2637. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Lock Time", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  2638. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Build Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  2639. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Knife Throw", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  2640. PLAYSONG = true
  2641. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X] Techno Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  2642. end
  2643.  
  2644. --//=================================\\
  2645. --|| ASSIGN THINGS TO KEYS
  2646. --\\=================================//
  2647.  
  2648. function MouseDown(Mouse)
  2649. HOLD = true
  2650. if ATTACK == false then
  2651. end
  2652. end
  2653.  
  2654. function MouseUp(Mouse)
  2655. HOLD = false
  2656. end
  2657.  
  2658. function KeyDown(Key)
  2659. KEYHOLD = true
  2660.  
  2661. if Key == "f" and ATTACK == false and insane == false and dev == false then
  2662. Prison_Key()
  2663. end
  2664.  
  2665. if Key == "m" and ATTACK == false and insane == false and dev == false then
  2666. HuntersMark()
  2667. end
  2668.  
  2669. if Key == "b" and ATTACK == false and insane == false and dev == false then
  2670. VoidWarp()
  2671. end
  2672.  
  2673. if Key == "c" and ATTACK == false and insane == false and dev == false then
  2674. ChainPunch()
  2675. end
  2676.  
  2677. if Key == "v" and ATTACK == false and insane == false and dev == false then
  2678. WarpMeteor()
  2679. end
  2680.  
  2681. if Key == "q" and ATTACK == false and insane == false and dev == false then
  2682. Insanity()
  2683. end
  2684.  
  2685. if Key == "z" and ATTACK == false and insane == false and dev == false then
  2686. Ring55()
  2687. end
  2688.  
  2689. if Key == "t" and ATTACK == false and insane == false and dev == false then
  2690. Taunt()
  2691. end
  2692. end
  2693.  
  2694. mouse.KeyDown:connect(function(key)
  2695. if insane == true then
  2696. if key == 'z' then
  2697. Taunt()
  2698. elseif key == 'x' then
  2699. VoidWarp()
  2700. elseif key == 'c' then
  2701. PrisonKeyV2()
  2702. elseif key == 'v' then
  2703. Star()
  2704. elseif key == 'f' then
  2705. Ring55()
  2706. elseif key == 'b' then
  2707. MemesAreDank()
  2708. end
  2709. end
  2710. end)
  2711.  
  2712. mouse.KeyDown:connect(function(key)
  2713. if dev == true then
  2714. if key == 'z' then
  2715. Taunt()
  2716. elseif key == 'x' then
  2717. Ring55()
  2718. end
  2719. end
  2720. end)
  2721.  
  2722. local input = ""
  2723.  
  2724. mouse.KeyDown:connect(function(k)
  2725. if(k == "w" or k == "a" or k == "s" or k == "d")then
  2726. input = input .. k
  2727. local newInput = input
  2728. coroutine.wrap(function()
  2729. for i = 1, 25 do
  2730. if(newInput ~= input)then break end
  2731. swait()
  2732. end
  2733. if(newInput == input)then input = "" end
  2734. end)()
  2735. if(input == "zxc" and not AllowRape)then
  2736. develop()
  2737. end
  2738. end
  2739. end)
  2740.  
  2741. function KeyUp(Key)
  2742. KEYHOLD = false
  2743. end
  2744.  
  2745. Mouse.Button1Down:connect(function(NEWKEY)
  2746. MouseDown(NEWKEY)
  2747. end)
  2748. Mouse.Button1Up:connect(function(NEWKEY)
  2749. MouseUp(NEWKEY)
  2750. end)
  2751. Mouse.KeyDown:connect(function(NEWKEY)
  2752. KeyDown(NEWKEY)
  2753. end)
  2754. Mouse.KeyUp:connect(function(NEWKEY)
  2755. KeyUp(NEWKEY)
  2756. end)
  2757.  
  2758. --//=================================\\
  2759. --\\=================================//
  2760.  
  2761.  
  2762. function unanchor()
  2763. if UNANCHOR == true then
  2764. RootPart.Anchored = false
  2765. end
  2766. g = Character:GetChildren()
  2767. for i = 1, #g do
  2768. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2769. g[i].Anchored = false
  2770. end
  2771. end
  2772. g = Weapon:GetChildren()
  2773. for i = 1, #g do
  2774. if g[i].ClassName == "Part" then
  2775. g[i].Anchored = false
  2776. end
  2777. end
  2778. end
  2779.  
  2780.  
  2781. --//=================================\\
  2782. --|| WRAP THE WHOLE SCRIPT UP
  2783. --\\=================================//
  2784.  
  2785. Humanoid.Changed:connect(function(Jump)
  2786. if Jump == "Jump" and (Disable_Jump == true) then
  2787. Humanoid.Jump = false
  2788. end
  2789. end)
  2790.  
  2791. while true do
  2792. Swait()
  2793. refit()
  2794. script.Parent = WEAPONGUI
  2795. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2796. v:Stop();
  2797. end
  2798. ANIMATE.Parent = nil
  2799. SINE = SINE + CHANGE*1.5
  2800. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2801. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2802. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2803. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2804. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2805. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2806. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2807. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2808. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2809. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2810. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2811. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2812. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2813. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2814. end
  2815. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2816. ANIM = "Jump"
  2817. if ATTACK == false then
  2818. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2819. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2820. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2821. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2822. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2824. end
  2825. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2826. ANIM = "Fall"
  2827. if ATTACK == false then
  2828. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2832. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2834. end
  2835. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2836. ANIM = "Idle"
  2837. if ATTACK == false then
  2838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2840. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2841. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2842. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2843. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2844. end
  2845. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2846. ANIM = "Walk"
  2847. if ATTACK == false then
  2848. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2849. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2852. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2853. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2854. end
  2855. end
  2856. unanchor()
  2857. Humanoid.MaxHealth = "inf"
  2858. Humanoid.Health = "inf"
  2859. if Rooted == false then
  2860. Disable_Jump = false
  2861. Humanoid.WalkSpeed = Speed
  2862. elseif Rooted == true then
  2863. Disable_Jump = true
  2864. Humanoid.WalkSpeed = 0
  2865. end
  2866. sick.SoundId = "rbxassetid://"..SONG
  2867. sick.Looped = true
  2868. sick.Pitch = 1
  2869. sick.Volume = 1.5
  2870. sick.Parent = Torso
  2871. sick:Resume()
  2872. --sick.Playing = false
  2873. Humanoid.Name = " Destruction = "..Player.Name
  2874. end
  2875.  
  2876. --//=================================\\
  2877. --\\=================================//
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883. --//====================================================\\--
  2884. --|| END OF SCRIPT
  2885. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement