Advertisement
rohanboi

heaven pandora

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