Advertisement
rohanboi

comfortable's version of heaven pandora

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