Advertisement
A2C3E4G5I6

Pandora v1.11

Sep 18th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.87 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. wait(0.2)
  143.  
  144. Player = game:GetService("Players").LocalPlayer
  145. PlayerGui = Player.PlayerGui
  146. Cam = workspace.CurrentCamera
  147. Backpack = Player.Backpack
  148. Character = Player.Character
  149. Humanoid = Character.Humanoid
  150. Mouse = Player:GetMouse()
  151. RootPart = Character["HumanoidRootPart"]
  152. Torso = Character["Torso"]
  153. Head = Character["Head"]
  154. RightArm = Character["Right Arm"]
  155. LeftArm = Character["Left Arm"]
  156. RightLeg = Character["Right Leg"]
  157. LeftLeg = Character["Left Leg"]
  158. RootJoint = RootPart["RootJoint"]
  159. Neck = Torso["Neck"]
  160. RightShoulder = Torso["Right Shoulder"]
  161. LeftShoulder = Torso["Left Shoulder"]
  162. RightHip = Torso["Right Hip"]
  163. LeftHip = Torso["Left Hip"]
  164. Character.Archivable = true
  165. Player:ClearCharacterAppearance()
  166.  
  167. IT = Instance.new
  168. CF = CFrame.new
  169. VT = Vector3.new
  170. RAD = math.rad
  171. C3 = Color3.new
  172. UD2 = UDim2.new
  173. BRICKC = BrickColor.new
  174. ANGLES = CFrame.Angles
  175. EULER = CFrame.fromEulerAnglesXYZ
  176. COS = math.cos
  177. ACOS = math.acos
  178. SIN = math.sin
  179. ASIN = math.asin
  180. ABS = math.abs
  181. MRANDOM = math.random
  182. FLOOR = math.floor
  183.  
  184. --//=================================\\
  185. --|| USEFUL VALUES
  186. --\\=================================//
  187.  
  188. Animation_Speed = 3
  189. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  190. local Speed = 20
  191. local SIZE = 1.4
  192. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  193. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  194. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  195. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  196. local DAMAGEMULTIPLIER = 1
  197. local ANIM = "Idle"
  198. local ATTACK = false
  199. local EQUIPPED = false
  200. local HOLD = false
  201. local COMBO = 1
  202. local Rooted = false
  203. local SINE = 0
  204. local KEYHOLD = false
  205. local CHANGE = 2 / Animation_Speed
  206. local WALKINGANIM = false
  207. local VALUE1 = false
  208. local VALUE2 = false
  209. local ROBLOXIDLEANIMATION = IT("Animation")
  210. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  211. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  212. local ATANIM = IT("Animation")
  213. ATANIM.Name = "Attack Animation"
  214. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  215. --ROBLOXIDLEANIMATION.Parent = Humanoid
  216. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  217. WEAPONGUI.Name = "Weapon GUI"
  218. local Weapon = IT("Model")
  219. Weapon.Name = "Adds"
  220. local Effects = IT("Folder", Weapon)
  221. Effects.Name = "Effects"
  222. local ANIMATOR = Humanoid.Animator
  223. local ANIMATE = Character.Animate
  224. local UNANCHOR = true
  225. local CLOCKLOOP = 0
  226. local SONG = 1382488262
  227. local CLOCKTARGET = nil
  228. local CLOCKSPEED = 1
  229. script.Parent = WEAPONGUI
  230. local CLONE = Character:Clone()
  231. CLONE.Parent = nil
  232. Character.Archivable = false
  233. local sick = Instance.new("Sound",Torso)
  234.  
  235.  
  236. --//=================================\\
  237. --\\=================================//
  238.  
  239.  
  240. --//=================================\\
  241. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  242. --\\=================================//
  243.  
  244. ArtificialHB = Instance.new("BindableEvent", script)
  245. ArtificialHB.Name = "ArtificialHB"
  246.  
  247. script:WaitForChild("ArtificialHB")
  248.  
  249. frame = Frame_Speed
  250. tf = 0
  251. allowframeloss = false
  252. tossremainder = false
  253. lastframe = tick()
  254. script.ArtificialHB:Fire()
  255.  
  256. game:GetService("RunService").Heartbeat:connect(function(s, p)
  257. tf = tf + s
  258. if tf >= frame then
  259. if allowframeloss then
  260. script.ArtificialHB:Fire()
  261. lastframe = tick()
  262. else
  263. for i = 1, math.floor(tf / frame) do
  264. script.ArtificialHB:Fire()
  265. end
  266. lastframe = tick()
  267. end
  268. if tossremainder then
  269. tf = 0
  270. else
  271. tf = tf - frame * math.floor(tf / frame)
  272. end
  273. end
  274. end)
  275.  
  276. --//=================================\\
  277. --\\=================================//
  278.  
  279. --//=================================\\
  280. --|| SOME FUNCTIONS
  281. --\\=================================//
  282.  
  283. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  284. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  285. end
  286.  
  287. function PositiveAngle(NUMBER)
  288. if NUMBER >= 0 then
  289. NUMBER = 0
  290. end
  291. return NUMBER
  292. end
  293.  
  294. function NegativeAngle(NUMBER)
  295. if NUMBER <= 0 then
  296. NUMBER = 0
  297. end
  298. return NUMBER
  299. end
  300.  
  301. function Swait(NUMBER)
  302. if NUMBER == 0 or NUMBER == nil then
  303. ArtificialHB.Event:wait()
  304. else
  305. for i = 1, NUMBER do
  306. ArtificialHB.Event:wait()
  307. end
  308. end
  309. end
  310.  
  311. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  312. local NEWMESH = IT(MESH)
  313. if MESH == "SpecialMesh" then
  314. NEWMESH.MeshType = MESHTYPE
  315. if MESHID ~= "nil" and MESHID ~= "" then
  316. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  317. end
  318. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  319. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  320. end
  321. end
  322. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  323. NEWMESH.Scale = SCALE
  324. NEWMESH.Parent = PARENT
  325. return NEWMESH
  326. end
  327.  
  328. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  329. local NEWPART = IT("Part")
  330. NEWPART.formFactor = FORMFACTOR
  331. NEWPART.Reflectance = REFLECTANCE
  332. NEWPART.Transparency = TRANSPARENCY
  333. NEWPART.CanCollide = false
  334. NEWPART.Locked = true
  335. NEWPART.Anchored = true
  336. if ANCHOR == false then
  337. NEWPART.Anchored = false
  338. end
  339. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  340. NEWPART.Name = NAME
  341. NEWPART.Size = SIZE
  342. NEWPART.Position = Torso.Position
  343. NEWPART.Material = MATERIAL
  344. NEWPART:BreakJoints()
  345. NEWPART.Parent = PARENT
  346. return NEWPART
  347. end
  348.  
  349. local function weldBetween(a, b)
  350. local weldd = Instance.new("ManualWeld")
  351. weldd.Part0 = a
  352. weldd.Part1 = b
  353. weldd.C0 = CFrame.new()
  354. weldd.C1 = b.CFrame:inverse() * a.CFrame
  355. weldd.Parent = a
  356. return weldd
  357. end
  358.  
  359.  
  360. function QuaternionFromCFrame(cf)
  361. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  362. local trace = m00 + m11 + m22
  363. if trace > 0 then
  364. local s = math.sqrt(1 + trace)
  365. local recip = 0.5 / s
  366. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  367. else
  368. local i = 0
  369. if m11 > m00 then
  370. i = 1
  371. end
  372. if m22 > (i == 0 and m00 or m11) then
  373. i = 2
  374. end
  375. if i == 0 then
  376. local s = math.sqrt(m00 - m11 - m22 + 1)
  377. local recip = 0.5 / s
  378. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  379. elseif i == 1 then
  380. local s = math.sqrt(m11 - m22 - m00 + 1)
  381. local recip = 0.5 / s
  382. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  383. elseif i == 2 then
  384. local s = math.sqrt(m22 - m00 - m11 + 1)
  385. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  386. end
  387. end
  388. end
  389.  
  390. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  391. local xs, ys, zs = x + x, y + y, z + z
  392. local wx, wy, wz = w * xs, w * ys, w * zs
  393. local xx = x * xs
  394. local xy = x * ys
  395. local xz = x * zs
  396. local yy = y * ys
  397. local yz = y * zs
  398. local zz = z * zs
  399. 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))
  400. end
  401.  
  402. function QuaternionSlerp(a, b, t)
  403. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  404. local startInterp, finishInterp;
  405. if cosTheta >= 0.0001 then
  406. if (1 - cosTheta) > 0.0001 then
  407. local theta = ACOS(cosTheta)
  408. local invSinTheta = 1 / SIN(theta)
  409. startInterp = SIN((1 - t) * theta) * invSinTheta
  410. finishInterp = SIN(t * theta) * invSinTheta
  411. else
  412. startInterp = 1 - t
  413. finishInterp = t
  414. end
  415. else
  416. if (1 + cosTheta) > 0.0001 then
  417. local theta = ACOS(-cosTheta)
  418. local invSinTheta = 1 / SIN(theta)
  419. startInterp = SIN((t - 1) * theta) * invSinTheta
  420. finishInterp = SIN(t * theta) * invSinTheta
  421. else
  422. startInterp = t - 1
  423. finishInterp = t
  424. end
  425. end
  426. 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
  427. end
  428.  
  429. function Clerp(a, b, t)
  430. local qa = {QuaternionFromCFrame(a)}
  431. local qb = {QuaternionFromCFrame(b)}
  432. local ax, ay, az = a.x, a.y, a.z
  433. local bx, by, bz = b.x, b.y, b.z
  434. local _t = 1 - t
  435. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  436. end
  437.  
  438. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  439. local frame = IT("Frame")
  440. frame.BackgroundTransparency = TRANSPARENCY
  441. frame.BorderSizePixel = BORDERSIZEPIXEL
  442. frame.Position = POSITION
  443. frame.Size = SIZE
  444. frame.BackgroundColor3 = COLOR
  445. frame.BorderColor3 = BORDERCOLOR
  446. frame.Name = NAME
  447. frame.Parent = PARENT
  448. return frame
  449. end
  450.  
  451. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  452. local label = IT("TextLabel")
  453. label.BackgroundTransparency = 1
  454. label.Size = UD2(1, 0, 1, 0)
  455. label.Position = UD2(0, 0, 0, 0)
  456. label.TextColor3 = TEXTCOLOR
  457. label.TextStrokeTransparency = STROKETRANSPARENCY
  458. label.TextTransparency = TRANSPARENCY
  459. label.FontSize = TEXTFONTSIZE
  460. label.Font = TEXTFONT
  461. label.BorderSizePixel = BORDERSIZEPIXEL
  462. label.TextStrokeColor3 = C3(1,1,1)
  463. label.TextScaled = false
  464. label.Text = TEXT
  465. label.Name = NAME
  466. label.Parent = PARENT
  467. return label
  468. end
  469.  
  470. function NoOutlines(PART)
  471. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  472. end
  473.  
  474. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  475. local NEWWELD = IT(TYPE)
  476. NEWWELD.Part0 = PART0
  477. NEWWELD.Part1 = PART1
  478. NEWWELD.C0 = C0
  479. NEWWELD.C1 = C1
  480. NEWWELD.Parent = PARENT
  481. return NEWWELD
  482. end
  483.  
  484. local S = IT("Sound")
  485. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  486. local NEWSOUND = nil
  487. coroutine.resume(coroutine.create(function()
  488. NEWSOUND = S:Clone()
  489. NEWSOUND.Parent = PARENT
  490. NEWSOUND.Volume = VOLUME
  491. NEWSOUND.Pitch = PITCH
  492. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  493. NEWSOUND:play()
  494. if DOESLOOP == true then
  495. NEWSOUND.Looped = true
  496. else
  497. repeat wait(1) until NEWSOUND.Playing == false
  498. NEWSOUND:remove()
  499. end
  500. end))
  501. return NEWSOUND
  502. end
  503.  
  504. function CFrameFromTopBack(at, top, back)
  505. local right = top:Cross(back)
  506. 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)
  507. end
  508.  
  509. --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})
  510. function WACKYEFFECT(Table)
  511. local TYPE = (Table.EffectType or "Sphere")
  512. local SIZE = (Table.Size or VT(1,1,1))
  513. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  514. local TRANSPARENCY = (Table.Transparency or 0)
  515. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  516. local CFRAME = (Table.CFrame or Torso.CFrame)
  517. local MOVEDIRECTION = (Table.MoveToPos or nil)
  518. local ROTATION1 = (Table.RotationX or 0)
  519. local ROTATION2 = (Table.RotationY or 0)
  520. local ROTATION3 = (Table.RotationZ or 0)
  521. local MATERIAL = (Table.Material or "Neon")
  522. local COLOR = (Table.Color or C3(1,1,1))
  523. local TIME = (Table.Time or 45)
  524. local SOUNDID = (Table.SoundID or nil)
  525. local SOUNDPITCH = (Table.SoundPitch or nil)
  526. local SOUNDVOLUME = (Table.SoundVolume or nil)
  527. coroutine.resume(coroutine.create(function()
  528. local PLAYSSOUND = false
  529. local SOUND = nil
  530. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  531. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  532. PLAYSSOUND = true
  533. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  534. end
  535. EFFECT.Color = COLOR
  536. local MSH = nil
  537. if TYPE == "Sphere" then
  538. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  539. elseif TYPE == "Block" then
  540. MSH = IT("BlockMesh",EFFECT)
  541. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  542. elseif TYPE == "Wave" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  544. elseif TYPE == "Ring" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  546. elseif TYPE == "Slash" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  548. elseif TYPE == "Round Slash" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  550. elseif TYPE == "Swirl" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Skull" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  554. elseif TYPE == "Crystal" then
  555. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  556. end
  557. if MSH ~= nil then
  558. local MOVESPEED = nil
  559. if MOVEDIRECTION ~= nil then
  560. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  561. end
  562. local GROWTH = SIZE - ENDSIZE
  563. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  564. if TYPE == "Block" then
  565. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  566. else
  567. EFFECT.CFrame = CFRAME
  568. end
  569. for LOOP = 1, TIME+1 do
  570. Swait()
  571. MSH.Scale = MSH.Scale - GROWTH/TIME
  572. if TYPE == "Wave" then
  573. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  574. end
  575. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  576. if TYPE == "Block" then
  577. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  578. else
  579. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  580. end
  581. if MOVEDIRECTION ~= nil then
  582. local ORI = EFFECT.Orientation
  583. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  584. EFFECT.Orientation = ORI
  585. end
  586. end
  587. if PLAYSSOUND == false then
  588. EFFECT:remove()
  589. else
  590. repeat Swait() until SOUND.Playing == false
  591. EFFECT:remove()
  592. end
  593. else
  594. if PLAYSSOUND == false then
  595. EFFECT:remove()
  596. else
  597. repeat Swait() until SOUND.Playing == false
  598. EFFECT:remove()
  599. end
  600. end
  601. end))
  602. end
  603.  
  604. function MakeForm(PART,TYPE)
  605. if TYPE == "Cyl" then
  606. local MSH = IT("CylinderMesh",PART)
  607. elseif TYPE == "Ball" then
  608. local MSH = IT("SpecialMesh",PART)
  609. MSH.MeshType = "Sphere"
  610. elseif TYPE == "Wedge" then
  611. local MSH = IT("SpecialMesh",PART)
  612. MSH.MeshType = "Wedge"
  613. end
  614. end
  615.  
  616. Debris = game:GetService("Debris")
  617.  
  618. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  619. local DIRECTION = CF(StartPos,EndPos).lookVector
  620. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  621. end
  622.  
  623. function turnto(position)
  624. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  625. end
  626.  
  627. --//=================================\\
  628. --|| WEAPON CREATION
  629. --\\=================================//
  630.  
  631. Humanoid.Parent = nil
  632. RootPart.Size = RootPart.Size*SIZE
  633. Torso.Size = Torso.Size*SIZE
  634. RightArm.Size = RightArm.Size*SIZE
  635. RightLeg.Size = RightLeg.Size*SIZE
  636. LeftArm.Size = LeftArm.Size*SIZE
  637. LeftLeg.Size = LeftLeg.Size*SIZE
  638. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  639. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  640. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  641. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  642. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  643. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  644. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  645. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  646. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  647. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  648. Head.Size = Head.Size*SIZE
  649. RootJoint.Parent = RootPart
  650. Neck.Parent = Torso
  651. RightShoulder.Parent = Torso
  652. LeftShoulder.Parent = Torso
  653. RightHip.Parent = Torso
  654. LeftHip.Parent = Torso
  655.  
  656. Humanoid.DisplayDistanceType = "None"
  657. local naeeym2 = IT("BillboardGui",Character)
  658. naeeym2.AlwaysOnTop = true
  659. naeeym2.Size = UDim2.new(5,35,2,15)
  660. naeeym2.StudsOffset = Vector3.new(0,2,0)
  661. naeeym2.MaxDistance = 75
  662. naeeym2.Adornee = Character.Head
  663. naeeym2.Name = "Name"
  664. local tecks2 = IT("TextLabel",naeeym2)
  665. tecks2.BackgroundTransparency = 1
  666. tecks2.TextScaled = true
  667. tecks2.BorderSizePixel = 0
  668. tecks2.Text = "Pandora"
  669. tecks2.Font = "Fantasy"
  670. tecks2.TextSize = 30
  671. tecks2.TextStrokeTransparency = 0
  672. tecks2.TextColor3 = C3(1,1,1)
  673. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  674. tecks2.Size = UDim2.new(1,0,0.5,0)
  675. tecks2.Parent = naeeym2
  676. local top = Instance.new("Shirt")
  677. top.ShirtTemplate = "rbxassetid://1533635803"
  678. top.Parent = Character
  679. top.Name = "Cloth"
  680. local bottom = Instance.new("Pants")
  681. bottom.PantsTemplate = "rbxassetid://1460022985"
  682. bottom.Parent = Character
  683. bottom.Name = "Cloth"
  684. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  685. PRT.Color = C3(0,0,0)
  686. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  687. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  688. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  689. PRT.Color = C3(1,1,1)
  690. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  691. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  692. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  693. PRT.Color = C3(159/255, 111/255, 183/255)
  694. MakeForm(PRT,"Ball")
  695. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  696. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  697. PRT.Color = C3(159/255, 111/255, 183/255)
  698. MakeForm(PRT,"Ball")
  699. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  700. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  701. PRT.Color = C3(159/255, 111/255, 183/255)
  702. MakeForm(PRT,"Ball")
  703. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  704. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  705. PRT.Color = C3(159/255, 111/255, 183/255)
  706. MakeForm(PRT,"Ball")
  707. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  708. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  709. PRT.Color = C3(159/255, 111/255, 183/255)
  710. MakeForm(PRT,"Ball")
  711. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  712. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  713. PRT.Color = C3(159/255, 111/255, 183/255)
  714. MakeForm(PRT,"Ball")
  715. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  716.  
  717. local LASTPART = Head
  718. for i = 1, 24 do
  719. local MATH = (1-(i/30))
  720. if LASTPART == Head then
  721. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  722. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  723. LASTPART = Horn
  724. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  725. else
  726. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  727. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  728. LASTPART = Horn
  729. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  730. end
  731. end
  732. local LASTPART = Head
  733. for i = 1, 24 do
  734. local MATH = (1-(i/30))
  735. if LASTPART == Head then
  736. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  737. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  738. LASTPART = Horn
  739. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  740. else
  741. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  742. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  743. LASTPART = Horn
  744. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  745. end
  746. end
  747. local LASTPART = Head
  748. for i = 1, 8 do
  749. local MATH = (1-(i/14))
  750. if LASTPART == Head then
  751. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  752. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  753. LASTPART = Horn
  754. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  755. else
  756. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  757. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  758. LASTPART = Horn
  759. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  760. end
  761. end
  762. local LASTPART = Head
  763. for i = 1, 8 do
  764. local MATH = (1-(i/14))
  765. if LASTPART == Head then
  766. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  767. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  768. LASTPART = Horn
  769. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  770. else
  771. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  772. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  773. LASTPART = Horn
  774. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  775. end
  776. end
  777. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  778. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  780. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  781. MakeForm(PRT,"Cyl")
  782. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  783. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  784. MakeForm(PRT,"Cyl")
  785. PRT.Color = C3(159/255, 111/255, 183/255)
  786. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  787. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  788. MakeForm(RING,"Cyl")
  789. RING.Color = C3(0,0,0)
  790. for i = 1, 12 do
  791. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  792. PRT.Color = C3(0,0,0)
  793. local MSH = IT("BlockMesh",PRT)
  794. MSH.Scale = VT(0.6,1,1)
  795. 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))
  796. end
  797. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  798. PRT.Color = C3(0,0,0)
  799. local MSH = IT("BlockMesh",PRT)
  800. MSH.Scale = VT(0.4,1,1)
  801. 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))
  802. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  803. PRT.Color = C3(0,0,0)
  804. local MSH = IT("BlockMesh",PRT)
  805. MSH.Scale = VT(0.4,1,1)
  806. 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))
  807. coroutine.resume(coroutine.create(function()
  808. while true do
  809. Swait()
  810. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  811. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  812. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  813. if CLOCKLOOP <= -150 then
  814. if VALUE1 == false then
  815. CLOCKLOOP = 0
  816. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  817. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  818. ApplyAoE(HITPOS,10,15,45,75,false)
  819. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  820. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  821. if CLOCKTARGET ~= nil then
  822. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  823. if CLOCKTARGET.Torso ~= nil then
  824. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  825. end
  826. if CLOCKTARGET.Health == 0 then
  827. CLOCKTARGET = nil
  828. end
  829. end
  830. end
  831. end
  832. end
  833. end))
  834.  
  835. for _, c in pairs(Weapon:GetChildren()) do
  836. if c.ClassName == "Part" then
  837. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  838. end
  839. end
  840.  
  841. Neck.Name = "Weld"
  842. RootJoint.Name = "Weld"
  843. RightShoulder.Name = "Weld"
  844. LeftShoulder.Name = "Weld"
  845. RightHip.Name = "Weld"
  846. LeftHip.Name = "Weld"
  847.  
  848. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  849. local SKILLFONT = "Fantasy"
  850. local SKILLTEXTSIZE = 7
  851.  
  852. Weapon.Parent = Character
  853. Humanoid.Parent = Character
  854.  
  855. Humanoid.Died:connect(function()
  856. ATTACK = true
  857. end)
  858.  
  859. 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")
  860. 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")
  861. 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")
  862. 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")
  863. 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")
  864. 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")
  865.  
  866. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  867. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  868. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  869. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  870. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  871. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Pandora's Key", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  872.  
  873. --//=================================\\
  874. --|| DAMAGING
  875. --\\=================================//
  876.  
  877. function ApplyDamage(Humanoid,Damage,TorsoPart)
  878. local defence = Instance.new("BoolValue",Humanoid.Parent)
  879. defence.Name = ("HitBy"..Player.Name)
  880. game:GetService("Debris"):AddItem(defence, 0.001)
  881. Damage = Damage * DAMAGEMULTIPLIER
  882. if Humanoid.Health ~= 0 then
  883. local CritChance = MRANDOM(1,100)
  884. if Damage > Humanoid.Health then
  885. Damage = math.ceil(Humanoid.Health)
  886. if Damage == 0 then
  887. Damage = 0.1
  888. end
  889. end
  890. Humanoid.Health = Humanoid.Health - Damage
  891. end
  892. end
  893.  
  894. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  895. local CHILDREN = workspace:GetDescendants()
  896. for index, CHILD in pairs(CHILDREN) do
  897. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  898. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  899. if HUM then
  900. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  901. if TORSO then
  902. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  903. if INSTAKILL == true then
  904. CHILD:BreakJoints()
  905. else
  906. local DMG = MRANDOM(MINDMG,MAXDMG)
  907. ApplyDamage(HUM,DMG,TORSO)
  908. end
  909. if FLING > 0 then
  910. for _, c in pairs(CHILD:GetChildren()) do
  911. if c:IsA("BasePart") then
  912. local bv = Instance.new("BodyVelocity")
  913. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  914. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  915. bv.Parent = c
  916. Debris:AddItem(bv,0.05)
  917. end
  918. end
  919. end
  920. end
  921. end
  922. end
  923. end
  924. end
  925. end
  926.  
  927. --//=================================\\
  928. --|| ATTACK FUNCTIONS AND STUFF
  929. --\\=================================//
  930.  
  931. function MagicMissiles()
  932. ATTACK = true
  933. Rooted = true
  934. local SELECTING = true
  935. local SPOTS = {}
  936. coroutine.resume(coroutine.create(function()
  937. local LOOP = 0
  938. repeat
  939. LOOP = LOOP + 1
  940. Swait()
  941. if LOOP >= 10 then
  942. LOOP = 0
  943. for i = 1, #SPOTS do
  944. if SPOTS[i] ~= nil then
  945. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  946. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  947. end
  948. end
  949. end
  950. 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)
  951. 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)
  952. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  953. 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)
  954. 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)
  955. 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)
  956. until SELECTING == false
  957. Rooted = false
  958. repeat
  959. LOOP = LOOP + 1
  960. Swait()
  961. if LOOP >= 10 then
  962. LOOP = 0
  963. for i = 1, #SPOTS do
  964. if SPOTS[i] ~= nil then
  965. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  966. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  967. end
  968. end
  969. end
  970. 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)
  971. 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)
  972. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  973. 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)
  974. 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)
  975. 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)
  976. until ATTACK == false
  977. end))
  978. repeat
  979. repeat Swait() until HOLD == true
  980. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  981. if DIST > 65 then
  982. DIST = 65
  983. end
  984. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  985. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  986. if HITFLOOR ~= nil then
  987. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  988. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  989. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  990. end
  991. repeat Swait() until HOLD == false
  992. until #SPOTS == 5
  993. SELECTING = false
  994. for i = 1, #SPOTS do
  995. if SPOTS[i] ~= nil then
  996. local POS = SPOTS[i]
  997. coroutine.resume(coroutine.create(function()
  998. local MISSILE = IT("Model",Effects)
  999. MISSILE.Name = "Missile"
  1000. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  1001. MakeForm(BASEPART,"Cyl")
  1002. MISSILE.PrimaryPart = BASEPART
  1003. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1004. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  1005. MakeForm(HEAD,"Ball")
  1006. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1007. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  1008. MakeForm(TAIL,"Cyl")
  1009. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1010. for i = 1, 10 do
  1011. Swait()
  1012. for _, c in pairs(MISSILE:GetChildren()) do
  1013. if c.ClassName == "Part" then
  1014. c.Transparency = c.Transparency - 1/10
  1015. end
  1016. end
  1017. end
  1018. for i = 1, 15*1.5 do
  1019. Swait()
  1020. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1021. end
  1022. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1023. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1024. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1025. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1026. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1027. MISSILE:remove()
  1028. end))
  1029. end
  1030. end
  1031. wait(0.6)
  1032. ATTACK = false
  1033. Rooted = false
  1034. end
  1035.  
  1036. function TimesUp()
  1037. CLOCKTARGET = nil
  1038. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1039. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1040. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1041. if TORSO then
  1042. ATTACK = true
  1043. Rooted = false
  1044. coroutine.resume(coroutine.create(function()
  1045. repeat
  1046. Swait()
  1047. 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)
  1048. 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)
  1049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1050. 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)
  1051. 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)
  1052. 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)
  1053. until ATTACK == false
  1054. end))
  1055. if Effects:FindFirstChild("NeonDoll") then
  1056. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1057. end
  1058. wait(0.5)
  1059. local FAKECHARACTER = IT("Model",Effects)
  1060. FAKECHARACTER.Name = "NeonDoll"
  1061. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1062. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1063. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1064. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1065. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1066. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1067. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1068. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1069. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1070. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1071. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1072. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1073. CreateSound(201858045, TORS, 5, 0.4, false)
  1074. for i = 1, 150 do
  1075. Swait()
  1076. CLOCKSPEED = 6
  1077. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1078. if c.ClassName == "Part" then
  1079. c.Transparency = c.Transparency - 0.5/150
  1080. end
  1081. end
  1082. end
  1083. CLOCKTARGET = HUM
  1084. coroutine.resume(coroutine.create(function()
  1085. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1086. for i = 1, 25 do
  1087. Swait()
  1088. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1089. if c.ClassName == "Part" then
  1090. c.Transparency = c.Transparency + 0.5/25
  1091. end
  1092. end
  1093. end
  1094. CLOCKSPEED = 1
  1095. FAKECHARACTER:remove()
  1096. end))
  1097. wait(0.5)
  1098. ATTACK = false
  1099. Rooted = false
  1100. end
  1101. end
  1102. end
  1103.  
  1104. function ChainPunch()
  1105. ATTACK = true
  1106. Rooted = false
  1107. local GYRO = IT("BodyGyro",RootPart)
  1108. GYRO.D = 25
  1109. GYRO.P = 2000
  1110. GYRO.MaxTorque = VT(0,40000,0)
  1111. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1112. repeat
  1113. Swait()
  1114. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1115. 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)
  1116. 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)
  1117. 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)
  1118. 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)
  1119. 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)
  1120. 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)
  1121. until HOLD == true
  1122. local POS = Mouse.Hit.p
  1123. local CHAINS = false
  1124. local CHAINLINKS = {}
  1125. local A = IT("Attachment",RightArm)
  1126. A.Position = VT(1,-1,0)*SIZE
  1127. A.Orientation = VT(-90, -89.982, 0)
  1128. local B = IT("Attachment",RightArm)
  1129. B.Position = VT(-1,-1,0)*SIZE
  1130. B.Orientation = VT(-90, 89.988, 0)
  1131. local C = IT("Attachment",RightArm)
  1132. C.Position = VT(0.5,-1.3,0)*SIZE
  1133. C.Orientation = VT(-90, -89.982, 0)
  1134. local D = IT("Attachment",RightArm)
  1135. D.Position = VT(-0.5,-1.3,0)*SIZE
  1136. D.Orientation = VT(-90, 89.988, 0)
  1137. local LIGHT = IT("Attachment",RightArm)
  1138. LIGHT.Position = VT(0,-1,0)*SIZE
  1139. local LIGHT2 = IT("PointLight",LIGHT)
  1140. LIGHT2.Range = 7
  1141. LIGHT2.Brightness = 5
  1142. LIGHT2.Color = SKILLTEXTCOLOR
  1143. for i = 1, 2 do
  1144. local TWIST = -2
  1145. local START = A
  1146. local END = B
  1147. if i == 1 then
  1148. START = B
  1149. END = A
  1150. end
  1151. local ChainLink = IT("Beam",Torso)
  1152. ChainLink.Texture = "rbxassetid://73042633"
  1153. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1154. ChainLink.TextureSpeed = 1
  1155. ChainLink.Width0 = 1
  1156. ChainLink.Width1 = 1
  1157. ChainLink.TextureLength = 2.5
  1158. ChainLink.Attachment0 = START
  1159. ChainLink.Attachment1 = END
  1160. ChainLink.CurveSize0 = TWIST
  1161. ChainLink.CurveSize1 = TWIST
  1162. --ChainLink.FaceCamera = true
  1163. ChainLink.Segments = 45
  1164. ChainLink.Transparency = NumberSequence.new(1)
  1165. table.insert(CHAINLINKS,ChainLink)
  1166. end
  1167. for i = 1, 2 do
  1168. local TWIST = -1
  1169. local START = C
  1170. local END = D
  1171. if i == 1 then
  1172. START = D
  1173. END = C
  1174. end
  1175. local ChainLink = IT("Beam",Torso)
  1176. ChainLink.Texture = "rbxassetid://73042633"
  1177. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1178. ChainLink.TextureSpeed = 1
  1179. ChainLink.Width0 = 1
  1180. ChainLink.Width1 = 1
  1181. ChainLink.TextureLength = 5
  1182. ChainLink.Attachment0 = START
  1183. ChainLink.Attachment1 = END
  1184. ChainLink.CurveSize0 = TWIST
  1185. ChainLink.CurveSize1 = TWIST
  1186. --ChainLink.FaceCamera = true
  1187. ChainLink.Segments = 25
  1188. ChainLink.LightEmission = 0.5
  1189. ChainLink.Transparency = NumberSequence.new(1)
  1190. table.insert(CHAINLINKS,ChainLink)
  1191. end
  1192. coroutine.resume(coroutine.create(function()
  1193. repeat
  1194. Swait()
  1195. 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)
  1196. 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)
  1197. 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)
  1198. 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)
  1199. 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)
  1200. 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)
  1201. until CHAINS == true
  1202. repeat
  1203. Swait()
  1204. 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)
  1205. 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)
  1206. 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)
  1207. 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)
  1208. 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)
  1209. 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)
  1210. until ATTACK == false
  1211. for e = 1, 15 do
  1212. Swait()
  1213. for i = 1, #CHAINLINKS do
  1214. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1215. end
  1216. end
  1217. A:remove()
  1218. B:remove()
  1219. C:remove()
  1220. D:remove()
  1221. end))
  1222. CreateSound(233856115, RightArm, 5, 1.2, false)
  1223. for e = 1, 15 do
  1224. Swait()
  1225. for i = 1, #CHAINLINKS do
  1226. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1227. end
  1228. end
  1229. CHAINS = true
  1230. Rooted = true
  1231. wait(0.25)
  1232. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1233. FIST.Color = C3(1, 215/255, 1)
  1234. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1235. local LIGHT3 = IT("PointLight",FIST)
  1236. LIGHT3.Range = 7
  1237. LIGHT3.Brightness = 5
  1238. LIGHT3.Color = SKILLTEXTCOLOR
  1239. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1240. local FISTA = IT("Attachment",FIST)
  1241. FISTA.Position = VT(0.062, 0.977, 0)
  1242. local ChainLink = IT("Beam",Torso)
  1243. ChainLink.Texture = "rbxassetid://73042633"
  1244. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1245. ChainLink.TextureSpeed = 0
  1246. ChainLink.Width0 = 3
  1247. ChainLink.Width1 = 3
  1248. ChainLink.TextureLength = 12
  1249. ChainLink.Attachment0 = LIGHT
  1250. ChainLink.Attachment1 = FISTA
  1251. ChainLink.FaceCamera = true
  1252. ChainLink.Segments = 45
  1253. ChainLink.LightEmission = 0.5
  1254. ChainLink.Transparency = NumberSequence.new(0.25)
  1255. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1256. for i = 1, 85 do
  1257. Swait()
  1258. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1259. ChainLink.TextureLength = 12+(i*2)
  1260. ApplyAoE(FIST.Position,10,1,5,75,false)
  1261. 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})
  1262. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1263. if HITFLOOR ~= nil then
  1264. HITFLOOR:BreakJoints()
  1265. coroutine.resume(coroutine.create(function()
  1266. for i = 1, 15 do
  1267. Swait()
  1268. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1269. ApplyAoE(FIST.Position,10+(i*2),1.5,7,5,false)
  1270. 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})
  1271. end
  1272. end))
  1273. break
  1274. end
  1275. end
  1276. coroutine.resume(coroutine.create(function()
  1277. for i = 1, 50 do
  1278. Swait()
  1279. FIST.Transparency = FIST.Transparency + 0.5/50
  1280. LIGHT3.Range = LIGHT3.Range - 7/50
  1281. end
  1282. FIST:remove()
  1283. end))
  1284. LIGHT:remove()
  1285. GYRO:remove()
  1286. ATTACK = false
  1287. Rooted = false
  1288. end
  1289.  
  1290. function WarpMeteor()
  1291. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1292. if DIST > 180 then
  1293. DIST = 180
  1294. end
  1295. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1296. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1297. if HITFLOOR then
  1298. local POS = HITPOS
  1299. ATTACK = true
  1300. Rooted = true
  1301. local WARPED = false
  1302. local SMASHED = false
  1303. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1304. coroutine.resume(coroutine.create(function()
  1305. repeat
  1306. Swait()
  1307. 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)
  1308. 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)
  1309. 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)
  1310. 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)
  1311. 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)
  1312. 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)
  1313. until WARPED == true
  1314. repeat
  1315. Swait()
  1316. 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)
  1317. 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)
  1318. 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)
  1319. 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)
  1320. 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)
  1321. 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)
  1322. until SMASHED == true
  1323. repeat
  1324. Swait()
  1325. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1326. 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)
  1327. 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)
  1328. 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)
  1329. 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)
  1330. 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)
  1331. until ATTACK == false
  1332. end))
  1333. VALUE1 = true
  1334. CreateSound(233856115, Torso, 5, 1.6, false)
  1335. for i = 1, 25 do
  1336. Swait()
  1337. for _, c in pairs(Character:GetChildren()) do
  1338. if c.ClassName == "Part" then
  1339. c.Transparency = c.Transparency + 1/25
  1340. end
  1341. end
  1342. for _, c in pairs(Weapon:GetChildren()) do
  1343. if c.ClassName == "Part" then
  1344. c.Transparency = c.Transparency + 1/25
  1345. end
  1346. end
  1347. end
  1348. UNANCHOR = false
  1349. RootPart.Anchored = true
  1350. RootPart.Velocity = VT(0,0,0)
  1351. local ROOTPOS = RootPart.Position
  1352. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1353. WARPED = true
  1354. for i = 1, 25 do
  1355. Swait()
  1356. for _, c in pairs(Character:GetChildren()) do
  1357. if c.ClassName == "Part" then
  1358. c.Transparency = c.Transparency - 1/25
  1359. end
  1360. end
  1361. for _, c in pairs(Weapon:GetChildren()) do
  1362. if c.ClassName == "Part" then
  1363. c.Transparency = c.Transparency - 1/25
  1364. end
  1365. end
  1366. end
  1367. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  1368. SHELL.CFrame = RootPart.CFrame
  1369. MakeForm(SHELL,"Ball")
  1370. CreateSound(402981977, SHELL, 5, 1.6, false)
  1371. for i = 1, 10 do
  1372. Swait()
  1373. SHELL.Transparency = SHELL.Transparency - 1/10
  1374. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1375. end
  1376. for i = 1, math.ceil(75/2) do
  1377. Swait()
  1378. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1379. SHELL.CFrame = CF(RootPart.Position)
  1380. 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})
  1381. end
  1382. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1383. SHELL.CFrame = CF(RootPart.Position)
  1384. 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})
  1385. 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})
  1386. 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})
  1387. for i = 1, 5 do
  1388. 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})
  1389. end
  1390. SHELL:remove()
  1391. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1392. SMASHED = true
  1393. wait(1)
  1394. VALUE1 = false
  1395. UNANCHOR = true
  1396. ATTACK = false
  1397. Rooted = false
  1398. end
  1399. end
  1400.  
  1401. function PandorasBox()
  1402. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1403. if HITFLOOR ~= nil then
  1404. ATTACK = true
  1405. Rooted = true
  1406. local RINGSPIN = true
  1407. local CONSTRUCTING = true
  1408. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1409. RING.Color = C3(0,0,0)
  1410. MakeForm(RING,"Cyl")
  1411. RING.CFrame = CF(HITPOS)
  1412. CreateSound(402981977, RING, 5, 1.2, false)
  1413. coroutine.resume(coroutine.create(function()
  1414. repeat
  1415. Swait()
  1416. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1417. 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)
  1418. 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)
  1419. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1420. 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)
  1421. 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)
  1422. 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)
  1423. until CONSTRUCTING == false
  1424. repeat
  1425. Swait()
  1426. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1427. until RINGSPIN == false
  1428. for i = 1, 25 do
  1429. Swait()
  1430. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1431. RING.Size = RING.Size - VT(0.15,0,0.15)
  1432. --DECAL.Transparency = DECAL.Transparency + 1/25
  1433. RING.Transparency = RING.Transparency + 1/25
  1434. end
  1435. RING:remove()
  1436. end))
  1437. for i = 1, 15 do
  1438. Swait()
  1439. RING.Size = RING.Size + VT(0.75,0,0.75)
  1440. RING.Transparency = RING.Transparency - 1/15
  1441. end
  1442. local BOXSPIN = true
  1443. local PANDORASBOX = IT("Model",Effects)
  1444. PANDORASBOX.Name = "Pandora's Box"
  1445. local BOX = IT("Model",PANDORASBOX)
  1446. BOX.Name = "Body"
  1447. local LID = IT("Model",PANDORASBOX)
  1448. LID.Name = "Lid"
  1449. --BUILDING THE BOX--
  1450. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1451. BASE.Color = C3(0,0,0)
  1452. PANDORASBOX.PrimaryPart = BASE
  1453. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1454. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1455. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1456. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1457. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1458. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1459. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1460. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1461. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1462. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1463. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1464. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1465. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1466. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1467. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1468. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1469. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1470. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1471. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1472. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1473. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1474. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1475. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1476. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1477. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1478. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1479. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1480. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1481. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1482. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1483. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1484. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1485. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1486. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1487. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1488. -------------
  1489. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1490. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1491. LID.PrimaryPart = LIDPART
  1492. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1493. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1494. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1495. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1496. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1497. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1498. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1499. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1500. local DECAL = IT("Decal",LIDPART)
  1501. DECAL.Face = "Top"
  1502. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1503. DECAL.Color3 = C3(0,0,0)
  1504. --BUILDING THE BOX--
  1505. coroutine.resume(coroutine.create(function()
  1506. repeat
  1507. Swait()
  1508. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1509. until BOXSPIN == false
  1510. end))
  1511. for i = 1, 25 do
  1512. Swait()
  1513. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1514. end
  1515. wait(0.5)
  1516. BOXSPIN = false
  1517. CONSTRUCTING = false
  1518. coroutine.resume(coroutine.create(function()
  1519. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1520. --[[for i = 1, 45 do
  1521. Swait()
  1522. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1523. end-
  1524. LID:remove()]]--
  1525. for _, c in pairs(LID:GetChildren()) do
  1526. if c.ClassName == "Part" then
  1527. c.Anchored = false
  1528. c.CanCollide = true
  1529. if c ~= LIDPART then
  1530. weldBetween(LIDPART,c)
  1531. end
  1532. end
  1533. end
  1534. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1535. Debris:AddItem(LID,15)
  1536. wait(0.5)
  1537. local RANDOMEFFECT = MRANDOM(1,4)
  1538. if RANDOMEFFECT == 1 then
  1539. for i = 1, 45 do
  1540. wait((2-(i/15))/15)
  1541. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1542. end
  1543. wait(1)
  1544. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1545. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1546. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1547. for i = 1, 5 do
  1548. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.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(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1549. end
  1550. ApplyAoE(BASE.Position,50,15,45,375,false)
  1551. ApplyAoE(BASE.Position,250,35,40,175,false)
  1552. elseif RANDOMEFFECT == 2 then
  1553. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1554. FIELD.CFrame = BASE.CFrame
  1555. MakeForm(FIELD,"Ball")
  1556. for i = 1, 50 do
  1557. Swait()
  1558. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1559. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1560. end
  1561. wait(0.2)
  1562. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1563. coroutine.resume(coroutine.create(function()
  1564. for i = 1, 75 do
  1565. Swait()
  1566. LOOP.Volume = LOOP.Volume + 10/75
  1567. LOOP.Parent = FIELD
  1568. local CHILDREN = workspace:GetDescendants()
  1569. for index, CHILD in pairs(CHILDREN) do
  1570. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1571. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1572. if HUM then
  1573. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1574. if TORSO then
  1575. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1576. HUM.Health = HUM.Health - 0.1
  1577. TORSO.Velocity = VT(0,5,0)
  1578. HUM.PlatformStand = true
  1579. if TORSO.RotVelocity.Magnitude < 15 then
  1580. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1581. end
  1582. end
  1583. end
  1584. end
  1585. end
  1586. end
  1587. FIELD.Size = FIELD.Size + VT(3,3,3)
  1588. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1589. end
  1590. for i = 1, 500 do
  1591. Swait()
  1592. LOOP.Parent = FIELD
  1593. local CHILDREN = workspace:GetDescendants()
  1594. for index, CHILD in pairs(CHILDREN) do
  1595. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1596. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1597. if HUM then
  1598. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1599. if TORSO then
  1600. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1601. TORSO.Velocity = VT(0,5,0)
  1602. HUM.Health = HUM.Health - 0.1
  1603. HUM.PlatformStand = true
  1604. if TORSO.RotVelocity.Magnitude < 15 then
  1605. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1606. end
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. end
  1613. for i = 1, 25 do
  1614. Swait()
  1615. LOOP.Volume = LOOP.Volume + 10/25
  1616. LOOP.Parent = FIELD
  1617. local CHILDREN = workspace:GetDescendants()
  1618. for index, CHILD in pairs(CHILDREN) do
  1619. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1620. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1621. if HUM then
  1622. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1623. if TORSO then
  1624. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1625. TORSO.Velocity = VT(0,5,0)
  1626. HUM.Health = HUM.Health - 0.1
  1627. HUM.PlatformStand = false
  1628. if TORSO.RotVelocity.Magnitude < 15 then
  1629. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1630. end
  1631. end
  1632. end
  1633. end
  1634. end
  1635. end
  1636. FIELD.Size = FIELD.Size - VT(3,3,3)
  1637. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1638. end
  1639. FIELD:remove()
  1640. end))
  1641. elseif RANDOMEFFECT == 3 then
  1642. for i = 1, 10 do
  1643. wait(0.15)
  1644. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  1645. coroutine.resume(coroutine.create(function()
  1646. local MINION = CLONE:Clone()
  1647. MINION.Parent = Effects
  1648. MINION.Name = "Shadow"
  1649. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1650. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1651. for _, c in pairs(MINION:GetChildren()) do
  1652. if c.ClassName == "Part" then
  1653. c.Material = "Neon"
  1654. c.Color = C3(0,0,0)
  1655. c.Transparency = 0.25
  1656. if c.Name == "Head" then
  1657. c:ClearAllChildren()
  1658. local MSH = IT("BlockMesh",c)
  1659. MSH.Scale = VT(0.5,1,1)
  1660. end
  1661. end
  1662. end
  1663. local TORSO = MINION.Torso
  1664. local HUMAN = MINION.Humanoid
  1665. HUMAN.WalkSpeed = 20
  1666. HUMAN.MaxHealth = math.huge
  1667. HUMAN.Health = math.huge
  1668. HUMAN.DisplayDistanceType = "None"
  1669. HUMAN.Died:connect(function()
  1670. MINION:remove()
  1671. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1672. end)
  1673. wait(1)
  1674. local findNearestTorso = function(POS)
  1675. local list = game.Workspace:GetDescendants()
  1676. local torso = nil
  1677. local dist = 500
  1678. local temp = nil
  1679. local human = nil
  1680. local temp2 = nil
  1681. for x = 1, #list do
  1682. temp2 = list[x]
  1683. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1684. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1685. human = temp2:findFirstChildOfClass("Humanoid")
  1686. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1687. if (temp.Position - POS).magnitude < dist then
  1688. torso = temp
  1689. dist = (temp.Position - POS).magnitude
  1690. end
  1691. end
  1692. end
  1693. end
  1694. return torso, dist
  1695. end
  1696. for i = 1, 40 do
  1697. if HUMAN.Health == 0 then
  1698. break
  1699. end
  1700. wait(0.3)
  1701. local target,dist= findNearestTorso(TORSO.Position)
  1702. if target then
  1703. HUMAN:MoveTo(target.Position)
  1704. if dist < 25 then
  1705. CreateSound(348663022, TORSO, 10, 1, true)
  1706. wait(2)
  1707. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1708. --ANIM:Play()
  1709. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1710. ApplyAoE(TORSO.Position,10,0,0,85,true)
  1711. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  1712. for i = 1, 5 do
  1713. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1714. end
  1715. break
  1716. end
  1717. end
  1718. end
  1719. MINION:remove()
  1720. end))
  1721. end
  1722. elseif RANDOMEFFECT == 4 then
  1723. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1724. FIELD.Color = C3(0,0,0)
  1725. FIELD.CFrame = BASE.CFrame
  1726. MakeForm(FIELD,"Ball")
  1727. FIELD.CanCollide = true
  1728. for i = 1, 50 do
  1729. Swait()
  1730. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1731. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1732. end
  1733. wait(0.2)
  1734. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1735. coroutine.resume(coroutine.create(function()
  1736. local E = 0
  1737. for i = 1, 75 do
  1738. E = E + 1
  1739. Swait()
  1740. if E >= 35 then
  1741. E = 0
  1742. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1743. end
  1744. LOOP.Volume = LOOP.Volume + 10/75
  1745. LOOP.Parent = FIELD
  1746. local CHILDREN = workspace:GetDescendants()
  1747. for index, CHILD in pairs(CHILDREN) do
  1748. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1749. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1750. if HUM then
  1751. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1752. if TORSO then
  1753. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1754. for _, c in pairs(CHILD:GetChildren()) do
  1755. if c:IsA("BasePart") then
  1756. local bv = Instance.new("BodyVelocity")
  1757. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1758. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1759. bv.Parent = c
  1760. Debris:AddItem(bv,0.05)
  1761. end
  1762. end
  1763. HUM.Health = HUM.Health - 0.3
  1764. end
  1765. end
  1766. end
  1767. end
  1768. end
  1769. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1770. end
  1771. for i = 1, 180 do
  1772. E = E + 1
  1773. Swait()
  1774. if E >= 35 then
  1775. E = 0
  1776. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1777. end
  1778. LOOP.Parent = FIELD
  1779. local CHILDREN = workspace:GetDescendants()
  1780. for index, CHILD in pairs(CHILDREN) do
  1781. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1782. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1783. if HUM then
  1784. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1785. if TORSO then
  1786. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1787. for _, c in pairs(CHILD:GetChildren()) do
  1788. if c:IsA("BasePart") then
  1789. local bv = Instance.new("BodyVelocity")
  1790. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1791. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1792. bv.Parent = c
  1793. Debris:AddItem(bv,0.05)
  1794. end
  1795. end
  1796. HUM.Health = HUM.Health - 0.3
  1797. end
  1798. end
  1799. end
  1800. end
  1801. end
  1802. end
  1803. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1804. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  1805. for i = 1, 5 do
  1806. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.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(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1807. end
  1808. FIELD:remove()
  1809. end))
  1810. elseif RANDOMEFFECT == 5 then
  1811. end
  1812. wait(0.5)
  1813. for i = 1, 25 do
  1814. Swait()
  1815. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1816. end
  1817. PANDORASBOX:remove()
  1818. RINGSPIN = false
  1819. end))
  1820. ATTACK = false
  1821. Rooted = false
  1822. end
  1823. end
  1824.  
  1825. local LAUGH = IT("Sound", Head)
  1826. LAUGH.SoundId = "rbxassetid://1074233689"
  1827. LAUGH.Volume = 10
  1828. LAUGH.Looped = false
  1829.  
  1830.  
  1831. function Taunt()
  1832. ATTACK = true
  1833. coroutine.resume(coroutine.create(function()
  1834. LAUGH:Play()
  1835. repeat
  1836. Swait()
  1837. LAUGH.Parent = Head
  1838. 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)
  1839. 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)
  1840. 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)
  1841. 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)
  1842. 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)
  1843. 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)
  1844. until LAUGH.Playing == false
  1845. ATTACK = false
  1846. end))
  1847. end
  1848.  
  1849. function turnto(position)
  1850. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1851. end
  1852.  
  1853. local HATWELD = nil
  1854. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1855. PLAYMAINANIM = false
  1856. if WhichPose == "Cast1" then
  1857. for i=0, Time, 0.1 / Animation_Speed do
  1858. Swait()
  1859. if Magic == true then
  1860. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1861. end
  1862. if Gyro ~= nil and Gyro ~= false then
  1863. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1864. end
  1865. 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)
  1866. 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)
  1867. 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)
  1868. 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)
  1869. 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)
  1870. 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)
  1871. end
  1872. elseif WhichPose == "Cast2" then
  1873. for i=0, Time, 0.1 / Animation_Speed do
  1874. Swait()
  1875. if Magic == true then
  1876. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1877. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1878. end
  1879. if Gyro ~= nil and Gyro ~= false then
  1880. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1881. end
  1882. 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)
  1883. 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)
  1884. 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)
  1885. 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)
  1886. 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)
  1887. 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)
  1888. end
  1889. elseif WhichPose == "RightArmUp" then
  1890. for i=0, Time, 0.1 / Animation_Speed do
  1891. Swait()
  1892. if Magic == true then
  1893. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1894. end
  1895. if Gyro ~= nil and Gyro ~= false then
  1896. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1897. end
  1898. 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)
  1899. 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)
  1900. 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)
  1901. 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)
  1902. 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)
  1903. 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)
  1904. end
  1905. elseif WhichPose == "Taunt" then
  1906. for i=0, Time, 0.1 / Animation_Speed do
  1907. Swait()
  1908. 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)
  1909. 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)
  1910. 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)
  1911. 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)
  1912. 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)
  1913. 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)
  1914. end
  1915. HATWELD.Part0 = RightArm
  1916. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1917. CreateSound(221057812,Torso,10,1,false)
  1918. for i=0, Time*2, 0.1 / Animation_Speed do
  1919. Swait()
  1920. 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)
  1921. 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)
  1922. 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)
  1923. 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)
  1924. 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)
  1925. 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)
  1926. end
  1927. for i=0, Time, 0.1 / Animation_Speed do
  1928. Swait()
  1929. 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)
  1930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1932. 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)
  1933. 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)
  1934. 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)
  1935. 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)
  1936. end
  1937. HATWELD.Part0 = Head
  1938. HATWELD.C0 = CF(0,0.35,0)
  1939. elseif WhichPose == "Prepare key" then
  1940. for i=0, Time, 0.1 / Animation_Speed do
  1941. Swait()
  1942. if Gyro ~= nil and Gyro ~= false then
  1943. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1944. end
  1945. 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)
  1946. 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)
  1947. 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)
  1948. 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)
  1949. 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)
  1950. 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)
  1951. end
  1952. elseif WhichPose == "Turn key" then
  1953. for i=0, Time, 0.1 / Animation_Speed do
  1954. Swait()
  1955. if Gyro ~= nil and Gyro ~= false then
  1956. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1957. end
  1958. 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)
  1959. 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)
  1960. 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)
  1961. 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)
  1962. 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)
  1963. 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)
  1964. end
  1965. end
  1966. PLAYMAINANIM = true
  1967. end
  1968.  
  1969. function Key_To_Hell()
  1970. if Mouse.Target ~= nil then
  1971. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1972. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1973. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1974. local GYRO = IT("BodyGyro",RootPart)
  1975. GYRO.D = 750
  1976. GYRO.P = 20000
  1977. GYRO.MaxTorque = VT(0,40000000,0)
  1978. local grav = Instance.new("BodyPosition",TORSO)
  1979. grav.D = 15
  1980. grav.P = 20000
  1981. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1982. grav.position = TORSO.Position
  1983. local GYRO2 = IT("BodyGyro",TORSO)
  1984. GYRO2.D = 750
  1985. GYRO2.P = 20000
  1986. GYRO2.MaxTorque = VT(0,40000000,0)
  1987. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1988. grav.Name = "Jail"
  1989. local LOCKPARTS = {}
  1990. ATTACK = true
  1991. Rooted = false
  1992. local LOCK = IT("Model",Effects)
  1993. LOCK.Name = "Lock"
  1994. local LOCK2 = IT("Model",LOCK)
  1995. LOCK2.Name = "Metal"
  1996. --CREATE LOCK--
  1997. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Keylock", VT(3, 2.5, 1))
  1998. LOCK.PrimaryPart = BASE
  1999. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2000. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Keylock", VT(3, 1, 3))
  2001. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2002. MakeForm(PRT,"Cyl")
  2003. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Hole", VT(1, 1, 1))
  2004. PRT.Color = C3(0,0,0)
  2005. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2006. MakeForm(PRT,"Cyl")
  2007. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Hole", VT(0.5, 1, 1))
  2008. PRT.Color = C3(0,0,0)
  2009. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2010. for i = 1, 45 do
  2011. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Alder", "Keylock", VT(0.5, 0.5, 0.5))
  2012. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2013. end
  2014. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Alder", "Keylock", VT(0.5, 0.5, 0.5))
  2015. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2016. LOCK2.PrimaryPart = PRT
  2017. ---------------
  2018. local CHILDREN = LOCK:GetDescendants()
  2019. for index, CHILD in pairs(CHILDREN) do
  2020. if CHILD:IsA("BasePart") then
  2021. CHILD.Transparency = 1
  2022. end
  2023. end
  2024. for i = 1, 75 do
  2025. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2026. Swait()
  2027. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2028. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2029. local CHILDREN = LOCK:GetDescendants()
  2030. for index, CHILD in pairs(CHILDREN) do
  2031. if CHILD:IsA("BasePart") then
  2032. CHILD.Transparency = CHILD.Transparency - 1/75
  2033. end
  2034. end
  2035. end
  2036. HUM.DisplayDistanceType = "None"
  2037. local KEY = IT("Model",Effects)
  2038. KEY.Name = "Key"
  2039. --CREATE KEY--
  2040. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "KeyBase", VT(0.1, 1, 0.1),false)
  2041. KEY.PrimaryPart = KBASE
  2042. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2043. local WLD = weldBetween(RightArm,KBASE)
  2044. for i = 1, 45 do
  2045. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.1, 0.1, 0.1),false)
  2046. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2047. weldBetween(KBASE,PRT)
  2048. end
  2049. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  2050. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2051. weldBetween(KBASE,PRT)
  2052. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  2053. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2054. weldBetween(KBASE,PRT)
  2055. --------------
  2056. Rooted = true
  2057. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2058. coroutine.resume(coroutine.create(function()
  2059. for i = 1, 10 do
  2060. Swait()
  2061. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2062. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2063. end
  2064. CreateSound(1149318312,BASE,5,1,false)
  2065. CreateSound(160772554,BASE,3,1,false)
  2066. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2067. for i = 1, 4 do
  2068. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2069. end
  2070. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2071. wait(1)
  2072. TORSO.Parent.Parent = LOCK
  2073. for i = 1, 75 do
  2074. Swait()
  2075. local CHILDREN = KEY:GetDescendants()
  2076. for index, CHILD in pairs(CHILDREN) do
  2077. if CHILD:IsA("BasePart") then
  2078. CHILD.Transparency = i/25
  2079. end
  2080. end
  2081. local CHILDREN = LOCK:GetDescendants()
  2082. for index, CHILD in pairs(CHILDREN) do
  2083. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2084. CHILD.Transparency = CHILD.Transparency + 1/75
  2085. elseif CHILD.ClassName == "Decal" then
  2086. CHILD.Transparency = CHILD.Transparency + 1/75
  2087. end
  2088. end
  2089. end
  2090. TORSO.Parent:ClearAllChildren()
  2091. KEY:remove()
  2092. LOCK:remove()
  2093. end))
  2094. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2095. GYRO:remove()
  2096. ATTACK = false
  2097. Rooted = false
  2098. end
  2099. end
  2100. end
  2101.  
  2102. --//=================================\\
  2103. --|| ASSIGN THINGS TO KEYS
  2104. --\\=================================//
  2105.  
  2106. function MouseDown(Mouse)
  2107. HOLD = true
  2108. if ATTACK == false then
  2109. end
  2110. end
  2111.  
  2112. function MouseUp(Mouse)
  2113. HOLD = false
  2114. end
  2115.  
  2116. function KeyDown(Key)
  2117. KEYHOLD = true
  2118. if Key == "z" and ATTACK == false then
  2119. MagicMissiles()
  2120. end
  2121.  
  2122. if Key == "b" and ATTACK == false then
  2123. TimesUp()
  2124. end
  2125.  
  2126. if Key == "c" and ATTACK == false then
  2127. ChainPunch()
  2128. end
  2129.  
  2130. if Key == "v" and ATTACK == false then
  2131. WarpMeteor()
  2132. end
  2133.  
  2134. if Key == "x" and ATTACK == false then
  2135. PandorasBox()
  2136. end
  2137.  
  2138. if Key == "q" and ATTACK == false then
  2139. Key_To_Hell()
  2140. end
  2141.  
  2142. if Key == "t" and ATTACK == false then
  2143. Taunt()
  2144. end
  2145. end
  2146.  
  2147. function KeyUp(Key)
  2148. KEYHOLD = false
  2149. end
  2150.  
  2151. Mouse.Button1Down:connect(function(NEWKEY)
  2152. MouseDown(NEWKEY)
  2153. end)
  2154. Mouse.Button1Up:connect(function(NEWKEY)
  2155. MouseUp(NEWKEY)
  2156. end)
  2157. Mouse.KeyDown:connect(function(NEWKEY)
  2158. KeyDown(NEWKEY)
  2159. end)
  2160. Mouse.KeyUp:connect(function(NEWKEY)
  2161. KeyUp(NEWKEY)
  2162. end)
  2163.  
  2164. --//=================================\\
  2165. --\\=================================//
  2166.  
  2167.  
  2168. function unanchor()
  2169. if UNANCHOR == true then
  2170. RootPart.Anchored = false
  2171. end
  2172. g = Character:GetChildren()
  2173. for i = 1, #g do
  2174. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2175. g[i].Anchored = false
  2176. end
  2177. end
  2178. g = Weapon:GetChildren()
  2179. for i = 1, #g do
  2180. if g[i].ClassName == "Part" then
  2181. g[i].Anchored = false
  2182. end
  2183. end
  2184. end
  2185.  
  2186.  
  2187. --//=================================\\
  2188. --|| WRAP THE WHOLE SCRIPT UP
  2189. --\\=================================//
  2190.  
  2191. Humanoid.Changed:connect(function(Jump)
  2192. if Jump == "Jump" and (Disable_Jump == true) then
  2193. Humanoid.Jump = false
  2194. end
  2195. end)
  2196.  
  2197. while true do
  2198. Swait()
  2199. script.Parent = WEAPONGUI
  2200. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2201. v:Stop();
  2202. end
  2203. ANIMATE.Parent = nil
  2204. SINE = SINE + CHANGE*1.5
  2205. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2206. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2207. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2208. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2209. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2210. 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)
  2211. 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)
  2212. 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)
  2213. 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)
  2214. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2215. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2216. 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)
  2217. 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)
  2218. 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)
  2219. end
  2220. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2221. ANIM = "Jump"
  2222. if ATTACK == false then
  2223. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2224. 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)
  2225. 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)
  2226. 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)
  2227. 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)
  2228. 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)
  2229. end
  2230. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2231. ANIM = "Fall"
  2232. if ATTACK == false then
  2233. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2234. 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)
  2235. 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)
  2236. 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)
  2237. 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)
  2238. 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)
  2239. end
  2240. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2241. ANIM = "Idle"
  2242. if ATTACK == false then
  2243. 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)
  2244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2245. 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)
  2246. 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)
  2247. 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)
  2248. 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)
  2249. end
  2250. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2251. ANIM = "Walk"
  2252. if ATTACK == false then
  2253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2254. 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)
  2255. 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)
  2256. 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)
  2257. 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)
  2258. 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)
  2259. end
  2260. end
  2261. unanchor()
  2262. Humanoid.MaxHealth = "inf"
  2263. Humanoid.Health = "inf"
  2264. if Rooted == false then
  2265. Disable_Jump = false
  2266. Humanoid.WalkSpeed = Speed
  2267. elseif Rooted == true then
  2268. Disable_Jump = true
  2269. Humanoid.WalkSpeed = 0
  2270. end
  2271. sick.SoundId = "rbxassetid://" .. SONG
  2272. sick.Looped = true
  2273. sick.Pitch = 1
  2274. sick.Volume = 3
  2275. sick.Playing = true
  2276. sick.EmitterSize = 50
  2277. if sick.Parent ~= Torso then
  2278. print("Fixing music")
  2279. sick = IT("Sound", Torso)
  2280. sick.SoundId = "rbxassetid://" .. SONG
  2281. sick.Looped = true
  2282. sick.Pitch = 1
  2283. sick.Volume = 3
  2284. sick.Playing = true
  2285. sick.EmitterSize = 50
  2286. sick.TimePosition = 20.7
  2287. end
  2288. for _, c in pairs(Character:GetChildren()) do
  2289. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2290. c.Material = "Fabric"
  2291. if c:FindFirstChildOfClass("ParticleEmitter") then
  2292. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2293. end
  2294. if c ~= Head then
  2295. c.Color = C3(0,0,0)
  2296. else
  2297. c.Color = C3(1,1,1)
  2298. end
  2299. if c == Head then
  2300. if c:FindFirstChild("face") then
  2301. c.face:remove()
  2302. end
  2303. end
  2304. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2305. c:remove()
  2306. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2307. c:remove()
  2308. end
  2309. end
  2310.  
  2311. Humanoid.Name = "Pandora = "..Player.Name
  2312. end
  2313.  
  2314. --//=================================\\
  2315. --\\=================================//
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321. --//====================================================\\--
  2322. --|| END OF SCRIPT
  2323. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement