Advertisement
Ashie

Untitled

Jun 7th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.57 KB | None | 0 0
  1. warn("Fabulous maddox was created by SezHu and edited by ironsight7 ;D")
  2.  
  3. wait(1 / 40)
  4. Effects = { }
  5. local Player = game.Players.localPlayer
  6. local Mouse = Player:GetMouse()
  7. local Character = Player.Character
  8. local Humanoid = Character.Humanoid
  9. local Head = Character.Head
  10. local RootPart = Character.HumanoidRootPart
  11. local Torso = Character.Torso
  12. local LeftArm = Character["Left Arm"]
  13. local RightArm = Character["Right Arm"]
  14. local LeftLeg = Character["Left Leg"]
  15. local RightLeg = Character["Right Leg"]
  16. local Camera = game.Workspace.CurrentCamera
  17. local RootJoint = RootPart.RootJoint
  18. local Equipped = false
  19. local Attack = false
  20. local Anim = 'Idle'
  21. local Idle = 0
  22. local UIS = game:GetService("UserInputService")
  23. local Combo = 1
  24. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  25. local Velocity = RootPart.Velocity.y
  26. local Sine = 0
  27. local Change = 1
  28. local killcount = 1
  29. local lasersize = 0
  30. local charsize = 2
  31. local CF = CFrame.new
  32. local ANGLES = CFrame.Angles
  33. local RAD = math.rad
  34. local Neck = Torso["Neck"]
  35. local silenced = false
  36. Head.face:Destroy()
  37. Head.Transparency = 1
  38. if(not Humanoid:FindFirstChildOfClass'ForceField')then Instance.new("ForceField",Character).Visible = false end
  39.  
  40. local function soundbork(obj)
  41. if obj:IsA("Sound") and obj.Name ~= "aa" then
  42. obj.Looped = false
  43. obj.Pitch = 1
  44. obj.Volume = 0
  45. return
  46. end
  47.  
  48.  
  49. local children = obj:GetChildren()
  50. for i = 1, #children do
  51. soundbork(children[i])
  52. end
  53. return
  54. end
  55.  
  56. maincol = Torso.Color
  57. maincol2 = Torso.Color
  58.  
  59. local RbxUtility = LoadLibrary("RbxUtility")
  60. local Create = RbxUtility.Create
  61.  
  62. Humanoid.WalkSpeed = 16
  63. Humanoid.JumpPower = 50
  64. Humanoid.Animator.Parent = nil
  65. Character.Animate.Parent = nil
  66.  
  67. local newMotor = function(part0, part1, c0, c1)
  68. local w = Create('Motor'){
  69. Parent = part0,
  70. Part0 = part0,
  71. Part1 = part1,
  72. C0 = c0,
  73. C1 = c1,
  74. }
  75. return w
  76. end
  77.  
  78.  
  79. function clerp(a, b, t)
  80. return a:lerp(b, t)
  81. end
  82.  
  83. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  84. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  85. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  86. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  87. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  88. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  89. RootJoint.C1 = CFrame.new(0, 0, 0)
  90. RootJoint.C0 = CFrame.new(0, 0, 0)
  91. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  92. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  93. local rarmc1 = RW.C1
  94. local larmc1 = LW.C1
  95. local rlegc1 = RH.C1
  96. local llegc1 = LH.C1
  97. local resetc1 = false
  98. Humanoid.Parent = nil
  99. RootPart.Size = RootPart.Size*charsize
  100. Torso.Size = Torso.Size*charsize
  101. RightArm.Size = RightArm.Size*charsize
  102. RightLeg.Size = RightLeg.Size*charsize
  103. LeftArm.Size = LeftArm.Size*charsize
  104. LeftLeg.Size = LeftLeg.Size*charsize
  105. Head.Size = Head.Size*charsize
  106. RootJoint.Parent = RootPart
  107. Neck.Parent = Torso
  108. RW.Parent = Torso
  109. LW.Parent = Torso
  110. RH.Parent = Torso
  111. LH.Parent = Torso
  112. Humanoid.Parent = Character
  113.  
  114. ch = Character:GetChildren()
  115. for i = 1, #ch do
  116. if ch[i].Name == "Torso" then
  117. ch[i].roblox.Transparency = 1
  118. elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then
  119. ch[i]:Destroy()
  120. end
  121. end
  122.  
  123.  
  124. --<><><><><><><><><><><><>--
  125.  
  126. --Passive Effects--
  127.  
  128. --<><><><><><><><><><><><>--
  129.  
  130. spawn(function()
  131. while true do
  132. wait(.1)
  133. if Anim == "Idle" or Anim == "Walk" then
  134. local refpart = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.Random(), "Effect", Vector3.new(math.random(1,3)/6,math.random(1,3)/6,math.random(1,3)/6))
  135. refpart.Anchored = false
  136. refpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),80,math.random(-30,30))
  137. refpart.CanCollide = false
  138. local GRAVITY_ACCELERATION = 3.05
  139. local bodyForce = Instance.new('BodyForce', refpart)
  140. bodyForce.Name = 'Antigravity'
  141. bodyForce.force = Vector3.new(0, refpart:GetMass() * GRAVITY_ACCELERATION, 0)
  142. local rl = Create("BodyAngularVelocity"){
  143. P = 300,
  144. maxTorque = Vector3.new(2, 2, 2),
  145. angularvelocity = Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)),
  146. Parent = refpart,}
  147. table.insert(Effects, {refpart,"Disappear",.003})
  148. game:GetService("Debris"):AddItem(refpart, 10)
  149. end
  150. end
  151. end)
  152.  
  153.  
  154. --<><><><><><><><><><><><>--
  155.  
  156. --Tables and Songs--
  157.  
  158. --<><><><><><><><><><><><>--
  159.  
  160. local songs = {
  161. 1248976746,
  162. 741916467,
  163. 398326013,
  164. 741916467,
  165. 176069112,
  166. 608232329,
  167. }
  168.  
  169. local quotes = {
  170. "OOOOOOF",
  171. "Give me a dab :D",
  172. "Look at me >:V",
  173. "Nice to meet ya",
  174. "DANCE FOR ME >:V",
  175. "OOOOOOF",
  176. }
  177.  
  178. playlist = Instance.new("Sound", Torso)
  179. playlist.SoundId = "rbxassetid://1012455141"
  180. playlist.Volume = 30
  181. playlist.TimePosition = 0
  182. playlist.Name = "aa"
  183. playlist:Play()
  184.  
  185. --<><><><><><><><><><><><>--
  186.  
  187. --Clothes--
  188.  
  189. --<><><><><><><><><><><><>--
  190.  
  191. local top = Instance.new("Shirt")
  192. top.ShirtTemplate = "http://www.roblox.com/asset/?id=275041162"
  193. top.Parent = Character
  194. top.Name = "Cloth"
  195. local bottom = Instance.new("Pants")
  196. bottom.PantsTemplate = "http://www.roblox.com/asset/?id=275041210"
  197. bottom.Parent = Character
  198. bottom.Name = "Cloth"
  199.  
  200. --<><><><><><><><><><><><>--
  201.  
  202. --Name Tag--
  203.  
  204. --<><><><><><><><><><><><>--
  205.  
  206. --[[Humanoid.DisplayDistanceType = "None"
  207. local naeeym2 = Instance.new("BillboardGui",Character)
  208. naeeym2.AlwaysOnTop = false
  209. naeeym2.Size = UDim2.new(5,35,2,15)
  210. naeeym2.StudsOffset = Vector3.new(0,7,0)
  211. naeeym2.MaxDistance = 75
  212. naeeym2.Adornee = Character.Torso
  213. naeeym2.Name = "NOOB HEAD"
  214. local tecks2 = Instance.new("TextLabel",naeeym2)
  215. tecks2.BackgroundTransparency = 1
  216. tecks2.TextScaled = true
  217. tecks2.BorderSizePixel = 0
  218. tecks2.Text = "MeMe"
  219. tecks2.Font = "Fantasy"
  220. tecks2.TextSize = 30
  221. tecks2.TextStrokeTransparency = 0
  222. tecks2.TextColor3 = Color3.new(255, 255, 204)
  223. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  224. tecks2.Size = UDim2.new(3, 0.05, 1.5)
  225. tecks2.Parent = naeeym2]]--
  226.  
  227. function PlayAnimationFromTable(table, speed, bool)
  228. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  229. Neck.C0 = clerp(Neck.C0, table[2], speed)
  230. RW.C0 = clerp(RW.C0, table[3], speed)
  231. LW.C0 = clerp(LW.C0, table[4], speed)
  232. RH.C0 = clerp(RH.C0, table[5], speed)
  233. LH.C0 = clerp(LH.C0, table[6], speed)
  234. if bool == true then
  235. if resetc1 == false then
  236. resetc1 = true
  237. RootJoint.C1 = RootJoint.C1
  238. Torso.Neck.C1 = Torso.Neck.C1
  239. RW.C1 = rarmc1
  240. LW.C1 = larmc1
  241. RH.C1 = rlegc1
  242. LH.C1 = llegc1
  243. end
  244. end
  245. end
  246.  
  247. ArtificialHB = Create("BindableEvent"){
  248. Parent = script,
  249. Name = "Heartbeat",
  250. }
  251.  
  252. script:WaitForChild("Heartbeat")
  253.  
  254. frame = 1 / 45
  255. tf = 0
  256. allowframeloss = false
  257. tossremainder = false
  258. lastframe = tick()
  259. script.Heartbeat:Fire()
  260.  
  261. game:GetService("RunService").Heartbeat:connect(function(s, p)
  262. tf = tf + s
  263. if tf >= frame then
  264. if allowframeloss then
  265. script.Heartbeat:Fire()
  266. lastframe = tick()
  267. else
  268. for i = 1, math.floor(tf / frame) do
  269. script.Heartbeat:Fire()
  270. end
  271. lastframe = tick()
  272. end
  273. if tossremainder then
  274. tf = 0
  275. else
  276. tf = tf - frame * math.floor(tf / frame)
  277. end
  278. end
  279. end)
  280.  
  281. function swait(num)
  282. if num == 0 or num == nil then
  283. ArtificialHB.Event:wait()
  284. else
  285. for i = 0, num do
  286. ArtificialHB.Event:wait()
  287. end
  288. end
  289. end
  290.  
  291. local m = Create("Model"){
  292. Parent = Character,
  293. Name = "WeaponModel"
  294. }
  295.  
  296. local m2 = Create("Model"){
  297. Parent = Character,
  298. Name = "WeaponModel2"
  299. }
  300.  
  301. function RemoveOutlines(part)
  302. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  303. end
  304.  
  305. CFuncs = {
  306. Part = {
  307. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  308. local Part = Create("Part"){
  309. Parent = Parent,
  310. Reflectance = Reflectance,
  311. Transparency = Transparency,
  312. CanCollide = false,
  313. Locked = true,
  314. BrickColor = BrickColor.new(tostring(BColor)),
  315. Name = Name,
  316. Size = Size,
  317. Material = Material,
  318. }
  319. RemoveOutlines(Part)
  320. if Size == Vector3.new() then
  321. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  322. else
  323. Part.Size = Size
  324. end
  325. return Part
  326. end;
  327. };
  328.  
  329. Mesh = {
  330. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  331. local Msh = Create(Mesh){
  332. Parent = Part,
  333. Offset = OffSet,
  334. Scale = Scale,
  335. }
  336. if Mesh == "SpecialMesh" then
  337. Msh.MeshType = MeshType
  338. Msh.MeshId = MeshId
  339. end
  340. return Msh
  341. end;
  342. };
  343.  
  344. Weld = {
  345. Create = function(Parent, Part0, Part1, C0, C1)
  346. local Weld = Create("Weld"){
  347. Parent = Parent,
  348. Part0 = Part0,
  349. Part1 = Part1,
  350. C0 = C0,
  351. C1 = C1,
  352. }
  353. return Weld
  354. end;
  355. };
  356.  
  357. Sound = {
  358. Create = function(id, par, vol, pit)
  359. local Sound = Create("Sound"){
  360. Volume = vol,
  361. Pitch = pit or 1,
  362. SoundId = "rbxassetid://" .. id,
  363. Parent = par or workspace,
  364. Name = "aa"
  365. }
  366. Sound:play()
  367. return Sound
  368. end;
  369. };
  370.  
  371. Decal = {
  372. Create = function(Color, Texture, Transparency, Name, Parent)
  373. local Decal = Create("Decal"){
  374. Color3 = Color,
  375. Texture = "rbxassetid://" .. Texture,
  376. Transparency = Transparency,
  377. Name = Name,
  378. Parent = Parent,
  379. }
  380. return Decal
  381. end;
  382. };
  383.  
  384. BillboardGui = {
  385. Create = function(Parent, Image, Position, Size)
  386. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  387. BillPar.CFrame = CFrame.new(Position)
  388. local Bill = Create("BillboardGui"){
  389. Parent = BillPar,
  390. Adornee = BillPar,
  391. Size = UDim2.new(1, 0, 1, 0),
  392. SizeOffset = Vector2.new(Size, Size),
  393. }
  394. local d = Create("ImageLabel", Bill){
  395. Parent = Bill,
  396. BackgroundTransparency = 1,
  397. Size = UDim2.new(1, 0, 1, 0),
  398. Image = "rbxassetid://" .. Image,
  399. }
  400. return BillPar
  401. end
  402. };
  403.  
  404. ParticleEmitter = {
  405. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  406. local Particle = Create("ParticleEmitter"){
  407. Parent = Parent,
  408. Color = ColorSequence.new(Color1, Color2),
  409. LightEmission = LightEmission,
  410. Size = Size,
  411. Texture = Texture,
  412. Transparency = Transparency,
  413. ZOffset = ZOffset,
  414. Acceleration = Accel,
  415. Drag = Drag,
  416. LockedToPart = LockedToPart,
  417. VelocityInheritance = VelocityInheritance,
  418. EmissionDirection = EmissionDirection,
  419. Enabled = Enabled,
  420. Lifetime = LifeTime,
  421. Rate = Rate,
  422. Rotation = Rotation,
  423. RotSpeed = RotSpeed,
  424. Speed = Speed,
  425. VelocitySpread = VelocitySpread,
  426. }
  427. return Particle
  428. end;
  429. };
  430.  
  431. CreateTemplate = {
  432.  
  433. };
  434. }
  435.  
  436.  
  437.  
  438.  
  439. function RayCast(Position, Direction, Range, Ignore)
  440. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  441. end
  442.  
  443. FindNearestTorso = function(pos)
  444. local list = (game.Workspace:children())
  445. local torso = nil
  446. local dist = 1000
  447. local temp, human, temp2 = nil, nil, nil
  448. for x = 1, #list do
  449. temp2 = list[x]
  450. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  451. temp = temp2:findFirstChild("Torso")
  452. human = temp2:findFirstChild("Humanoid")
  453. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  454. local dohit = true
  455. if dohit == true then
  456. torso = temp
  457. dist = (temp.Position - pos).magnitude
  458. end
  459. end
  460. end
  461. end
  462. return torso, dist
  463. end
  464.  
  465. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  466.  
  467. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  468. prt.Anchored = true
  469. prt.CFrame = cframe
  470. prt.Material = "Neon"
  471. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  472. game:GetService("Debris"):AddItem(prt, 10)
  473. coroutine.resume(coroutine.create(function(Part, Mesh)
  474.  
  475. for i = 0, 1, delay do
  476. swait()
  477. Part.Transparency = i
  478. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  479. end
  480. Part.Parent = nil
  481. end
  482. ), prt, msh)
  483. end
  484.  
  485.  
  486.  
  487.  
  488. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  489.  
  490. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  491. local MainPos = partt.Position
  492. local MainPos2 = mouse.Hit.p + SpreadVectors
  493. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  494. local speed = 1000
  495. local num = 1
  496. coroutine.resume(coroutine.create(function()
  497.  
  498. repeat
  499. swait()
  500. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  501. local mag = (MainPos - pos).magnitude
  502. Laser(BrickColor.new(maincol), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), 20, 20, 0, 20, 0.8)
  503. MainPos = MainPos + MouseLook.lookVector * speed
  504. num = num - 1
  505. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  506. if hit ~= nil then
  507. num = 0
  508. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  509. refpart.Anchored = true
  510. refpart.CFrame = CFrame.new(pos)
  511. game:GetService("Debris"):AddItem(refpart, 2)
  512. end
  513. do
  514. if num <= 0 then
  515. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  516. refpart.Anchored = true
  517. refpart.CFrame = CFrame.new(pos)
  518. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 10, 10, 10, 10, 10, 10, .1, 1)
  519. Effects.Break.Create(BrickColor.new(maincol), refpart.CFrame, 2, 10, 2)
  520. if hit ~= nil then
  521. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  522. end
  523. game:GetService("Debris"):AddItem(refpart, 0)
  524. end
  525. end
  526. until num <= 0
  527. end
  528. ))
  529. end
  530.  
  531.  
  532. Laser2 = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  533.  
  534. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5+lasersize, 0.5, 0.5+lasersize))
  535. prt.Anchored = true
  536. prt.CFrame = cframe
  537. prt.Material = "Neon"
  538. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  539. game:GetService("Debris"):AddItem(prt, 10)
  540. coroutine.resume(coroutine.create(function(Part, Mesh)
  541.  
  542. for i = 0, 1, delay do
  543. swait()
  544. Part.Transparency = i
  545. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  546. end
  547. Part.Parent = nil
  548. end
  549. ), prt, msh)
  550. end
  551.  
  552.  
  553.  
  554.  
  555. shoot2 = function(mouse, aoe , partt, SpreadAmount, multiply)
  556.  
  557. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  558. local MainPos = partt.Position
  559. local MainPos2 = mouse.Hit.p + SpreadVectors
  560. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  561. local speed = 1000
  562. local num = 1
  563. coroutine.resume(coroutine.create(function()
  564.  
  565. repeat
  566. swait()
  567. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  568. local mag = (MainPos - pos).magnitude
  569. Laser2(BrickColor.new(maincol), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .8, .8, 0, .8, 0.8)
  570. MainPos = MainPos + MouseLook.lookVector * speed
  571. num = num - 1
  572. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  573. if hit ~= nil then
  574. num = 0
  575. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  576. refpart.Anchored = true
  577. refpart.CFrame = CFrame.new(pos)
  578. game:GetService("Debris"):AddItem(refpart, 2)
  579. end
  580. do
  581. if num <= 0 then
  582. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  583. refpart.Anchored = true
  584. refpart.CFrame = CFrame.new(pos)
  585. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 1, 1, 1, 1+lasersize, 1+lasersize, 1+lasersize, .05, 1)
  586. if hit ~= nil then
  587. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  588. end
  589. game:GetService("Debris"):AddItem(refpart, 0)
  590. end
  591. end
  592. until num <= 0
  593. end
  594. ))
  595. end
  596.  
  597.  
  598.  
  599.  
  600. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  601. if hit.Parent == nil then
  602. return
  603. end
  604. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  605. for _, v in pairs(hit.Parent:children()) do
  606. if v:IsA("Humanoid") then
  607. h = v
  608. end
  609. end
  610. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  611. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  612. if hit.Parent.DebounceHit.Value == true then
  613. return
  614. end
  615. end
  616. local c = Create("ObjectValue"){
  617. Name = "creator",
  618. Value = game:service("Players").LocalPlayer,
  619. Parent = h,
  620. }
  621. game:GetService("Debris"):AddItem(c, .5)
  622. if HitSound ~= nil and HitPitch ~= nil then
  623. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  624. end
  625. local Damage = math.random(minim, maxim)
  626. local blocked = false
  627. local block = hit.Parent:findFirstChild("Block")
  628. if block ~= nil then
  629. if block.className == "IntValue" then
  630. if block.Value > 0 then
  631. blocked = true
  632. block.Value = block.Value - 1
  633. print(block.Value)
  634. end
  635. end
  636. end
  637. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 100 and hit.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  638. for i = 0, 1, 0.1 do
  639. Effects.Break.Create(BrickColor.new("New Yeller"), hit.CFrame, 1, 4, 1)
  640. end
  641. CFuncs.Sound.Create("130850914", Torso, 5, 1)
  642. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Poof!", 5, BrickColor.new("New Yeller").Color, BrickColor.new("Really black").Color)
  643. for _,v in pairs(hit.Parent:children()) do
  644. if v:IsA("Part") then
  645. v.Transparency = 1
  646. end
  647. end
  648. hit.Parent:BreakJoints()
  649. else
  650. h.Health = h.Health - Damage
  651. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("White").Color, BrickColor.new("Really black").Color)
  652. end
  653. if Type == "Seizure" then
  654. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  655. Effects.InnerSphere.Create(BrickColor.new("New Yeller"), hit.Parent.Torso.CFrame, 100, 2, .01)
  656. spawn(function()
  657. for i = 1, 1000 do
  658. swait()
  659. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  660. hum.MaxHealth = hum.MaxHealth - 10
  661. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(math.random(-1,1)/2,0,math.random(-1,1)/2)
  662. end
  663. end)
  664. elseif Type == "Paralyze" then
  665. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  666. coroutine.resume(coroutine.create(function(HHumanoid)
  667. CFuncs.Sound.Create("130850914", hit.Parent.Torso, 1, 1)
  668. CFuncs.Sound.Create("130850914", hit.Parent.Torso, 1, 1)
  669. Effects.InnerSphere.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 100, 2, .01)
  670. local rl = Create("BodyAngularVelocity"){
  671. P = 3000,
  672. maxTorque = Vector3.new(50, 50, 50)* 200000000000,
  673. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  674. Parent = hit,
  675. }
  676. wait(.1)
  677. rl:Destroy()
  678. for i = 1, 500 do
  679. local rl = Create("BodyAngularVelocity"){
  680. P = 3000,
  681. maxTorque = Vector3.new(50, 50, 50)* 20,
  682. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  683. Parent = hit,
  684. }
  685. hum.Health = hum.Health - .01
  686. hum.PlatformStand = true
  687. for _,v in pairs(hit.Parent:children()) do
  688. if v:IsA("Part") then
  689. local oldcol = v.BrickColor
  690. v.BrickColor = BrickColor.new("New Yeller")
  691. wait(.1)
  692. v.BrickColor = oldcol
  693. end
  694. end
  695. rl:Destroy()
  696. end
  697.  
  698. HHumanoid.PlatformStand = false
  699. end), hum)
  700. elseif Type == "Knockdown" then
  701. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  702. hum.PlatformStand = true
  703. coroutine.resume(coroutine.create(function(HHumanoid)
  704. swait(1)
  705. HHumanoid.PlatformStand = false
  706. end), hum)
  707. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  708. local bodvol = Create("BodyVelocity"){
  709. velocity = angle * knockback,
  710. P = 5000,
  711. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  712. Parent = hit,
  713. }
  714. local rl = Create("BodyAngularVelocity"){
  715. P = 3000,
  716. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  717. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  718. Parent = hit,
  719. }
  720. game:GetService("Debris"):AddItem(bodvol, .5)
  721. game:GetService("Debris"):AddItem(rl, .5)
  722.  
  723. elseif Type == "Normal" then
  724. local vp = Create("BodyVelocity"){
  725. P = 500,
  726. maxForce = Vector3.new(math.huge, 0, math.huge),
  727. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  728. }
  729.  
  730.  
  731.  
  732.  
  733. if knockback > 0 then
  734. vp.Parent = hit.Parent.Torso
  735. end
  736. game:GetService("Debris"):AddItem(vp, .5)
  737. elseif Type == "Float" then
  738. local vp = Create("BodyVelocity"){
  739. P = 10,
  740. maxForce = Vector3.new(math.huge, 0, math.huge),
  741. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  742. }
  743. print(hit.Parent)
  744. if knockback > 0 then
  745. vp.Parent = hit.Parent.Torso
  746. end
  747. local hum = hit.Parent.Humanoid
  748. hum.PlatformStand = true
  749. local TotalMass = 0
  750. for _, part in pairs(hit.Parent:GetChildren()) do
  751. if part:IsA("Part") then
  752. TotalMass = TotalMass + part:GetMass()
  753. end
  754. end
  755. local ForceOfGravity = -200 * TotalMass
  756. local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
  757. floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
  758. local rl = Create("BodyAngularVelocity"){
  759. P = 500,
  760. maxTorque = Vector3.new(10, 10, 10),
  761. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  762. Parent = hit,
  763. }
  764. game:GetService("Debris"):AddItem(rl, 20)
  765. game:GetService("Debris"):AddItem(floatybits, 20)
  766. game:GetService("Debris"):AddItem(vp, .5)
  767.  
  768. spawn(function()
  769. for i = 1, 70 do
  770. wait(.2)
  771. Effects.Block.Create(BrickColor.new("White"), hit.Parent.Torso.CFrame * CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-8,8))*CFrame.Angles(0,math.rad(90),0), .1, .1, .1, .1, 2, .1, .04, 2)
  772. end
  773. end)
  774.  
  775. elseif Type == "Up" then
  776. local bodyVelocity = Create("BodyVelocity"){
  777. velocity = Vector3.new(0, 20, 0),
  778. P = 5000,
  779. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  780. Parent = hit,
  781. }
  782. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  783. elseif Type == "DarkUp" then
  784. coroutine.resume(coroutine.create(function()
  785. for i = 0, 1, 0.1 do
  786. swait()
  787. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  788. end
  789. end))
  790. local bodyVelocity = Create("BodyVelocity"){
  791. velocity = Vector3.new(0, 20, 0),
  792. P = 5000,
  793. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  794. Parent = hit,
  795. }
  796. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  797. elseif Type == "Snare" then
  798. local bp = Create("BodyPosition"){
  799. P = 2000,
  800. D = 100,
  801. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  802. position = hit.Parent.Torso.Position,
  803. Parent = hit.Parent.Torso,
  804. }
  805. game:GetService("Debris"):AddItem(bp, 1)
  806. elseif Type == "Freeze" then
  807. local BodPos = Create("BodyPosition"){
  808. P = 50000,
  809. D = 1000,
  810. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  811. position = hit.Parent.Torso.Position,
  812. Parent = hit.Parent.Torso,
  813. }
  814. local BodGy = Create("BodyGyro") {
  815. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  816. P = 20e+003,
  817. Parent = hit.Parent.Torso,
  818. CFrame = hit.Parent.Torso.CFrame,
  819. }
  820. CFuncs.Sound.Create("585135955", hit.Parent.Torso, 5, 1)
  821. Effects.Block.Create(BrickColor.new("Baby blue"), hit.Parent.Torso.CFrame, 3, 3, 3, 3, 5, 3, .02, 2)
  822. hit.Parent.Torso.Anchored = true
  823. coroutine.resume(coroutine.create(function(Part)
  824. swait(1.5)
  825. Part.Anchored = false
  826. end), hit.Parent.Torso)
  827. game:GetService("Debris"):AddItem(BodPos, 3)
  828. game:GetService("Debris"):AddItem(BodGy, 3)
  829. end
  830. local debounce = Create("BoolValue"){
  831. Name = "DebounceHit",
  832. Parent = hit.Parent,
  833. Value = true,
  834. }
  835. if Delay > 0 then
  836. game:GetService("Debris"):AddItem(debounce, Delay)
  837. c = Create("ObjectValue"){
  838. Name = "creator",
  839. Value = Player,
  840. Parent = h,
  841. }
  842. end
  843. game:GetService("Debris"):AddItem(c, .5)
  844. end
  845. end
  846.  
  847. function ShowDamage(Pos, Text, Time, Color, Color2)
  848. local Rate = (1 / 45)
  849. local Pos = (Pos or Vector3.new(0, 0, 0))
  850. local Text = (Text or "")
  851. local Time = (Time or 2)
  852. local Color = (Color or Color3.new(1, 0, 1))
  853. local Color2 = (Color2 or Color3.new(1, 0, 1))
  854. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  855. EffectPart.Anchored = false
  856. EffectPart.CFrame = CFrame.new(Pos)
  857. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(60,70)
  858. local sizebit = 5
  859. local BillboardGui = Create("BillboardGui"){
  860. Size = UDim2.new(sizebit, 0, sizebit, 0),
  861. Adornee = EffectPart,
  862. Parent = EffectPart,
  863. }
  864. local TextLabel = Create("TextLabel"){
  865. BackgroundTransparency = 1,
  866. Size = UDim2.new(1, 0, 1, 0),
  867. Text = Text,
  868. Font = "Cartoon",
  869. TextColor3 = Color,
  870. TextStrokeColor3 = Color2,
  871. TextStrokeTransparency = 0,
  872. TextScaled = true,
  873. Parent = BillboardGui,
  874. }
  875. game.Debris:AddItem(EffectPart, (Time))
  876. EffectPart.Parent = game:GetService("Workspace")
  877. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  878. delay(0, function()
  879. local Frames = (Time / Rate)
  880. wait(.5)
  881. EffectPart.Anchored = true
  882. wait(.5)
  883. for Frame = 1, Frames do
  884. wait(Rate)
  885. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  886. local Percent = (Frame / Frames)
  887. TextLabel.TextTransparency = Percent
  888. sizebit = sizebit - .4
  889. end
  890. if EffectPart and EffectPart.Parent then
  891. EffectPart:Destroy()
  892. end
  893. end)
  894. end
  895.  
  896. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitPitch)
  897. for _, c in pairs(workspace:children()) do
  898. local hum = c:findFirstChildOfClass("Humanoid")
  899. if hum ~= nil then
  900. local head = c:findFirstChild("Torso")
  901. if head ~= nil then
  902. local targ = head.Position - Part.Position
  903. local mag = targ.magnitude
  904. if mag <= Magnitude and c.Name ~= Player.Name then
  905. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitPitch)
  906. end
  907. end
  908. end
  909. end
  910. end
  911.  
  912. EffectModel = Create("Model"){
  913. Parent = Character,
  914. Name = "EffectModel",
  915. }
  916.  
  917. Effects = {
  918. Block = {
  919. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  920. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  921. prt.Anchored = true
  922. prt.CFrame = cframe
  923. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  924. game:GetService("Debris"):AddItem(prt, 10)
  925. if Type == 1 or Type == nil then
  926. table.insert(Effects, {
  927. prt,
  928. "Block1",
  929. delay,
  930. x3,
  931. y3,
  932. z3,
  933. msh
  934. })
  935. elseif Type == 2 then
  936. table.insert(Effects, {
  937. prt,
  938. "Block2",
  939. delay,
  940. x3,
  941. y3,
  942. z3,
  943. msh
  944. })
  945. end
  946. end;
  947. };
  948.  
  949. Cylinder = {
  950. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  951. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  952. prt.Anchored = true
  953. prt.CFrame = cframe
  954. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  955. game:GetService("Debris"):AddItem(prt, 2)
  956. table.insert(Effects, {
  957. prt,
  958. "Cylinder",
  959. delay,
  960. x3,
  961. y3,
  962. z3,
  963. msh
  964. })
  965. end;
  966. };
  967.  
  968. Head = {
  969. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  970. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  971. prt.Anchored = true
  972. prt.CFrame = cframe
  973. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  974. game:GetService("Debris"):AddItem(prt, 10)
  975. table.insert(Effects, {
  976. prt,
  977. "Cylinder",
  978. delay,
  979. x3,
  980. y3,
  981. z3,
  982. msh
  983. })
  984. end;
  985. };
  986.  
  987. Sphere1 = {
  988. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  989. local prt = CFuncs.Part.Create(EffectModel, "Slate", 0, 0, brickcolor, "Effect", Vector3.new())
  990. prt.Anchored = true
  991. prt.CFrame = cframe
  992. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  993. game:GetService("Debris"):AddItem(prt, 10)
  994. table.insert(Effects, {
  995. prt,
  996. "Cylinder",
  997. delay,
  998. x3,
  999. y3,
  1000. z3,
  1001. msh
  1002. })
  1003. end;
  1004. };
  1005.  
  1006. Sphere2 = {
  1007. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1008. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1009. prt.Anchored = true
  1010. prt.CFrame = cframe
  1011. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Cylinder",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. end;
  1023. };
  1024.  
  1025. InnerSphere = {
  1026. Create = function(brickcolor, cframe, size, shrinkspeed, appspeed)
  1027. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1028. prt.Anchored = true
  1029. prt.CFrame = cframe
  1030. prt.Transparency = 1
  1031. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(size, size, size))
  1032. game:GetService("Debris"):AddItem(prt, 10)
  1033. spawn(function()
  1034. while true do
  1035. if size ~= 0 then
  1036. swait()
  1037. msh.Scale = Vector3.new(size, size, size)
  1038. size = size - shrinkspeed or size - 1
  1039. prt.Transparency = prt.Transparency - appspeed
  1040. else prt:Destroy() break
  1041. end
  1042. end
  1043. end)
  1044. end;
  1045. };
  1046.  
  1047. Elect = {
  1048. Create = function(cff, x, y, z)
  1049. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1))
  1050. prt.Anchored = true
  1051. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1052. prt.CFrame = CFrame.new(prt.Position)
  1053. game:GetService("Debris"):AddItem(prt, 2)
  1054. local xval = math.random() / 2
  1055. local yval = math.random() / 2
  1056. local zval = math.random() / 2
  1057. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1058. table.insert(Effects, {
  1059. prt,
  1060. "Elec",
  1061. 0.1,
  1062. x,
  1063. y,
  1064. z,
  1065. xval,
  1066. yval,
  1067. zval
  1068. })
  1069. end;
  1070.  
  1071. };
  1072.  
  1073. Ring = {
  1074. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1075. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1076. prt.Anchored = true
  1077. prt.CFrame = cframe
  1078. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1079. game:GetService("Debris"):AddItem(prt, 10)
  1080. table.insert(Effects, {
  1081. prt,
  1082. "Cylinder",
  1083. delay,
  1084. x3,
  1085. y3,
  1086. z3,
  1087. msh
  1088. })
  1089. end;
  1090. };
  1091.  
  1092.  
  1093. Wave = {
  1094. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1095. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1096. prt.Anchored = true
  1097. prt.CFrame = cframe
  1098. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1099. game:GetService("Debris"):AddItem(prt, 10)
  1100. table.insert(Effects, {
  1101. prt,
  1102. "Cylinder",
  1103. delay,
  1104. x3,
  1105. y3,
  1106. z3,
  1107. msh
  1108. })
  1109. end;
  1110. };
  1111.  
  1112. Break = {
  1113. Create = function(brickcolor, cframe, x1, y1, z1)
  1114. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1115. prt.Anchored = true
  1116. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1117. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1118. local num = math.random(10, 50) / 1000
  1119. game:GetService("Debris"):AddItem(prt, 10)
  1120. table.insert(Effects, {
  1121. prt,
  1122. "Shatter",
  1123. num,
  1124. prt.CFrame,
  1125. math.random() - math.random(),
  1126. 0,
  1127. math.random(50, 100) / 100
  1128. })
  1129. end;
  1130. };
  1131.  
  1132. Fire = {
  1133. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1134. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1135. prt.Anchored = true
  1136. prt.CFrame = cframe
  1137. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1138. game:GetService("Debris"):AddItem(prt, 10)
  1139. table.insert(Effects, {
  1140. prt,
  1141. "Fire",
  1142. delay,
  1143. 1,
  1144. 1,
  1145. 1,
  1146. msh
  1147. })
  1148. end;
  1149. };
  1150.  
  1151. FireWave = {
  1152. Create = function(brickcolor, cframe, x1, y1, z1)
  1153. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1154. prt.Anchored = true
  1155. prt.CFrame = cframe
  1156. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1157. local d = Create("Decal"){
  1158. Parent = prt,
  1159. Texture = "rbxassetid://1047998",
  1160. Face = "Top",
  1161. }
  1162. local d = Create("Decal"){
  1163. Parent = prt,
  1164. Texture = "rbxassetid://1047998",
  1165. Face = "Bottom",
  1166. }
  1167. game:GetService("Debris"):AddItem(prt, 10)
  1168. table.insert(Effects, {
  1169. prt,
  1170. "FireWave",
  1171. 1,
  1172. 30,
  1173. math.random(400, 600) / 100,
  1174. msh
  1175. })
  1176. end;
  1177. };
  1178.  
  1179. Lightning = {
  1180. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1181. local magz = (p0 - p1).magnitude
  1182. local curpos = p0
  1183. local trz = {
  1184. -ofs,
  1185. ofs
  1186. }
  1187. for i = 1, tym do
  1188. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1189. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1190. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1191. li.Material = "Neon"
  1192. if tym == i then
  1193. local magz2 = (curpos - p1).magnitude
  1194. li.Size = Vector3.new(th, th, magz2)
  1195. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1196. table.insert(Effects, {
  1197. li,
  1198. "Disappear",
  1199. last
  1200. })
  1201. else
  1202. do
  1203. do
  1204. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1205. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1206. game.Debris:AddItem(li, 10)
  1207. table.insert(Effects, {
  1208. li,
  1209. "Disappear",
  1210. last
  1211. })
  1212. end
  1213. end
  1214. end
  1215. end
  1216. end
  1217. };
  1218.  
  1219. EffectTemplate = {
  1220.  
  1221. };
  1222. }
  1223. --Head
  1224. Hat=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Medium stone grey","Hat",Vector3.new(.1, .1, .1))
  1225. HatWeld=CFuncs.Weld.Create(m,Character["Head"],Hat,CFrame.new(-0.04, 173.28, -0.03),CFrame.new(-0.04, 173.28, -0.03))
  1226. meh=CFuncs.Mesh.Create("SpecialMesh",Hat,Enum.MeshType.FileMesh,"rbxassetid://530013104",Vector3.new(.1, .1, .1),Vector3.new(.1, .1, .1))
  1227. meh.TextureId = "http://www.roblox.com/asset/?id=64029530"
  1228.  
  1229.  
  1230.  
  1231. for _,v in pairs(m2:children()) do
  1232. if v:IsA("Part") and v.Name == "pand" then
  1233. v.Transparency = 1
  1234. end
  1235. end
  1236.  
  1237.  
  1238. --Start neccessary functions here
  1239.  
  1240. function Tween(obj,props,time,easing,direction,repeats,backwards)
  1241. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  1242. local tween = game:service'TweenService':Create(obj, info, props)
  1243.  
  1244. tween:Play()
  1245. end
  1246.  
  1247. function Trace()
  1248. for _,v in next, Character:GetChildren() do
  1249. if(v:IsA'Part') and v ~= RootPart then
  1250. local trace = Instance.new("Part")
  1251. trace.Parent = workspace
  1252. trace.Size = v.Size
  1253. trace.Material = Enum.Material.Neon
  1254. trace.Color = maincol
  1255. trace.Transparency = .3
  1256. trace.Anchored = true
  1257. trace.CanCollide = false
  1258. trace.CFrame = v.CFrame
  1259. Tween(trace,{Transparency=1},.5)
  1260. game:GetService("Debris"):AddItem(trace, 1)
  1261. if v.Name == "Head" then
  1262. local mehs = Instance.new("CylinderMesh",trace)
  1263. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1264. end
  1265. end
  1266. end
  1267. end
  1268.  
  1269.  
  1270. function ducks()
  1271. for i = 0, 3, 0.1 do
  1272. swait()
  1273. PlayAnimationFromTable({
  1274. CFrame.new(0, -0, 0, 1, 8.04662704e-07, -3.01003456e-06, 0, 0.965925872, 0.258819103, 3.11434269e-06, -0.258819133, 0.965925932) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1275. CFrame.new(0.0227765162, 2.36835814, -2.66195869, 1, 6.9886446e-06, 4.02331352e-06, -2.08616257e-06, -0.258818984, 0.965925932, 7.77840614e-06, -0.965925932, -0.258818954) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1276. CFrame.new(2.02689314, 1.83810854, -1.15534818, 0, 0.342032284, 0.939688325, 0.965925872, -0.243209288, 0.0885244831, 0.258819103, 0.907669246, -0.330377817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1277. CFrame.new(-1.95138168, 1.77444541, -1.29813623, 0.122574523, -0.49350512, -0.861062288, -0.961303234, -0.274721175, 0.0206083059, -0.246722341, 0.825215876, -0.508081853) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1278. CFrame.new(1.00000215, -4.22291946, -0.0263157077, 1, -5.10364771e-07, 1.89244747e-06, 5.10364771e-07, 1.00000012, -2.98023224e-08, -1.92224979e-06, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1279. CFrame.new(-1.0000006, -3.81518364, -1.21633136, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1280. }, .3, false)
  1281. end
  1282. for i = 1, 2 do
  1283. for i = 0, 1, 0.1 do
  1284. swait()
  1285. PlayAnimationFromTable({
  1286. CFrame.new(0, -0, 0, 1, 8.04662704e-07, -3.01003456e-06, 0, 0.965925872, 0.258819103, 3.11434269e-06, -0.258819133, 0.965925932) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1287. CFrame.new(0.266832203, 2.16833496, -3.91155529, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1288. CFrame.new(2.06273198, 1.47406721, -1.53684735, 0, 0.707109213, 0.707104445, 0.965925872, -0.183012128, 0.18301338, 0.258819103, 0.683010459, -0.683015108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1289. CFrame.new(-1.81047451, 1.47174859, -1.69800615, 0.056022916, -0.766043305, -0.640342951, -0.979530215, -0.166366309, 0.113326266, -0.193344265, 0.620886445, -0.759682953) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1290. CFrame.new(1.00000215, -4.22291946, -0.0263157077, 1, -5.10364771e-07, 1.89244747e-06, 5.10364771e-07, 1.00000012, -2.98023224e-08, -1.92224979e-06, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1291. CFrame.new(-1.0000006, -3.81518364, -1.21633136, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1292. }, .3, false)
  1293. end
  1294. for i = 0, 1, 0.1 do
  1295. swait()
  1296. PlayAnimationFromTable({
  1297. CFrame.new(0, -0, 0, 1, 8.04662704e-07, -3.01003456e-06, 0, 0.965925872, 0.258819103, 3.11434269e-06, -0.258819133, 0.965925932) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1298. CFrame.new(0.266833276, 0.933555186, -3.88168001, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1299. CFrame.new(1.94570374, 1.23016787, -1.402282, -0.183013678, 0.683017731, 0.707101703, 0.98037976, 0.0732246935, 0.183013454, 0.0732241273, 0.726722121, -0.68301785) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1300. CFrame.new(-1.88480496, 1.2523725, -1.43212485, -0.144152611, -0.754439712, -0.640344262, -0.989212334, 0.0928238332, 0.113325842, -0.0260583311, 0.649772704, -0.759681821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1301. CFrame.new(1.00000215, -4.22291946, -0.0263157077, 1, -5.10364771e-07, 1.89244747e-06, 5.10364771e-07, 1.00000012, -2.98023224e-08, -1.92224979e-06, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1302. CFrame.new(-1.0000006, -3.81518364, -1.21633136, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1303. }, .3, false)
  1304. end
  1305. end
  1306. CFuncs.Sound.Create("270620358", Hat, 3, 1)
  1307. for i = 0, 3, 0.1 do
  1308. swait()
  1309. PlayAnimationFromTable({
  1310. CFrame.new(0, -0, 0, 1, 8.04662704e-07, -3.01003456e-06, 0, 0.965925872, 0.258819103, 3.11434269e-06, -0.258819133, 0.965925932) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(0.0227765162, 2.36835814, -2.66195869, 1, 6.9886446e-06, 4.02331352e-06, -2.08616257e-06, -0.258818984, 0.965925932, 7.77840614e-06, -0.965925932, -0.258818954) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. CFrame.new(2.02689314, 1.83810854, -1.15534818, 0, 0.342032284, 0.939688325, 0.965925872, -0.243209288, 0.0885244831, 0.258819103, 0.907669246, -0.330377817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1313. CFrame.new(-1.95138168, 1.77444541, -1.29813623, 0.122574523, -0.49350512, -0.861062288, -0.961303234, -0.274721175, 0.0206083059, -0.246722341, 0.825215876, -0.508081853) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1314. CFrame.new(1.00000215, -4.22291946, -0.0263157077, 1, -5.10364771e-07, 1.89244747e-06, 5.10364771e-07, 1.00000012, -2.98023224e-08, -1.92224979e-06, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1315. CFrame.new(-1.0000006, -3.81518364, -1.21633136, 1, 0, 3.11434269e-06, 8.04662704e-07, 0.965925872, -0.258819133, -3.01003456e-06, 0.258819103, 0.965925932) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1316. }, .2, false)
  1317. end
  1318. qwek = Instance.new("Sound", Torso)
  1319. qwek.SoundId = "rbxassetid://271006579"
  1320. qwek.Looped = true
  1321. qwek.Volume = 5
  1322. qwek.Pitch = .8
  1323. qwek:Play()
  1324. qwek2 = Instance.new("Sound", Torso)
  1325. qwek2.SoundId = "rbxassetid://271006579"
  1326. qwek2.Looped = true
  1327. qwek2.Volume = 5
  1328. qwek2.Pitch = 1
  1329. qwek2:Play()
  1330. qwek3 = Instance.new("Sound", Torso)
  1331. qwek3.SoundId = "rbxassetid://137019497"
  1332. qwek3.Looped = true
  1333. qwek3.Volume = 5
  1334. qwek3.Pitch = 1.3
  1335. qwek3:Play()
  1336. for i = 0, 10, 0.1 do
  1337. swait()
  1338. PlayAnimationFromTable({
  1339. CFrame.new(0, -0, 0, 1.00000095, 8.12113285e-07, -3.02493572e-06, 0, 0.965925872, 0.258819103, 3.11434269e-06, -0.258819371, 0.965926886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1340. CFrame.new(0.022777468, 5.66071653, -1.77978086, 1.00000095, 0, -1.31428242e-05, -3.39746475e-06, 0.965925872, -0.258819371, 1.26957893e-05, 0.258819103, 0.965926886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1341. CFrame.new(2.11248255, 3.06429124, -1.06128931, -0.16178672, 0.22040607, 0.961898208, -0.0629198849, -0.97505945, 0.212838948, 0.984818876, -0.0260875672, 0.171619475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1342. CFrame.new(-1.96463084, 3.01722312, -1.42708611, -0.0698213056, -0.227341518, -0.971309781, -0.0906620771, -0.968209505, 0.233133003, -0.993432164, 0.104339033, 0.0469902605) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1343. CFrame.new(1.00000072, -2.54767346, -0.749675632, 1.00000083, -7.37607479e-07, 2.01165676e-06, 5.58793545e-07, 0.996194899, 0.0871552527, -2.05636024e-06, -0.0871557891, 0.996195674) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1344. CFrame.new(-1.00000954, -3.15354609, -1.14733529, 1.00000095, 0, 3.11434269e-06, 8.12113285e-07, 0.965925872, -0.258819371, -3.02493572e-06, 0.258819103, 0.965926886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1345. }, .3, false)
  1346. local duk=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright yellow","duk",Vector3.new(2, 2, 2))
  1347. local moosh = CFuncs.Mesh.Create("SpecialMesh",duk,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1047997",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1348. duk.CFrame = Hat.CFrame
  1349. duk.CanCollide = false
  1350. duk.Velocity = Vector3.new(math.random(-20,20),math.random(-60,60),math.random(-20,20))
  1351. duk.Name = "duk"
  1352. table.insert(Effects, {duk,"Disappear",.01})
  1353. game:GetService("Debris"):AddItem(duk, 3)
  1354. moosh.TextureId = "http://www.roblox.com/asset/?id=1047998"
  1355. Torso.Velocity=RootPart.CFrame.upVector*100
  1356. local con = duk.Touched:connect(function(hit)
  1357. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "duk" and hit ~= m then
  1358. MagnitudeDamage(duk, 5, 30, 30, 20, "Normal", " ", 1)
  1359. Effects.Sphere2.Create(BrickColor.new("Gold"), duk.CFrame, 1, 1, 1, 2, 2, 2, .05)
  1360. end
  1361. end)
  1362. end
  1363. qwek3:Destroy()
  1364. qwek2:Destroy()
  1365. qwek:Destroy()
  1366. end
  1367.  
  1368.  
  1369.  
  1370. function pocketpandora()
  1371. Humanoid.AutoRotate = true
  1372. local PocketPandora=CFuncs.Part.Create( workspace,Enum.Material.Plastic,0,1,"Medium stone grey","PocketPandora",Vector3.new(0.512000322, 0.652799785, 0.640000045))
  1373. local PocketPandoraWeld=CFuncs.Weld.Create( workspace,Character["Right Arm"],PocketPandora,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.24340057, 1.26152658, 0.0355987549, 4.68637081e-05, 1.00000417, -2.85994429e-06, 1, -4.81304887e-05, 5.30673697e-06, 5.45002649e-06, -2.93751145e-06, -1))
  1374. local pand=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"Fossil","pand",Vector3.new(0.406399965, 0.419200003, 0.320000023))
  1375. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0229816437, -0.655731201, 0.0416564941, -0.0293540079, -0.0772550181, -0.99657923, -0.392862946, 0.917665899, -0.0595659576, 0.919128418, 0.389770478, -0.0572878011))
  1376. CFuncs.Mesh.Create("SpecialMesh",pand,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=13520257",Vector3.new(0, 0, 0),Vector3.new(0.480000019, 0.480000019, 0.480000019))
  1377. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1378. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0497894287, 0.0101809502, -0.68927002, 0.995689869, 0.00945099909, 0.0922629908, 0.00786634162, 0.982604146, -0.185545981, -0.0924115852, 0.185471997, 0.978294551))
  1379. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1380. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.197641373, 0.841140389, 0.0983428955, -0.209358081, -0.0334330127, -0.977267385, 0.00387890753, 0.999379098, -0.0350204371, 0.977831423, -0.0111225415, -0.209098414))
  1381. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1382. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0201187134, 0.0265302658, -0.746673584, -0.997025669, -0.0285979901, -0.0715689808, -0.0345623419, 0.995905221, 0.0835369974, 0.0688869208, 0.0857621059, -0.993931353))
  1383. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1384. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200737, 0.840947151, 0.107421875, 0.306881011, 0.0363619998, -0.951053023, -0.0217640139, 0.999276757, 0.0311830547, 0.951499104, 0.0111292461, 0.307450444))
  1385. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.896000028, 0.896000028, 0.448000014))
  1386. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0183601379, -0.0494211912, -0.0223693848, 0.0508630089, -0.0429850034, -0.997780144, 0.0136630228, 0.999009788, -0.0423414856, 0.998612225, -0.0114790779, 0.0513999537))
  1387. local pand=CFuncs.Part.Create( workspace,Enum.Material.Fabric,0,1.400709148669e-08,"Institutional white","pand",Vector3.new(0.896000028, 0.448000014, 0.448000014))
  1388. local pandWeld=CFuncs.Weld.Create( workspace,PocketPandora,pand,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0183601379, -0.646469116, -0.240524292, 0.0508630089, -0.0429850034, -0.997780144, -0.392863095, 0.917666256, -0.0595603026, 0.918189287, 0.395020396, 0.0297880471))
  1389. CFuncs.Mesh.Create("SpecialMesh",pand,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.25, 1.25, 1.25))
  1390.  
  1391. for i = 0, 3, 0.1 do
  1392. swait()
  1393. PlayAnimationFromTable({
  1394. CFrame.new(0.0911376029, 0.170700833, 0.332172483, 0.96592617, 0.0449431762, 0.254886121, 0, 0.984807849, -0.173647746, -0.25881812, 0.167730883, 0.951251686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1395. CFrame.new(-3.89245868, -2.29780269, -0.00377818942, 0.986237526, -0.0818925127, -0.14362888, -0.127979755, 0.17186299, -0.976772487, 0.104674846, 0.981711268, 0.159017161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1396. CFrame.new(2.24770093, 3.22394347, -1.96035659, 0.586824775, 0.492401212, 0.642789066, 0.718526661, -0.682659328, -0.133024901, 0.373304367, 0.539923429, -0.754404902) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1397. CFrame.new(-3.24579811, 0.162601873, -0.169526681, 0.980992317, 0.193930089, 0.00672267377, -0.193764612, 0.980845749, -0.0199200213, -0.0104569793, 0.0182387829, 0.999779046) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1398. CFrame.new(1.1014533, -4.16344213, 0.406021297, 0.939692914, 0, -0.342019349, 0.0593908839, 0.984807849, 0.163175538, 0.336823404, -0.173647746, 0.925417066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1399. CFrame.new(-0.999989688, -4.16985464, 0.369654536, 0.906307459, 0, 0.422619224, -0.0733868629, 0.984807849, 0.157378227, -0.41619873, -0.173647746, 0.892538786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. }, .3, false)
  1401. end
  1402. CFuncs.Sound.Create("525166232", pand, 10, 1.1)
  1403. for i = 0, 3, 0.1 do
  1404. swait()
  1405. PlayAnimationFromTable({
  1406. CFrame.new(0.0911376029, 0.170700833, 0.332172483, 0.96592617, 0.0449431762, 0.254886121, 0, 0.984807849, -0.173647746, -0.25881812, 0.167730883, 0.951251686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1407. CFrame.new(-3.89245868, -2.29780269, -0.00377818942, 0.986237526, -0.0818925127, -0.14362888, -0.127979755, 0.17186299, -0.976772487, 0.104674846, 0.981711268, 0.159017161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1408. CFrame.new(1.80590749, 2.72466302, -1.93817627, 0.663057327, 0.747823834, 0.0333839096, 0.746770024, -0.657716274, -0.098711893, -0.0518619865, 0.0903817415, -0.994556129) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1409. CFrame.new(-3.24579811, 0.162601873, -0.169526681, 0.980992317, 0.193930089, 0.00672267377, -0.193764612, 0.980845749, -0.0199200213, -0.0104569793, 0.0182387829, 0.999779046) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1410. CFrame.new(1.1014533, -4.16344213, 0.406021297, 0.939692914, 0, -0.342019349, 0.0593908839, 0.984807849, 0.163175538, 0.336823404, -0.173647746, 0.925417066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1411. CFrame.new(-0.999989688, -4.16985464, 0.369654536, 0.906307459, 0, 0.422619224, -0.0733868629, 0.984807849, 0.157378227, -0.41619873, -0.173647746, 0.892538786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1412. }, .3, false)
  1413. end
  1414. for i = 0, 2, 0.1 do
  1415. swait()
  1416. PlayAnimationFromTable({
  1417. CFrame.new(0.0911456496, 0.170702159, 0.332171082, 0.999885321, -0.00137777999, -0.0150859356, 0.00628500246, 0.943831742, 0.330366731, 0.0137834102, -0.330423653, 0.943732202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1418. CFrame.new(-3.75862074, -2.28645492, 0.346096963, 0.970100462, 0.236889541, -0.0528076962, -0.0789259449, 0.102158397, -0.991632223, -0.229512513, 0.966150701, 0.117800683) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1419. CFrame.new(3.20707846, 0.285080135, 1.16387141, -0.00297607109, -0.107517615, 0.994198799, -0.783208609, 0.618401051, 0.0645325035, -0.621752024, -0.7784729, -0.0860491246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1420. CFrame.new(-3.36487269, 0.161271498, 0.244712532, 0.975460768, 0.219438821, 0.0179737657, -0.219429642, 0.962213933, 0.161229551, 0.0180853903, -0.161217049, 0.986753345) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1421. CFrame.new(0.851068258, -4.07387733, -0.701450467, 0.997281611, 0.0189382583, -0.0712103695, -0.0301716141, 0.986631095, -0.160152644, 0.067225337, 0.161865816, 0.984520435) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1422. CFrame.new(-1.25113344, -4.09032774, -0.91490078, 0.999885321, 0.00628500246, 0.0137834102, -0.00137777999, 0.943831742, -0.330423653, -0.0150859356, 0.330366731, 0.943732202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1423. }, .3, false)
  1424. end
  1425.  
  1426. for i = 0, .1, 0.1 do
  1427. swait()
  1428. PlayAnimationFromTable({
  1429. CFrame.new(0.0798431486, 0.233077481, 1.12295187, 0.999885499, -0.00873519853, -0.0123708993, 0.00628500246, 0.982565761, -0.18580927, 0.0137782991, 0.185710222, 0.982508063) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1430. CFrame.new(0.0265016034, 3.24111581, -0.318699658, 0.998973072, -0.0240464583, -0.0384024978, 0.0298348591, 0.98697418, 0.158088326, 0.0341008157, -0.159071684, 0.986678004) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1431. CFrame.new(2.96458101, 0.895944357, -2.12482834, -0.0157348998, 0.106384002, 0.994200766, 0.999534369, 0.0276731253, 0.0128581598, -0.026144743, 0.993939996, -0.106769882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1432. CFrame.new(-3.18996, 0.315425068, 0.578166604, 0.991264641, 0.131625995, -0.00832906365, -0.0797855482, 0.64874804, 0.756809294, 0.105019227, -0.749533653, 0.653582811) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1433. CFrame.new(0.790542006, -3.90754509, -1.36502731, 0.998461664, 0.0502564199, 0.0234256238, -0.0362905487, 0.911728263, -0.409187764, -0.0419221073, 0.407708168, 0.912149489) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1434. CFrame.new(-1.24295056, -4.01071262, 1.00937235, 0.99988544, 0.00379677117, 0.0146613121, -0.00873538479, 0.935390234, 0.353509545, -0.0123718679, -0.353597105, 0.935316026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1435. }, .3, false)
  1436. end
  1437. PocketPandoraWeld:Destroy()
  1438. CFuncs.Sound.Create("130850914", pand, 5, 1)
  1439. for _,v in pairs(workspace:children()) do
  1440. if v:IsA("Part") and v.Name == "PocketPandora" then
  1441. v.Anchored = false
  1442. v.CanCollide = true
  1443. v.Parent = workspace
  1444. v.CFrame = RootPart.CFrame * CFrame.new(2,5,-5)
  1445. v.Velocity=RootPart.CFrame.lookVector*200
  1446. local con = v.Touched:connect(function(hit)
  1447. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "refpart" then
  1448. MagnitudeDamage(PocketPandora, 30, 100, 100, 50, "Normal", " ", 1)
  1449. Effects.Sphere2.Create(BrickColor.new("New Yeller"), v.CFrame, .5, 2, .5, 3, 5, 3, .03)
  1450. Effects.Sphere2.Create(BrickColor.new(maincol), v.CFrame, .6, 3, .6, 4, 6, 4, .03)
  1451. CFuncs.Sound.Create("206049428", pand, 10, 1)
  1452. v:Destroy()
  1453. end
  1454. end)
  1455. end
  1456. end
  1457.  
  1458. for i = 0,5, 0.1 do
  1459. swait()
  1460. PlayAnimationFromTable({
  1461. CFrame.new(0.0798431486, 0.233077481, 1.12295187, 0.999885499, -0.00873519853, -0.0123708993, 0.00628500246, 0.982565761, -0.18580927, 0.0137782991, 0.185710222, 0.982508063) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1462. CFrame.new(0.0265016034, 3.24111581, -0.318699658, 0.998973072, -0.0240464583, -0.0384024978, 0.0298348591, 0.98697418, 0.158088326, 0.0341008157, -0.159071684, 0.986678004) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1463. CFrame.new(2.99794817, 2.31009698, -1.64348817, 0.0563318357, 0.0916124284, 0.994200289, 0.783475637, -0.621289551, 0.0128577966, 0.618864119, 0.778207421, -0.106774479) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1464. CFrame.new(-3.18996, 0.315425068, 0.578166604, 0.991264641, 0.131625995, -0.00832906365, -0.0797855482, 0.64874804, 0.756809294, 0.105019227, -0.749533653, 0.653582811) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1465. CFrame.new(0.790542006, -3.90754509, -1.36502731, 0.998461664, 0.0502564199, 0.0234256238, -0.0362905487, 0.911728263, -0.409187764, -0.0419221073, 0.407708168, 0.912149489) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(-1.24295056, -4.01071262, 1.00937235, 0.99988544, 0.00379677117, 0.0146613121, -0.00873538479, 0.935390234, 0.353509545, -0.0123718679, -0.353597105, 0.935316026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1467. }, .3, false)
  1468. end
  1469.  
  1470. end
  1471.  
  1472.  
  1473. function foryou()
  1474. Humanoid.AutoRotate = true
  1475.  
  1476. FHandle=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"New Yeller","FHandle",Vector3.new(1, 2, 1))
  1477. FHandleWeld=CFuncs.Weld.Create(m2,Character["Right Arm"],FHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.18448639, 0.551091194, -0.163902283, -0.155436471, 0.983553827, -0.09203168, -0.987750709, -0.153451264, 0.0283052251, 0.0137170125, 0.0953044593, 0.995353699))
  1478. CFuncs.Mesh.Create("SpecialMesh",FHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1047997",Vector3.new(0, 0, 0),Vector3.new(1.79999995, 1.29999995, 1.89999998))
  1479. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Dusty Rose","Plant",Vector3.new(2, 0.400000006, 2))
  1480. PlantWeld=CFuncs.Weld.Create(m2,FHandle,Plant,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.308837891, 1.90258408, 0.500061035, 0.90631032, 0.422617525, -2.08616257e-07, -0.422617853, 0.906308651, -3.24845314e-06, -6.78002834e-07, 3.28943133e-06, 1.0000006))
  1481. CFuncs.Mesh.Create("SpecialMesh",Plant,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=16659363",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1482. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Really red","Plant",Vector3.new(2, 0.400000006, 2))
  1483. PlantWeld=CFuncs.Weld.Create(m2,FHandle,Plant,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.325637817, 1.54702187, 0.131658554, -0.969451249, 0.0996286124, -0.224139586, 0.0717185959, 0.988995075, 0.129403844, 0.234565258, 0.109375738, -0.965927601))
  1484. CFuncs.Mesh.Create("SpecialMesh",Plant,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=16659363",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  1485. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1486. TestWeld=CFuncs.Weld.Create(m2,FHandle,Test,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308868408, -1.30257416, 0.220046997, -0.906308413, -0.422617137, 5.06639481e-07, 0.422617078, -0.906308293, 3.25590372e-06, -9.31322575e-07, 3.16090882e-06, 1.00000012))
  1487. CFuncs.Mesh.Create("SpecialMesh",Test,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1091940",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 2, 0.200000003))
  1488. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1489. TestWeld=CFuncs.Weld.Create(m2,FHandle,Test,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115341187, -0.744662762, -0.176582336, 0.969449461, -0.0996279493, -0.22414732, -0.0717145503, -0.988994002, 0.129413977, -0.234573573, -0.109385677, -0.965924442))
  1490. CFuncs.Mesh.Create("SpecialMesh",Test,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1091940",Vector3.new(0, 0, 0),Vector3.new(0.5, 2.5, 0.5))
  1491. fire=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Medium stone grey","fire",Vector3.new(1.4400003, 2.17999935, 2.24999976))
  1492. fireWeld=CFuncs.Weld.Create(m2,FHandle,fire,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.8053484, 0.600914001, 0.173200607, 0.197724402, 0.974774659, -0.103535756, -0.972187221, 0.181474328, -0.148050904, -0.125527188, 0.129929408, 0.983545303))
  1493. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Salmon","Plant",Vector3.new(2, 0.400000006, 2))
  1494. PlantWeld=CFuncs.Weld.Create(m2,FHandle,Plant,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.391174316, 2.30257797, 7.2479248e-05, 0.90631187, 0.422617793, 7.4505806e-09, -0.42261827, 0.906309068, -3.21865082e-06, -4.84287739e-07, 3.37697566e-06, 1.00000107))
  1495. CFuncs.Mesh.Create("SpecialMesh",Plant,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=16659363",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1496. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1497. TestWeld=CFuncs.Weld.Create(m2,FHandle,Test,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.391143799, -1.70257568, 0.100059509, -0.906308413, -0.422617137, 5.06639481e-07, 0.422617078, -0.906308293, 3.25590372e-06, -9.31322575e-07, 3.16090882e-06, 1.00000012))
  1498. CFuncs.Mesh.Create("SpecialMesh",Test,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1091940",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 2, 0.200000003))
  1499. CFuncs.Sound.Create("1030472543", Torso, 10, 1)
  1500. for i = 0, 5, 0.1 do
  1501. swait()
  1502. PlayAnimationFromTable({
  1503. CFrame.new(0.0911376029, 0.170700833, 0.332172483, 0.96592617, 0.0449431762, 0.254886121, 0, 0.984807849, -0.173647746, -0.25881812, 0.167730883, 0.951251686) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1504. CFrame.new(-3.89245868, -2.29780269, -0.00377818942, 0.986237526, -0.0818925127, -0.14362888, -0.127979755, 0.17186299, -0.976772487, 0.104674846, 0.981711268, 0.159017161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1505. CFrame.new(2.24770093, 3.22394347, -1.96035659, 0.586824775, 0.492401212, 0.642789066, 0.718526661, -0.682659328, -0.133024901, 0.373304367, 0.539923429, -0.754404902) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1506. CFrame.new(-3.24579811, 0.162601873, -0.169526681, 0.980992317, 0.193930089, 0.00672267377, -0.193764612, 0.980845749, -0.0199200213, -0.0104569793, 0.0182387829, 0.999779046) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1507. CFrame.new(1.1014533, -4.16344213, 0.406021297, 0.939692914, 0, -0.342019349, 0.0593908839, 0.984807849, 0.163175538, 0.336823404, -0.173647746, 0.925417066) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1508. CFrame.new(-0.999989688, -4.16985464, 0.369654536, 0.906307459, 0, 0.422619224, -0.0733868629, 0.984807849, 0.157378227, -0.41619873, -0.173647746, 0.892538786) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1509. }, .3, false)
  1510. end
  1511. for i = 0, 6, 0.1 do
  1512. swait()
  1513. PlayAnimationFromTable({
  1514. CFrame.new(-0.201527208, 0.339289248, -0.760077715, 0.965926766, -0.109380201, 0.23456727, 0, 0.906308293, 0.422617316, -0.258816212, -0.408217311, 0.875427306) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1515. CFrame.new(-2.63639927, -3.08259439, 2.20601225, 0.96412462, -0.126876891, -0.233165681, 0.137302473, -0.513392627, 0.847098649, -0.227182761, -0.848722875, -0.477553904) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1516. CFrame.new(3.16202116, 2.08283663, -1.89966655, 0.0309411921, -0.0984340832, 0.994662583, 0.897010624, -0.436257124, -0.0710765198, 0.440924883, 0.894421995, 0.0747980848) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1517. CFrame.new(-3.02596211, -0.564618766, 0.844400108, 0.999514997, -0.0298547298, 0.00887096301, 0.0205256008, 0.845656037, 0.533333659, -0.0234243199, -0.532892823, 0.845858574) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1518. CFrame.new(1.10143936, -4.27405882, -1.10186839, 0.939693689, 0, -0.342017531, -0.144542515, 0.906308293, -0.397130758, 0.3099733, 0.422617316, 0.851652145) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1519. CFrame.new(-0.999990761, -4.25845289, -1.13533604, 0.906306744, 0, 0.422621042, 0.178606942, 0.906308293, -0.383020878, -0.383024931, 0.422617316, 0.821393192) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1520. }, .3, false)
  1521. end
  1522. CFuncs.Sound.Create("490241055", fire, 10, 1)
  1523. local PE1 = Instance.new("ParticleEmitter",fire)
  1524. PE1.LightEmission = NumberSequence.new(0.2)
  1525. PE1.Size = NumberSequence.new(3)
  1526. PE1.Texture = "http://www.roblox.com/asset/?id=45120559"
  1527. PE1.Lifetime = NumberRange.new(.75)
  1528. PE1.Rate = 50.000
  1529. PE1.Transparency = NumberSequence.new(0.2)
  1530. PE1.LightEmission = NumberSequence.new(1)
  1531. PE1.Rotation = NumberRange.new(0)
  1532. PE1.Speed = NumberRange.new(.1)
  1533. PE1.RotSpeed = NumberRange.new(0)
  1534. PE1.ZOffset = .2
  1535. for i = 0, 5, 0.1 do
  1536. swait()
  1537. PlayAnimationFromTable({
  1538. CFrame.new(-0.201527208, 0.339289248, -0.760077715, 0.965926766, -0.109380201, 0.23456727, 0, 0.906308293, 0.422617316, -0.258816212, -0.408217311, 0.875427306) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1539. CFrame.new(-2.63639927, -3.08259439, 2.20601225, 0.96412462, -0.126876891, -0.233165681, 0.137302473, -0.513392627, 0.847098649, -0.227182761, -0.848722875, -0.477553904) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1540. CFrame.new(3.16202116, 2.08283663, -1.89966655, 0.0309411921, -0.0984340832, 0.994662583, 0.897010624, -0.436257124, -0.0710765198, 0.440924883, 0.894421995, 0.0747980848) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1541. CFrame.new(-3.02596211, -0.564618766, 0.844400108, 0.999514997, -0.0298547298, 0.00887096301, 0.0205256008, 0.845656037, 0.533333659, -0.0234243199, -0.532892823, 0.845858574) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1542. CFrame.new(1.10143936, -4.27405882, -1.10186839, 0.939693689, 0, -0.342017531, -0.144542515, 0.906308293, -0.397130758, 0.3099733, 0.422617316, 0.851652145) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1543. CFrame.new(-0.999990761, -4.25845289, -1.13533604, 0.906306744, 0, 0.422621042, 0.178606942, 0.906308293, -0.383020878, -0.383024931, 0.422617316, 0.821393192) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1544. }, .3, false)
  1545. end
  1546. CFuncs.Sound.Create("172324194", Torso, 10, 1)
  1547. for i = 0, 6, 0.1 do
  1548. swait()
  1549. PlayAnimationFromTable({
  1550. CFrame.new(-0.201516241, 0.339291096, -0.760076404, 0.97455883, -0.126014829, -0.185352385, 0.178607017, 0.936242044, 0.302573204, 0.135405973, -0.327980638, 0.934929967) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1551. CFrame.new(-2.55570674, -2.16993427, 3.6085391, 0.879511952, -0.473674715, -0.0457305014, -0.268807769, -0.573806643, 0.773620367, -0.392684817, -0.668115556, -0.631997108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1552. CFrame.new(2.06292558, 1.80838537, -3.22790933, 0.214386374, 0.288788915, 0.933080733, 0.927286148, -0.360320926, -0.101535536, 0.306886107, 0.887000561, -0.345037788) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1553. CFrame.new(-2.80201578, 0.225536764, 1.78792167, 0.999614537, -0.0117794126, 0.0251443088, -0.00699919462, 0.769420385, 0.638704658, -0.0268700868, -0.638634384, 0.769041181) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1554. CFrame.new(0.532568038, -4.3854022, -1.08604121, 0.98265177, 0.178607017, 0.0499521792, -0.154120743, 0.936242044, -0.315749615, -0.103162408, 0.302573204, 0.947526813) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1555. CFrame.new(-1.38611662, -4.29509449, -0.232889488, 0.659518123, 0.178607017, 0.730161428, 0.114288926, 0.936242044, -0.332248539, -0.742949605, 0.302573204, 0.597055733) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1556. }, .4, false)
  1557. end
  1558. FHandleWeld:Destroy()
  1559. for _,v in pairs(m2:children()) do
  1560. if v:IsA("Part") then
  1561. v.Parent = workspace
  1562. v.CanCollide = true
  1563. v.Velocity=RootPart.CFrame.upVector*0
  1564. table.insert(Effects, {v,"Disappear",.008})
  1565. game:GetService("Debris"):AddItem(v, 5)
  1566. end
  1567. end
  1568. end
  1569.  
  1570.  
  1571.  
  1572. function topwat()
  1573. Attack = true
  1574. Humanoid.WalkSpeed = 0
  1575. Humanoid.JumpPower = 0
  1576. Humanoid.AutoRotate = false
  1577.  
  1578. for i = 0, 8, 0.1 do
  1579. swait()
  1580. PlayAnimationFromTable({
  1581. CFrame.new(-0.00205035275, 0, -0.0156110032, 0.965925872, 0, 0.258819073, 0, 1, 0, -0.258819073, 0, 0.965925872) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1582. CFrame.new(0.302975714, -0.0352788754, -2.58990121, 0.996195078, 0.0298128296, 0.0818930417, 0.0298129916, -0.999554753, 0.00122109544, 0.0818929821, 0.00122502726, -0.996640384) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1583. CFrame.new(1.13866591, 2.04802728, -1.94127011, -0.439383566, 0.627507865, 0.642787695, 0.819152892, 0.573575318, -1.11085149e-06, -0.368687868, 0.526540875, -0.766044438) * CFrame.new(0, -.5, 0) * CFrame.Angles(RAD(0 + 5 * math.cos(Sine/2)), 0, 0),
  1584. CFrame.new(-2.42017388, 0.400777161, -2.11568689, 0.882900894, -0.469536036, 0.00468276255, 0.131853923, 0.238337904, -0.962190032, 0.450666815, 0.850135863, 0.272338927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1585. CFrame.new(1.10143924, -3.99999404, 0.0369313061, 0.939692557, 0, -0.342020273, 0, 1, 0, 0.342020273, 0, 0.939692557) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1586. CFrame.new(-0.999986231, -3.99999404, 1.25169754e-06, 0.906307876, 0, 0.42261827, 0, 1, 0, -0.42261827, 0, 0.906307876) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1587. }, .1, false)
  1588. end
  1589.  
  1590.  
  1591. local x = math.random(1,3)
  1592. if x == 1 then
  1593. pocketpandora()
  1594. elseif x == 2 then
  1595. ducks()
  1596. elseif x == 3 then
  1597. foryou()
  1598. end
  1599.  
  1600. Humanoid.WalkSpeed = 16
  1601. Humanoid.JumpPower = 50
  1602. Humanoid.AutoRotate = true
  1603. Attack = false
  1604. end
  1605.  
  1606. function hatsoff()
  1607. Attack = true
  1608. Humanoid.WalkSpeed = 0
  1609. Humanoid.JumpPower = 0
  1610. CFuncs.Sound.Create("1578720743", Torso, 5, 1)
  1611. ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 5, 0)), quotes[math.random(#quotes)], 5, BrickColor.new(maincol).Color, BrickColor.new("Really black").Color)
  1612. for i = 0, 8, 0.1 do
  1613. swait()
  1614. PlayAnimationFromTable({
  1615. CFrame.new(-0.115069248, -0, -0.214136839, 0.766046524, 0, -0.642790973, 0, 1, 0, 0.642790973, 0, 0.766046524) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1616. CFrame.new(-4.87525558, 0.797361493, -4.06305599, 0.866025567, -0.0435784385, -0.498097122, -0.0868260041, -0.994166732, -0.0639820844, -0.492403448, 0.0986578986, -0.864757538) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1617. CFrame.new(3.4945271, 1.52527678, -1.38384485, 0.870185137, -0.374341398, 0.3203848, 0.179849938, -0.364053726, -0.9138484, 0.458728582, 0.852838457, -0.249468848) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1618. CFrame.new(-3.41207027, 1.04570305, -1.46108115, -0.88571322, 0.4565247, 0.084245488, 0.0838330537, -0.0211990401, 0.996254325, 0.456600636, 0.889458179, -0.0194955915) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1619. CFrame.new(0.853903413, -4.00243044, 0.828555107, 0.98480767, 0.0868239999, -0.150384188, 0, 0.866026282, 0.499998599, 0.173648536, -0.492402464, 0.852869391) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1620. CFrame.new(-1.19523168, -4.00639772, -0.555792093, 0.904794216, -0.0996007398, 0.414037675, 0.0301539879, 0.984807849, 0.17100963, -0.42478025, -0.142243639, 0.894051731) * CFrame.new(0, 0 - .3 * math.cos(Sine/3.5), 0) * CFrame.Angles(0, 0, 0),
  1621. }, .2, false)
  1622. end
  1623. for i = 0, .5, 0.1 do
  1624. swait()
  1625. PlayAnimationFromTable({
  1626. CFrame.new(-0.115069248, -0, -0.214136839, 0.766046524, 0, -0.642790973, 0, 1, 0, 0.642790973, 0, 0.766046524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1627. CFrame.new(-2.31292915, 5.66935062, 0.386707425, -0.0979517624, -0.866521716, -0.489434123, -0.98050642, -0.000144343387, 0.196486965, -0.170330837, 0.499139547, -0.849615812) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1628. CFrame.new(3.4945271, 1.52527678, -1.38384485, 0.870185137, -0.374341398, 0.3203848, 0.179849938, -0.364053726, -0.9138484, 0.458728582, 0.852838457, -0.249468848) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1629. CFrame.new(-2.79443884, 2.43125439, -0.142938256, 0.312049747, -0.222866639, 0.92355597, -0.188317999, -0.967318416, -0.169798508, 0.931214929, -0.120936617, -0.343821317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1630. CFrame.new(0.853903413, -4.00243044, 0.828555107, 0.98480767, 0.0868239999, -0.150384188, 0, 0.866026282, 0.499998599, 0.173648536, -0.492402464, 0.852869391) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1631. CFrame.new(-1.19523168, -4.00639772, -0.555792093, 0.904794216, -0.0996007398, 0.414037675, 0.0301539879, 0.984807849, 0.17100963, -0.42478025, -0.142243639, 0.894051731) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1632. }, .1, false)
  1633. end
  1634. Humanoid.WalkSpeed = 16
  1635. Humanoid.JumpPower = 50
  1636. Attack = false
  1637. end
  1638.  
  1639.  
  1640.  
  1641. function overthere()
  1642. Attack = true
  1643. local xy = 2
  1644. local hitt = Mouse.hit
  1645. Humanoid.WalkSpeed = 0
  1646. Humanoid.JumpPower = 0
  1647. CFuncs.Sound.Create("538558581", Hat, 5, 1)
  1648. for i = 0, 5, 0.1 do
  1649. swait()
  1650. xy = xy + .15
  1651. PlayAnimationFromTable({
  1652. CFrame.new(0.0107159223, -2.71742606, 0.0607917309, 0.99988538, 0.009216398, 0.0120227486, -0.0151350051, 0.641702771, 0.766804099, -0.000647842884, -0.766898036, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1653. CFrame.new(-0.28039515, 11.482439, 13.6262321, 0.99988538, -0.0151350051, -0.000647842884, 0.009216398, 0.641702771, -0.766898036, 0.0120227486, 0.766804099, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1654. CFrame.new(1.83838439, 2.67886591, 0.0802880749, -2.82153487e-05, 0.707110763, 0.707103014, -3.48687172e-06, -0.707103014, 0.707110524, 1.00000012, 1.75237656e-05, 2.24113464e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1655. CFrame.new(-1.61722004, 2.37308216, -0.0369534679, 0.0996018648, -0.819160461, -0.564850211, 0.0309238136, -0.56485045, 0.82461369, -0.994546771, -0.0996004194, -0.0309286118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1656. CFrame.new(0.999969661, -3.48585701, -0.497745633, 1, 1.82539225e-05, 1.02139893e-06, -1.46329403e-05, 0.766044199, 0.642787874, 1.09598041e-05, -0.642788053, 0.766044199) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1657. CFrame.new(-0.999921381, -3.45396709, -0.373242021, 1.00000024, -2.43186951e-05, -2.02894444e-06, 1.99228525e-05, 0.766044378, 0.642787635, -1.40666962e-05, -0.642787695, 0.766044438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1658. }, .1, false)
  1659. meh.Scale = Vector3.new(xy, xy, xy)
  1660. end
  1661. CFuncs.Sound.Create("144507916", Torso, 5, 1)
  1662. Effects.Wave.Create(BrickColor.new("White"), Hat.CFrame*CFrame.new(0,-20,0), 4, 1, 4, 4, 1, 4, .05)
  1663. for i = 0, 1, 0.1 do
  1664. swait()
  1665. PlayAnimationFromTable({
  1666. CFrame.new(0.0107159223, -2.71742606, 0.0607917309, 0.99988538, 0.009216398, 0.0120227486, -0.0151350051, 0.641702771, 0.766804099, -0.000647842884, -0.766898036, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1667. CFrame.new(-0.0671697259, 2.44198537, 2.82332158, 0.99988538, -0.0151350051, -0.000647842884, 0.009216398, 0.641702771, -0.766898036, 0.0120227486, 0.766804099, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1668. CFrame.new(1.83838439, 2.67886591, 0.0802880749, -2.82153487e-05, 0.707110763, 0.707103014, -3.48687172e-06, -0.707103014, 0.707110524, 1.00000012, 1.75237656e-05, 2.24113464e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1669. CFrame.new(-1.61722004, 2.37308216, -0.0369534679, 0.0996018648, -0.819160461, -0.564850211, 0.0309238136, -0.56485045, 0.82461369, -0.994546771, -0.0996004194, -0.0309286118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1670. CFrame.new(0.999969661, -3.48585701, -0.497745633, 1, 1.82539225e-05, 1.02139893e-06, -1.46329403e-05, 0.766044199, 0.642787874, 1.09598041e-05, -0.642788053, 0.766044199) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1671. CFrame.new(-0.999921381, -3.45396709, -0.373242021, 1.00000024, -2.43186951e-05, -2.02894444e-06, 1.99228525e-05, 0.766044378, 0.642787635, -1.40666962e-05, -0.642787695, 0.766044438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1672. }, .5, false)
  1673. end
  1674. RootPart.CFrame = hitt * CFrame.new(0,6,0)
  1675. for i = 0, 2, 0.1 do
  1676. swait()
  1677. PlayAnimationFromTable({
  1678. CFrame.new(0.0107159223, -2.71742606, 0.0607917309, 0.99988538, 0.009216398, 0.0120227486, -0.0151350051, 0.641702771, 0.766804099, -0.000647842884, -0.766898036, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1679. CFrame.new(-0.0671697259, 2.44198537, 2.82332158, 0.99988538, -0.0151350051, -0.000647842884, 0.009216398, 0.641702771, -0.766898036, 0.0120227486, 0.766804099, 0.641768754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1680. CFrame.new(1.83838439, 2.67886591, 0.0802880749, -2.82153487e-05, 0.707110763, 0.707103014, -3.48687172e-06, -0.707103014, 0.707110524, 1.00000012, 1.75237656e-05, 2.24113464e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1681. CFrame.new(-1.61722004, 2.37308216, -0.0369534679, 0.0996018648, -0.819160461, -0.564850211, 0.0309238136, -0.56485045, 0.82461369, -0.994546771, -0.0996004194, -0.0309286118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1682. CFrame.new(0.999969661, -3.48585701, -0.497745633, 1, 1.82539225e-05, 1.02139893e-06, -1.46329403e-05, 0.766044199, 0.642787874, 1.09598041e-05, -0.642788053, 0.766044199) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1683. CFrame.new(-0.999921381, -3.45396709, -0.373242021, 1.00000024, -2.43186951e-05, -2.02894444e-06, 1.99228525e-05, 0.766044378, 0.642787635, -1.40666962e-05, -0.642787695, 0.766044438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1684. }, .3, false)
  1685. end
  1686. for i = 0, 1.5, 0.1 do
  1687. swait()
  1688. xy = xy - .5
  1689. PlayAnimationFromTable({
  1690. CFrame.new(-0, -0, -0, 1.00000751, 0, 0, 0, 1, 0, 0, 0, 1.00000751) * CFrame.new(0,0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1691. CFrame.new(2.09699351e-07, 3.07826781, -0.0930013061, 1.00000381, 4.02331352e-07, -2.29477882e-06, 0, 0.984807849, 0.173648134, 2.32458115e-06, -0.173648804, 0.984811544) * CFrame.new(0, 0 + .2 * math.cos(Sine/10), 0) * CFrame.Angles(RAD(0 + 2 * math.cos(Sine/4)), 0, 0),
  1692. CFrame.new(3.23488927, 0.217123732, -0.0756206512, 0.986215889, -0.164953321, -0.0135539025, 0.164731994, 0.986208379, -0.0160120502, 0.0160082281, 0.0135585759, 0.99978739) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, RAD(0 - 2 * math.cos(Sine/10))),
  1693. CFrame.new(-2.27295804, 2.68117332, -0.407379597, -0.142512456, -0.53919214, 0.830046415, 0.0714119896, -0.842015326, -0.534706116, 0.987221003, -0.0169270113, 0.158502445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, RAD(0 + 2 * math.cos(Sine/10))),
  1694. CFrame.new(1.00000048, -3.99999428, 8.58306885e-06, 0.984811425, 0.0301538315, -0.171010852, 0, 0.984807849, 0.173648164, 0.173648983, -0.171010718, 0.969849944) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1695. CFrame.new(-1.19524455, -4.0063982, -0.555813253, 0.996198535, 0, 0.0871554539, 0, 1, 0, -0.0871554539, 0, 0.996198535) * CFrame.new(0, 0 - .3 * math.cos(Sine/3.5), 0) * CFrame.Angles(0, 0, 0),
  1696. }, .1, false)
  1697. meh.Scale = Vector3.new(xy, xy, xy)
  1698. end
  1699. meh.Scale = Vector3.new(2, 2, 2)
  1700. Humanoid.WalkSpeed = 16
  1701. Humanoid.JumpPower = 50
  1702. Attack = false
  1703. end
  1704.  
  1705. function card()
  1706. Attack = true
  1707. Humanoid.WalkSpeed = 0
  1708. Humanoid.JumpPower = 0
  1709. for i = 0, 5, 0.1 do
  1710. swait()
  1711. PlayAnimationFromTable({
  1712. CFrame.new(0.0594676584, 0.0768035352, -0.0666813478, 0.884229183, 0.0283103138, 0.46619451, -0.046942994, 0.998493731, 0.0284016542, -0.464688241, -0.0469981395, 0.884226322) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1713. CFrame.new(-0.320109785, 3.63055658, -0.170195401, 0.694239378, -0.266091168, 0.668750525, 0.0364392735, 0.940953016, 0.336570561, -0.718821168, -0.209291756, 0.662942886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1714. CFrame.new(3.35686827, 0.22342144, -0.428599238, 0.968903899, -0.230326891, 0.090413481, 0.243740588, 0.9513551, -0.188451782, -0.0426098406, 0.204629123, 0.97791177) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1715. CFrame.new(-2.54222584, -0.211173713, 0.944933712, 0.922422528, -0.0570006818, 0.381952316, -0.034134835, 0.973141432, 0.227663115, -0.384670615, -0.223039463, 0.895702004) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1716. CFrame.new(1.25511241, -4.02567768, 0.0611277819, 0.840364099, -0.046942994, -0.539985716, 0.0241064206, 0.998493731, -0.0492867082, 0.541486025, 0.0284016542, 0.840229928) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1717. CFrame.new(-0.907657266, -4.11040592, -0.53483367, 0.976054788, -0.046942994, 0.212399751, 0.0518967845, 0.998493731, -0.0178051461, -0.211244017, 0.0284016542, 0.977020741) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1718. }, .2, false)
  1719. end
  1720. MysteryCard=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"White","MysteryCard",Vector3.new(0.880001426, 0.0500000007, 1.42000163))
  1721. MysteryCardWeld=CFuncs.Weld.Create(workspace,Character["Left Arm"],MysteryCard,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.019998312, -0.0606269836, -2.56632233, -1, -1.86971738e-06, 5.30659418e-06, -5.45002649e-06, 2.93751145e-06, -1, 3.13629062e-06, -1.00000417, -2.86020963e-06))
  1722. local dec = Instance.new("Decal",MysteryCard)
  1723. dec.Texture = "rbxassetid://8644107"
  1724. dec.Face = "Bottom"
  1725. local e = math.random(1,4)
  1726. if e == 1 then
  1727. local dec2 = Instance.new("Decal",MysteryCard)
  1728. dec2.Texture = "rbxassetid://173448236"
  1729. dec2.Face = "Top"
  1730. elseif e == 2 then
  1731. local dec2 = Instance.new("Decal",MysteryCard)
  1732. dec2.Texture = "rbxassetid://1167119856"
  1733. dec2.Face = "Top"
  1734. CFuncs.Sound.Create("976606790", Torso, 3, 1)
  1735. elseif e == 3 then
  1736. local dec2 = Instance.new("Decal",MysteryCard)
  1737. dec2.Texture = "rbxassetid://342673258"
  1738. dec2.Face = "Top"
  1739. elseif e == 100 then
  1740. local dec2 = Instance.new("Decal",MysteryCard)
  1741. dec2.Texture = "rbxassetid://1403304829"
  1742. dec2.Face = "Top"
  1743. elseif e == 4 then
  1744. local dec2 = Instance.new("Decal",MysteryCard)
  1745. dec2.Texture = "rbxassetid://358190487"
  1746. dec2.Face = "Top"
  1747. end
  1748. for i = 0, .1, 0.1 do
  1749. swait()
  1750. PlayAnimationFromTable({
  1751. CFrame.new(0.0594634786, 0.0768039674, -0.0666834489, 0.998862267, 0.0283112749, -0.0383773446, -0.0264539961, 0.998493731, 0.0480682589, 0.0396804214, -0.0469983406, 0.998106539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1752. CFrame.new(-0.122908428, 3.62031841, -0.300296009, 0.993329167, -0.08360935, 0.0794143826, 0.0752441362, 0.991826117, 0.103050947, -0.0873812661, -0.096388042, 0.991500795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1753. CFrame.new(3.27946377, 0.196054846, -0.0853066146, 0.977669358, -0.20545657, 0.0441635996, 0.20282878, 0.977524698, 0.0574999899, -0.0549847484, -0.0472583175, 0.997368217) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1754. CFrame.new(-3.38164973, 1.88772869, -1.7773633, 0.870166838, 0.233024612, -0.434176862, -0.190451264, -0.653598666, -0.732487082, -0.454464883, 0.720075309, -0.524359882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1755. CFrame.new(1.11755061, -4.02567816, -0.574618757, 0.998519659, -0.0264539961, -0.0475273132, 0.0241073575, 0.998493731, -0.0492869914, 0.0487595648, 0.0480682589, 0.997653246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(-1.05345631, -4.11040878, -0.0093524158, 0.73966682, -0.0264539961, 0.672453284, 0.0518976487, 0.998493731, -0.0178046823, -0.670969307, 0.0480682589, 0.739925504) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. }, .1, false)
  1758. end
  1759. for i = 0, 5, 0.1 do
  1760. swait()
  1761. PlayAnimationFromTable({
  1762. CFrame.new(0.0594634786, 0.0768039674, -0.0666834489, 0.998862267, 0.0283112749, -0.0383773446, -0.0264539961, 0.998493731, 0.0480682589, 0.0396804214, -0.0469983406, 0.998106539) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1763. CFrame.new(-0.122908428, 3.62031841, -0.300296009, 0.993329167, -0.08360935, 0.0794143826, 0.0752441362, 0.991826117, 0.103050947, -0.0873812661, -0.096388042, 0.991500795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1764. CFrame.new(3.27946377, 0.196054846, -0.0853066146, 0.977669358, -0.20545657, 0.0441635996, 0.20282878, 0.977524698, 0.0574999899, -0.0549847484, -0.0472583175, 0.997368217) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1765. CFrame.new(-1.93848646, 1.49346352, -2.41478252, 0.870159626, 0.0276981965, -0.491991103, -0.190459937, -0.901923239, -0.387633443, -0.454474866, 0.431007445, -0.779541671) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1766. CFrame.new(1.11755061, -4.02567816, -0.574618757, 0.998519659, -0.0264539961, -0.0475273132, 0.0241073575, 0.998493731, -0.0492869914, 0.0487595648, 0.0480682589, 0.997653246) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1767. CFrame.new(-1.05345631, -4.11040878, -0.0093524158, 0.73966682, -0.0264539961, 0.672453284, 0.0518976487, 0.998493731, -0.0178046823, -0.670969307, 0.0480682589, 0.739925504) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1768. }, .2, false)
  1769. end
  1770.  
  1771. for i = 0, 3, 0.1 do
  1772. swait()
  1773. PlayAnimationFromTable({
  1774. CFrame.new(0.0594634525, 0.0768030137, -0.0666834041, 0.998862267, 0.0283112749, -0.0383773446, -0.0264539961, 0.998493731, 0.0480682589, 0.0396804214, -0.0469983406, 0.998106539) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1775. CFrame.new(-0.122923493, 3.62031841, -0.300292909, 0.993329167, -0.08360935, 0.0794143826, 0.0752441362, 0.991826117, 0.103050947, -0.0873812661, -0.096388042, 0.991500795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1776. CFrame.new(3.27946401, 0.196052969, -0.0853065252, 0.977669358, -0.20545657, 0.0441635996, 0.20282878, 0.977524698, 0.0574999899, -0.0549847484, -0.0472583175, 0.997368217) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1777. CFrame.new(-1.89293754, 1.45044494, -1.85970807, -0.996556878, -0.0150756445, 0.0815295279, 0.00878233463, -0.996992052, -0.0770052373, 0.0824451596, -0.0760240704, 0.993691742) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1778. CFrame.new(1.11755061, -4.02567768, -0.574618697, 0.998519659, -0.0264539961, -0.0475273132, 0.0241073575, 0.998493731, -0.0492869914, 0.0487595648, 0.0480682589, 0.997653246) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1779. CFrame.new(-1.05346203, -4.11040878, -0.00934726, 0.73966682, -0.0264539961, 0.672453284, 0.0518976487, 0.998493731, -0.0178046823, -0.670969307, 0.0480682589, 0.739925504) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1780. }, .2, false)
  1781. end
  1782. if e == 1 then
  1783. MagnitudeDamage(Torso, 70, 20, 20, 0, "Seizure", " ", 1)
  1784. Effects.Sphere2.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1785. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 100, 2, .01)
  1786. CFuncs.Sound.Create("1751051242", Torso, 5, 1)
  1787. elseif e == 2 then
  1788. MagnitudeDamage(Torso, 70, 10, 10, 0, "Freeze", " ", 1)
  1789. Effects.Sphere2.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 2, 2, 2, 2, 2, 2, .01)
  1790. Effects.Sphere1.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1791. elseif e == 3 then
  1792. CFuncs.Sound.Create("157506631", Torso, 5, 1)
  1793. for i = 1,5 do
  1794. Effects.InnerSphere.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 100, 2, .01)
  1795. wait(.4)
  1796. end
  1797. wait(.8)
  1798. MagnitudeDamage(Torso, 70, 500, 500, 500, "Normal", " ", 1)
  1799. CFuncs.Sound.Create("1543847134", Torso, 5, 1)
  1800. Effects.Sphere2.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 2, 2, 2, 13, 13, 13, .01)
  1801. Effects.Sphere1.Create(BrickColor.new("Really red"), MysteryCard.CFrame, 1, 1, 1, 12, 12, 12, .01)
  1802. elseif e == 100 then
  1803. MagnitudeDamage(Torso, 70, 5, 5, 0, "Float", " ", 1)
  1804. Effects.Sphere2.Create(BrickColor.new("White"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1805. elseif e == 4 then
  1806. MagnitudeDamage(Torso, 70, 30, 30, 0, "Paralyze", " ", 1)
  1807. Effects.Sphere2.Create(BrickColor.new("Gold"), MysteryCard.CFrame, 1, 1, 1, 8, 8, 8, .05)
  1808. Effects.InnerSphere.Create(BrickColor.new("White"), MysteryCard.CFrame, 100, 2, .01)
  1809. end
  1810. table.insert(Effects, {MysteryCard,"Disappear",.01})
  1811. for i = 0, 5, 0.1 do
  1812. swait()
  1813. PlayAnimationFromTable({
  1814. CFrame.new(0.0594634525, 0.0768030137, -0.0666834041, 0.998862267, 0.0283112749, -0.0383773446, -0.0264539961, 0.998493731, 0.0480682589, 0.0396804214, -0.0469983406, 0.998106539) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1815. CFrame.new(-0.122923493, 3.62031841, -0.300292909, 0.993329167, -0.08360935, 0.0794143826, 0.0752441362, 0.991826117, 0.103050947, -0.0873812661, -0.096388042, 0.991500795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1816. CFrame.new(3.27946401, 0.196052969, -0.0853065252, 0.977669358, -0.20545657, 0.0441635996, 0.20282878, 0.977524698, 0.0574999899, -0.0549847484, -0.0472583175, 0.997368217) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1817. CFrame.new(-1.89293754, 1.45044494, -1.85970807, -0.996556878, -0.0150756445, 0.0815295279, 0.00878233463, -0.996992052, -0.0770052373, 0.0824451596, -0.0760240704, 0.993691742) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1818. CFrame.new(1.11755061, -4.02567768, -0.574618697, 0.998519659, -0.0264539961, -0.0475273132, 0.0241073575, 0.998493731, -0.0492869914, 0.0487595648, 0.0480682589, 0.997653246) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1819. CFrame.new(-1.05346203, -4.11040878, -0.00934726, 0.73966682, -0.0264539961, 0.672453284, 0.0518976487, 0.998493731, -0.0178046823, -0.670969307, 0.0480682589, 0.739925504) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1820. }, .2, false)
  1821. end
  1822. Humanoid.WalkSpeed = 16
  1823. Humanoid.JumpPower = 50
  1824. Attack = false
  1825. MysteryCard:Destroy()
  1826. MysteryCardWeld:Destroy()
  1827. end
  1828.  
  1829.  
  1830.  
  1831.  
  1832. function unanchor()
  1833. g = Character:GetChildren()
  1834. for i = 1, #g do
  1835. if g[i].ClassName == "Part" then
  1836. g[i].Anchored = false
  1837. end
  1838. end
  1839. end
  1840.  
  1841.  
  1842. Mouse.KeyDown:connect(function(Key)
  1843. Key = Key:lower()
  1844. if Attack == false and Key == 'z' and Anim == "Idle" then
  1845. overthere()
  1846. elseif Attack == false and Key == 'x' and Anim == "Idle" then
  1847. topwat()
  1848. elseif Attack == false and Key == 'c' then
  1849. card()
  1850. elseif Attack == false and Key == 'v' then
  1851. print("THE CREATOR DIDNT ADDED THIS MOVE >:V")
  1852. elseif Attack == false and Key == 't' and Anim == "Idle" then
  1853. hatsoff()
  1854. end
  1855. end)
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861. while true do
  1862. swait()
  1863. unanchor()
  1864. for i, v in pairs(Character:GetChildren()) do
  1865. if v:IsA("Part") then
  1866. v.Material = "SmoothPlastic"
  1867. elseif v:IsA("Accessory") then
  1868. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1869. end
  1870. end
  1871. for i, v in pairs(Character:GetChildren()) do
  1872. if v:IsA'Model' then
  1873. for _, c in pairs(v:GetChildren()) do
  1874. if c:IsA'Part' then
  1875. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1876. end
  1877. end
  1878. end
  1879. end
  1880. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1881. Velocity = RootPart.Velocity.y
  1882. Sine = Sine + Change
  1883. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 7, Character)
  1884. if RootPart.Velocity.y > 1 and hit == nil then
  1885. Anim = "Jump"
  1886. if Attack == false then
  1887. Change = 1
  1888. PlayAnimationFromTable({
  1889. CFrame.new(-0, -0, -0, 1.00000751, 0, 0, 0, 1, 0, 0, 0, 1.00000751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1890. CFrame.new(-6.66721871e-06, 4.92021656, -0.417787671, 1.00000381, 4.02331352e-07, -2.29477882e-06, 0, 0.984807849, 0.173648134, 2.32458115e-06, -0.173648804, 0.984811544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1891. CFrame.new(2.04141426, 2.38522053, -0.261183709, 0.870933354, 0.490618378, 0.0278630257, 0.491302133, -0.868171513, -0.0700040013, -0.0101553798, 0.0746579692, -0.997161388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1892. CFrame.new(-2.27295709, 2.68117261, -0.407387137, -0.142512456, -0.53919214, 0.830046415, 0.0714119896, -0.842015326, -0.534706116, 0.987221003, -0.0169270113, 0.158502445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1893. CFrame.new(1.03295517, -2.92346931, -0.186930001, 0.984811425, 0.0301538315, -0.171010852, 0, 0.984807849, 0.173648164, 0.173648983, -0.171010718, 0.969849944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1894. CFrame.new(-1.19524062, -3.79352093, -0.555811405, 1.00000381, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1895. }, .04, false)
  1896. end
  1897. elseif RootPart.Velocity.y < -1 and hit == nil then
  1898. Anim = "Fall"
  1899. if Attack == false then
  1900. Change = 1
  1901. PlayAnimationFromTable({
  1902. CFrame.new(-0, -0, -0, 1.00000751, 0, 0, 0, 1, 0, 0, 0, 1.00000751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, .05),
  1903. CFrame.new(-6.66721871e-06, 4.92021656, -0.417787671, 1.00000381, 4.02331352e-07, -2.29477882e-06, 0, 0.984807849, 0.173648134, 2.32458115e-06, -0.173648804, 0.984811544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1904. CFrame.new(2.04141426, 2.38522053, -0.261183709, 0.870933354, 0.490618378, 0.0278630257, 0.491302133, -0.868171513, -0.0700040013, -0.0101553798, 0.0746579692, -0.997161388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1905. CFrame.new(-2.27295709, 2.68117261, -0.407387137, -0.142512456, -0.53919214, 0.830046415, 0.0714119896, -0.842015326, -0.534706116, 0.987221003, -0.0169270113, 0.158502445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1906. CFrame.new(1.03295517, -2.92346931, -0.186930001, 0.984811425, 0.0301538315, -0.171010852, 0, 0.984807849, 0.173648164, 0.173648983, -0.171010718, 0.969849944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1907. CFrame.new(-1.19524062, -3.79352093, -0.555811405, 1.00000381, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1908. }, .04, false)
  1909. end
  1910. elseif TorsoVelocity < 1 and hit ~= nil then
  1911. Anim = "Idle"
  1912. if Attack == false then
  1913. Change = 1
  1914. PlayAnimationFromTable({
  1915. CFrame.new(-0, -0, -0, 1.00000751, 0, 0, 0, 1, 0, 0, 0, 1.00000751) * CFrame.new(0,0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, .02),
  1916. CFrame.new(2.09699351e-07, 3.07826781, -0.0930013061, 1.00000381, 4.02331352e-07, -2.29477882e-06, 0, 0.984807849, 0.173648134, 2.32458115e-06, -0.173648804, 0.984811544) * CFrame.new(0, 0 + .2 * math.cos(Sine/10), 0) * CFrame.Angles(RAD(0 + 5 * math.cos(Sine/10)), 0, 0),
  1917. CFrame.new(3.23488927, 0.217123732, -0.0756206512, 0.986215889, -0.164953321, -0.0135539025, 0.164731994, 0.986208379, -0.0160120502, 0.0160082281, 0.0135585759, 0.99978739) * CFrame.new(0, 0 + .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, RAD(0 - 2 * math.cos(Sine/10))),
  1918. CFrame.new(-2.27295804, 2.68117332, -0.407379597, -0.142512456, -0.53919214, 0.830046415, 0.0714119896, -0.842015326, -0.534706116, 0.987221003, -0.0169270113, 0.158502445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, RAD(0 + 2 * math.cos(Sine/10))),
  1919. CFrame.new(1.00000048, -3.99999428, 8.58306885e-06, 0.984811425, 0.0301538315, -0.171010852, 0, 0.984807849, 0.173648164, 0.173648983, -0.171010718, 0.969849944) * CFrame.new(0, 0 - .1 * math.cos(Sine/10), 0) * CFrame.Angles(0, 0, 0),
  1920. CFrame.new(-1.19524455, -4.0063982, -0.555813253, 0.996198535, 0, 0.0871554539, 0, 1, 0, -0.0871554539, 0, 0.996198535) * CFrame.new(0, 0 - playlist.PlaybackLoudness/500 * math.cos(Sine/3.5), 0) * CFrame.Angles(0, 0, 0),
  1921. }, .1, false)
  1922. end
  1923. elseif TorsoVelocity > 2 and hit ~= nil then
  1924. Anim = "Walk"
  1925. if Attack == false then
  1926. PlayAnimationFromTable({
  1927. CFrame.new(-0, -0, -0, 1.00000751, 0, 0, 0, 1, 0, 0, 0, 1.00000751) * CFrame.new(0, .1 + .2 * math.cos(Sine/8), 0) * CFrame.Angles(-.1, 0 - .02 * math.sin(Sine/8), 0 - .02 * math.sin(Sine/8)),
  1928. CFrame.new(2.09699351e-07, 3.07826781, -0.0930013061, 1.00000381, 4.02331352e-07, -2.29477882e-06, 0, 0.984807849, 0.173648134, 2.32458115e-06, -0.173648804, 0.984811544) * CFrame.new(0, .1 + .2 * math.cos(Sine/8), 0) * CFrame.Angles(RAD(0 + 2 * math.cos(Sine/4)), 0, 0),
  1929. CFrame.new(3.23488927, 0.217123732, -0.0756206512, 0.986215889, -0.164953321, -0.0135539025, 0.164731994, 0.986208379, -0.0160120502, 0.0160082281, 0.0135585759, 0.99978739) * CFrame.new(0, .1 + .2 * math.cos(Sine/8), 0) * CFrame.Angles(RAD(0 - 10 * math.cos(Sine/8)), 0, RAD(0 - 2 * math.cos(Sine/10))),
  1930. CFrame.new(-2.27295804, 2.68117332, -0.407379597, -0.142512456, -0.53919214, 0.830046415, 0.0714119896, -0.842015326, -0.534706116, 0.987221003, -0.0169270113, 0.158502445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, RAD(0 + 2 * math.cos(Sine/10))),
  1931. CFrame.new(1.00000048, -3.99999428, 8.58306885e-06, 0.984811425, 0.0301538315, -0.171010852, 0, 0.984807849, 0.173648164, 0.173648983, -0.171010718, 0.969849944) * CFrame.new(0, .1 + .6 * math.cos(Sine/8), math.sin(Sine/-8)) * CFrame.Angles(.1 + .6 * math.sin(Sine/8), 0, 0),
  1932. CFrame.new(-1.19524455, -4.0063982, -0.555813253, 0.996198535, 0, 0.0871554539, 0, 1, 0, -0.0871554539, 0, 0.996198535) * CFrame.new(0, .1 - .6 * math.cos(Sine/8), math.sin(Sine/8)) * CFrame.Angles(.1 + .6 * math.sin(Sine/-8), 0, 0),
  1933. }, .1, false) --math.cos on the Y angle of the CFrame.new, math.sin on the Z angle of it, and math.sin on the X angle of the CFrame.angles
  1934. end
  1935. end
  1936. if #Effects > 0 then
  1937. for e = 1, #Effects do
  1938. if Effects[e] ~= nil then
  1939. local Thing = Effects[e]
  1940. if Thing ~= nil then
  1941. local Part = Thing[1]
  1942. local Mode = Thing[2]
  1943. local Delay = Thing[3]
  1944. local IncX = Thing[4]
  1945. local IncY = Thing[5]
  1946. if Thing[1].Transparency <= 1 then
  1947. if Thing[2] == "Block1" then
  1948. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1949. Mesh = Thing[7]
  1950. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1951. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1952. elseif Thing[2] == "Ice" then
  1953. if Thing[6] <= Thing[5] then
  1954. Thing[6] = Thing[6] + .05
  1955. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1956. else
  1957. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1958. end
  1959. elseif Thing[2] == "Shatter" then
  1960. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1961. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1962. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1963. Thing[6] = Thing[6] + Thing[5]
  1964. elseif Thing[2] == "Block2" then
  1965. Thing[1].CFrame = Thing[1].CFrame
  1966. Mesh = Thing[7]
  1967. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1968. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1969. elseif Thing[2] == "Block3" then
  1970. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1971. Mesh = Thing[7]
  1972. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1973. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1974. elseif Thing[2] == "Block4" then
  1975. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1976. Mesh = Thing[7]
  1977. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1978. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1979. elseif Thing[2] == "Block2Fire" then
  1980. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1981. Mesh = Thing[7]
  1982. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1983. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1984. if Thing[1].Transparency >= .3 then
  1985. Thing[1].BrickColor = BrickColor.new("Bright red")
  1986. else
  1987. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1988. end
  1989. elseif Thing[2] == "Cylinder" then
  1990. Mesh = Thing[7]
  1991. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1992. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1993. elseif Thing[2] == "Blood" then
  1994. Mesh = Thing[7]
  1995. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1996. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1997. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1998. elseif Thing[2] == "Elec" then
  1999. Mesh = Thing[10]
  2000. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2001. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2002. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  2003. Thing[1].Rotation = Vector3.new(0, 0, 0)
  2004. elseif Thing[2] == "Disappear" then
  2005. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2006. end
  2007. else
  2008. Part.Parent = nil
  2009. table.remove(Effects, e)
  2010. end
  2011. end
  2012. end
  2013. end
  2014. end
  2015. if playlist.IsPlaying == false then
  2016. playlist:Destroy()
  2017. playlist=Instance.new("Sound", Torso)
  2018. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  2019. playlist.Volume = 3
  2020. playlist.Looped = false
  2021. playlist.Name = "aa"
  2022. warn(playlist.SoundId)
  2023. playlist:Play()
  2024. end
  2025. playlist.Volume = 3
  2026. playlist.Looped = false
  2027. --soundbork(workspace)
  2028. if true then
  2029. Humanoid.MaxHealth = 1e100
  2030. Humanoid.Health = 1e100
  2031. Humanoid.Name = math.random()*100
  2032. end
  2033. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement