Advertisement
gecksad

Untitled

Nov 22nd, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 220.63 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. warn("Malcom Maddox was created by SezHu.")
  87.  
  88. wait(1 / 40)
  89. Effects = { }
  90. local Player = owner
  91. local Character = Player.Character
  92. local Humanoid = Character.Humanoid
  93. local Head = Character.Head
  94. local RootPart = Character.HumanoidRootPart
  95. local Torso = Character.Torso
  96. local LeftArm = Character["Left Arm"]
  97. local RightArm = Character["Right Arm"]
  98. local LeftLeg = Character["Left Leg"]
  99. local RightLeg = Character["Right Leg"]
  100. local Camera = game.Workspace.CurrentCamera
  101. local RootJoint = RootPart.RootJoint
  102. local Equipped = false
  103. local Attack = false
  104. local Anim = 'Idle'
  105. local Idle = 0
  106. local UIS = game:GetService("UserInputService")
  107. local Combo = 1
  108. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  109. local Velocity = RootPart.Velocity.y
  110. local Sine = 0
  111. local Change = 1
  112. local killcount = 1
  113. local lasersize = 0
  114. local charsize = 2
  115. local CF = CFrame.new
  116. local ANGLES = CFrame.Angles
  117. local RAD = math.rad
  118. local Neck = Torso["Neck"]
  119. local silenced = false
  120. Head.face:Destroy()
  121. Head.Transparency = 1
  122. if(not Humanoid:FindFirstChildOfClass'ForceField')then Instance.new("ForceField",Character).Visible = false end
  123.  
  124. local function soundbork(obj)
  125. if obj:IsA("Sound") and obj.Name ~= "aa" then
  126. obj.Looped = false
  127. obj.Pitch = 1
  128. obj.Volume = 0
  129. return
  130. end
  131.  
  132.  
  133. local children = obj:GetChildren()
  134. for i = 1, #children do
  135. soundbork(children[i])
  136. end
  137. return
  138. end
  139.  
  140. maincol = Torso.Color
  141. maincol2 = Torso.Color
  142.  
  143. local RbxUtility = LoadLibrary("RbxUtility")
  144. local Create = RbxUtility.Create
  145.  
  146. Humanoid.WalkSpeed = 16
  147. Humanoid.JumpPower = 50
  148. Humanoid.Animator.Parent = nil
  149. Character.Animate.Parent = nil
  150.  
  151. local newMotor = function(part0, part1, c0, c1)
  152. local w = Create('Motor'){
  153. Parent = part0,
  154. Part0 = part0,
  155. Part1 = part1,
  156. C0 = c0,
  157. C1 = c1,
  158. }
  159. return w
  160. end
  161.  
  162.  
  163. function clerp(a, b, t)
  164. return a:lerp(b, t)
  165. end
  166.  
  167. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  168. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  169. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  170. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  171. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  172. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  173. RootJoint.C1 = CFrame.new(0, 0, 0)
  174. RootJoint.C0 = CFrame.new(0, 0, 0)
  175. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  176. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  177. local rarmc1 = RW.C1
  178. local larmc1 = LW.C1
  179. local rlegc1 = RH.C1
  180. local llegc1 = LH.C1
  181. local resetc1 = false
  182. Humanoid.Parent = nil
  183. RootPart.Size = RootPart.Size*charsize
  184. Torso.Size = Torso.Size*charsize
  185. RightArm.Size = RightArm.Size*charsize
  186. RightLeg.Size = RightLeg.Size*charsize
  187. LeftArm.Size = LeftArm.Size*charsize
  188. LeftLeg.Size = LeftLeg.Size*charsize
  189. Head.Size = Head.Size*charsize
  190. RootJoint.Parent = RootPart
  191. Neck.Parent = Torso
  192. RW.Parent = Torso
  193. LW.Parent = Torso
  194. RH.Parent = Torso
  195. LH.Parent = Torso
  196. Humanoid.Parent = Character
  197.  
  198. ch = Character:GetChildren()
  199. for i = 1, #ch do
  200. if ch[i].Name == "Torso" then
  201. ch[i].roblox.Transparency = 1
  202. elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then
  203. ch[i]:Destroy()
  204. end
  205. end
  206.  
  207.  
  208. --<><><><><><><><><><><><>--
  209.  
  210. --Passive Effects--
  211.  
  212. --<><><><><><><><><><><><>--
  213.  
  214. spawn(function()
  215. while true do
  216. wait(.1)
  217. if Anim == "Idle" or Anim == "Walk" then
  218. 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))
  219. refpart.Anchored = false
  220. refpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),80,math.random(-30,30))
  221. refpart.CanCollide = false
  222. local GRAVITY_ACCELERATION = 3.05
  223. local bodyForce = Instance.new('BodyForce', refpart)
  224. bodyForce.Name = 'Antigravity'
  225. bodyForce.force = Vector3.new(0, refpart:GetMass() * GRAVITY_ACCELERATION, 0)
  226. local rl = Create("BodyAngularVelocity"){
  227. P = 300,
  228. maxTorque = Vector3.new(2, 2, 2),
  229. angularvelocity = Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)),
  230. Parent = refpart,}
  231. table.insert(Effects, {refpart,"Disappear",.003})
  232. game:GetService("Debris"):AddItem(refpart, 10)
  233. end
  234. end
  235. end)
  236.  
  237.  
  238. --<><><><><><><><><><><><>--
  239.  
  240. --Tables and Songs--
  241.  
  242. --<><><><><><><><><><><><>--
  243.  
  244. local songs = {
  245. 1374520036,
  246. 1034928566,
  247. 228239848,
  248. 257314417,
  249. 176069112,
  250. 608232329,
  251. }
  252.  
  253. local quotes = {
  254. "I will amaze you!",
  255. "Heads off to you!",
  256. "Step right up!",
  257. "Be amazed!",
  258. "The show must go on!",
  259. "Let the show begin!",
  260. }
  261.  
  262. playlist = Instance.new("Sound", Torso)
  263. playlist.SoundId = "rbxassetid://1234043017"
  264. playlist.Volume = 3
  265. playlist.TimePosition = 0
  266. playlist.Name = "aa"
  267. playlist:Play()
  268.  
  269. --<><><><><><><><><><><><>--
  270.  
  271. --Clothes--
  272.  
  273. --<><><><><><><><><><><><>--
  274.  
  275. local top = Instance.new("Shirt")
  276. top.ShirtTemplate = "rbxassetid://268316000"
  277. top.Parent = Character
  278. top.Name = "Cloth"
  279. local bottom = Instance.new("Pants")
  280. bottom.PantsTemplate = "rbxassetid://268949770"
  281. bottom.Parent = Character
  282. bottom.Name = "Cloth"
  283.  
  284. --<><><><><><><><><><><><>--
  285.  
  286. --Name Tag--
  287.  
  288. --<><><><><><><><><><><><>--
  289.  
  290. --[[Humanoid.DisplayDistanceType = "None"
  291. local naeeym2 = Instance.new("BillboardGui",Character)
  292. naeeym2.AlwaysOnTop = false
  293. naeeym2.Size = UDim2.new(5,35,2,15)
  294. naeeym2.StudsOffset = Vector3.new(0,7,0)
  295. naeeym2.MaxDistance = 75
  296. naeeym2.Adornee = Character.Torso
  297. naeeym2.Name = "Maddox the Swing Spirit"
  298. local tecks2 = Instance.new("TextLabel",naeeym2)
  299. tecks2.BackgroundTransparency = 1
  300. tecks2.TextScaled = true
  301. tecks2.BorderSizePixel = 0
  302. tecks2.Text = "Maddox"
  303. tecks2.Font = "Cartoon"
  304. tecks2.TextSize = 30
  305. tecks2.TextStrokeTransparency = 0
  306. tecks2.TextColor3 = Color3.new(1,1,1)
  307. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  308. tecks2.Size = UDim2.new(1,0,0.5,0)
  309. tecks2.Parent = naeeym2]]--
  310.  
  311. function PlayAnimationFromTable(table, speed, bool)
  312. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  313. Neck.C0 = clerp(Neck.C0, table[2], speed)
  314. RW.C0 = clerp(RW.C0, table[3], speed)
  315. LW.C0 = clerp(LW.C0, table[4], speed)
  316. RH.C0 = clerp(RH.C0, table[5], speed)
  317. LH.C0 = clerp(LH.C0, table[6], speed)
  318. if bool == true then
  319. if resetc1 == false then
  320. resetc1 = true
  321. RootJoint.C1 = RootJoint.C1
  322. Torso.Neck.C1 = Torso.Neck.C1
  323. RW.C1 = rarmc1
  324. LW.C1 = larmc1
  325. RH.C1 = rlegc1
  326. LH.C1 = llegc1
  327. end
  328. end
  329. end
  330.  
  331. ArtificialHB = Create("BindableEvent"){
  332. Parent = script,
  333. Name = "Heartbeat",
  334. }
  335.  
  336. script:WaitForChild("Heartbeat")
  337.  
  338. frame = 1 / 45
  339. tf = 0
  340. allowframeloss = false
  341. tossremainder = false
  342. lastframe = tick()
  343. script.Heartbeat:Fire()
  344.  
  345. game:GetService("RunService").Heartbeat:connect(function(s, p)
  346. tf = tf + s
  347. if tf >= frame then
  348. if allowframeloss then
  349. script.Heartbeat:Fire()
  350. lastframe = tick()
  351. else
  352. for i = 1, math.floor(tf / frame) do
  353. script.Heartbeat:Fire()
  354. end
  355. lastframe = tick()
  356. end
  357. if tossremainder then
  358. tf = 0
  359. else
  360. tf = tf - frame * math.floor(tf / frame)
  361. end
  362. end
  363. end)
  364.  
  365. function swait(num)
  366. if num == 0 or num == nil then
  367. ArtificialHB.Event:wait()
  368. else
  369. for i = 0, num do
  370. ArtificialHB.Event:wait()
  371. end
  372. end
  373. end
  374.  
  375. local m = Create("Model"){
  376. Parent = Character,
  377. Name = "WeaponModel"
  378. }
  379.  
  380. local m2 = Create("Model"){
  381. Parent = Character,
  382. Name = "WeaponModel2"
  383. }
  384.  
  385. function RemoveOutlines(part)
  386. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  387. end
  388.  
  389. CFuncs = {
  390. Part = {
  391. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  392. local Part = Create("Part"){
  393. Parent = Parent,
  394. Reflectance = Reflectance,
  395. Transparency = Transparency,
  396. CanCollide = false,
  397. Locked = true,
  398. BrickColor = BrickColor.new(tostring(BColor)),
  399. Name = Name,
  400. Size = Size,
  401. Material = Material,
  402. }
  403. RemoveOutlines(Part)
  404. if Size == Vector3.new() then
  405. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  406. else
  407. Part.Size = Size
  408. end
  409. return Part
  410. end;
  411. };
  412.  
  413. Mesh = {
  414. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  415. local Msh = Create(Mesh){
  416. Parent = Part,
  417. Offset = OffSet,
  418. Scale = Scale,
  419. }
  420. if Mesh == "SpecialMesh" then
  421. Msh.MeshType = MeshType
  422. Msh.MeshId = MeshId
  423. end
  424. return Msh
  425. end;
  426. };
  427.  
  428. Weld = {
  429. Create = function(Parent, Part0, Part1, C0, C1)
  430. local Weld = Create("Weld"){
  431. Parent = Parent,
  432. Part0 = Part0,
  433. Part1 = Part1,
  434. C0 = C0,
  435. C1 = C1,
  436. }
  437. return Weld
  438. end;
  439. };
  440.  
  441. Sound = {
  442. Create = function(id, par, vol, pit)
  443. local Sound = Create("Sound"){
  444. Volume = vol,
  445. Pitch = pit or 1,
  446. SoundId = "rbxassetid://" .. id,
  447. Parent = par or workspace,
  448. Name = "aa"
  449. }
  450. Sound:play()
  451. return Sound
  452. end;
  453. };
  454.  
  455. Decal = {
  456. Create = function(Color, Texture, Transparency, Name, Parent)
  457. local Decal = Create("Decal"){
  458. Color3 = Color,
  459. Texture = "rbxassetid://" .. Texture,
  460. Transparency = Transparency,
  461. Name = Name,
  462. Parent = Parent,
  463. }
  464. return Decal
  465. end;
  466. };
  467.  
  468. BillboardGui = {
  469. Create = function(Parent, Image, Position, Size)
  470. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  471. BillPar.CFrame = CFrame.new(Position)
  472. local Bill = Create("BillboardGui"){
  473. Parent = BillPar,
  474. Adornee = BillPar,
  475. Size = UDim2.new(1, 0, 1, 0),
  476. SizeOffset = Vector2.new(Size, Size),
  477. }
  478. local d = Create("ImageLabel", Bill){
  479. Parent = Bill,
  480. BackgroundTransparency = 1,
  481. Size = UDim2.new(1, 0, 1, 0),
  482. Image = "rbxassetid://" .. Image,
  483. }
  484. return BillPar
  485. end
  486. };
  487.  
  488. ParticleEmitter = {
  489. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  490. local Particle = Create("ParticleEmitter"){
  491. Parent = Parent,
  492. Color = ColorSequence.new(Color1, Color2),
  493. LightEmission = LightEmission,
  494. Size = Size,
  495. Texture = Texture,
  496. Transparency = Transparency,
  497. ZOffset = ZOffset,
  498. Acceleration = Accel,
  499. Drag = Drag,
  500. LockedToPart = LockedToPart,
  501. VelocityInheritance = VelocityInheritance,
  502. EmissionDirection = EmissionDirection,
  503. Enabled = Enabled,
  504. Lifetime = LifeTime,
  505. Rate = Rate,
  506. Rotation = Rotation,
  507. RotSpeed = RotSpeed,
  508. Speed = Speed,
  509. VelocitySpread = VelocitySpread,
  510. }
  511. return Particle
  512. end;
  513. };
  514.  
  515. CreateTemplate = {
  516.  
  517. };
  518. }
  519.  
  520.  
  521.  
  522.  
  523. function RayCast(Position, Direction, Range, Ignore)
  524. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  525. end
  526.  
  527. FindNearestTorso = function(pos)
  528. local list = (game.Workspace:children())
  529. local torso = nil
  530. local dist = 1000
  531. local temp, human, temp2 = nil, nil, nil
  532. for x = 1, #list do
  533. temp2 = list[x]
  534. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  535. temp = temp2:findFirstChild("Torso")
  536. human = temp2:findFirstChild("Humanoid")
  537. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  538. local dohit = true
  539. if dohit == true then
  540. torso = temp
  541. dist = (temp.Position - pos).magnitude
  542. end
  543. end
  544. end
  545. end
  546. return torso, dist
  547. end
  548.  
  549. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  550.  
  551. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  552. prt.Anchored = true
  553. prt.CFrame = cframe
  554. prt.Material = "Neon"
  555. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  556. game:GetService("Debris"):AddItem(prt, 10)
  557. coroutine.resume(coroutine.create(function(Part, Mesh)
  558.  
  559. for i = 0, 1, delay do
  560. swait()
  561. Part.Transparency = i
  562. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  563. end
  564. Part.Parent = nil
  565. end
  566. ), prt, msh)
  567. end
  568.  
  569.  
  570.  
  571.  
  572. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  573.  
  574. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  575. local MainPos = partt.Position
  576. local MainPos2 = mouse.Hit.p + SpreadVectors
  577. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  578. local speed = 1000
  579. local num = 1
  580. coroutine.resume(coroutine.create(function()
  581.  
  582. repeat
  583. swait()
  584. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  585. local mag = (MainPos - pos).magnitude
  586. 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)
  587. MainPos = MainPos + MouseLook.lookVector * speed
  588. num = num - 1
  589. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  590. if hit ~= nil then
  591. num = 0
  592. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  593. refpart.Anchored = true
  594. refpart.CFrame = CFrame.new(pos)
  595. game:GetService("Debris"):AddItem(refpart, 2)
  596. end
  597. do
  598. if num <= 0 then
  599. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  600. refpart.Anchored = true
  601. refpart.CFrame = CFrame.new(pos)
  602. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 10, 10, 10, 10, 10, 10, .1, 1)
  603. Effects.Break.Create(BrickColor.new(maincol), refpart.CFrame, 2, 10, 2)
  604. if hit ~= nil then
  605. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  606. end
  607. game:GetService("Debris"):AddItem(refpart, 0)
  608. end
  609. end
  610. until num <= 0
  611. end
  612. ))
  613. end
  614.  
  615.  
  616. Laser2 = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  617.  
  618. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5+lasersize, 0.5, 0.5+lasersize))
  619. prt.Anchored = true
  620. prt.CFrame = cframe
  621. prt.Material = "Neon"
  622. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  623. game:GetService("Debris"):AddItem(prt, 10)
  624. coroutine.resume(coroutine.create(function(Part, Mesh)
  625.  
  626. for i = 0, 1, delay do
  627. swait()
  628. Part.Transparency = i
  629. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  630. end
  631. Part.Parent = nil
  632. end
  633. ), prt, msh)
  634. end
  635.  
  636.  
  637.  
  638.  
  639. shoot2 = function(mouse, aoe , partt, SpreadAmount, multiply)
  640.  
  641. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  642. local MainPos = partt.Position
  643. local MainPos2 = mouse.Hit.p + SpreadVectors
  644. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  645. local speed = 1000
  646. local num = 1
  647. coroutine.resume(coroutine.create(function()
  648.  
  649. repeat
  650. swait()
  651. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  652. local mag = (MainPos - pos).magnitude
  653. 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)
  654. MainPos = MainPos + MouseLook.lookVector * speed
  655. num = num - 1
  656. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  657. if hit ~= nil then
  658. num = 0
  659. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  660. refpart.Anchored = true
  661. refpart.CFrame = CFrame.new(pos)
  662. game:GetService("Debris"):AddItem(refpart, 2)
  663. end
  664. do
  665. if num <= 0 then
  666. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  667. refpart.Anchored = true
  668. refpart.CFrame = CFrame.new(pos)
  669. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 1, 1, 1, 1+lasersize, 1+lasersize, 1+lasersize, .05, 1)
  670. if hit ~= nil then
  671. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  672. end
  673. game:GetService("Debris"):AddItem(refpart, 0)
  674. end
  675. end
  676. until num <= 0
  677. end
  678. ))
  679. end
  680.  
  681.  
  682.  
  683.  
  684. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  685. if hit.Parent == nil then
  686. return
  687. end
  688. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  689. for _, v in pairs(hit.Parent:children()) do
  690. if v:IsA("Humanoid") then
  691. h = v
  692. end
  693. end
  694. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  695. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  696. if hit.Parent.DebounceHit.Value == true then
  697. return
  698. end
  699. end
  700. local c = Create("ObjectValue"){
  701. Name = "creator",
  702. Value = owner,
  703. Parent = h,
  704. }
  705. game:GetService("Debris"):AddItem(c, .5)
  706. if HitSound ~= nil and HitPitch ~= nil then
  707. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  708. end
  709. local Damage = math.random(minim, maxim)
  710. local blocked = false
  711. local block = hit.Parent:findFirstChild("Block")
  712. if block ~= nil then
  713. if block.className == "IntValue" then
  714. if block.Value > 0 then
  715. blocked = true
  716. block.Value = block.Value - 1
  717. print(block.Value)
  718. end
  719. end
  720. end
  721. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 100 and hit.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  722. for i = 0, 1, 0.1 do
  723. Effects.Break.Create(BrickColor.new("White"), hit.CFrame, 1, 4, 1)
  724. end
  725. CFuncs.Sound.Create("402174682", Torso, 5, 1)
  726. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Poof!", 5, BrickColor.new("White").Color, BrickColor.new("Really black").Color)
  727. for _,v in pairs(hit.Parent:children()) do
  728. if v:IsA("Part") then
  729. v.Transparency = 1
  730. end
  731. end
  732. hit.Parent:BreakJoints()
  733. else
  734. h.Health = h.Health - Damage
  735. 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)
  736. end
  737. if Type == "Seizure" then
  738. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  739. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), hit.Parent.Torso.CFrame, 100, 2, .01)
  740. spawn(function()
  741. for i = 1, 1000 do
  742. swait()
  743. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  744. hum.MaxHealth = hum.MaxHealth - 10
  745. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(math.random(-1,1)/2,0,math.random(-1,1)/2)
  746. end
  747. end)
  748. elseif Type == "Paralyze" then
  749. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  750. coroutine.resume(coroutine.create(function(HHumanoid)
  751. CFuncs.Sound.Create("209545844", hit.Parent.Torso, 1, 1)
  752. CFuncs.Sound.Create("1143596511", hit.Parent.Torso, 1, 1)
  753. Effects.InnerSphere.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 100, 2, .01)
  754. local rl = Create("BodyAngularVelocity"){
  755. P = 3000,
  756. maxTorque = Vector3.new(50, 50, 50)* 200000000000,
  757. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  758. Parent = hit,
  759. }
  760. wait(.1)
  761. rl:Destroy()
  762. for i = 1, 500 do
  763. local rl = Create("BodyAngularVelocity"){
  764. P = 3000,
  765. maxTorque = Vector3.new(50, 50, 50)* 20,
  766. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  767. Parent = hit,
  768. }
  769. hum.Health = hum.Health - .01
  770. hum.PlatformStand = true
  771. for _,v in pairs(hit.Parent:children()) do
  772. if v:IsA("Part") then
  773. local oldcol = v.BrickColor
  774. v.BrickColor = BrickColor.new("New Yeller")
  775. wait(.1)
  776. v.BrickColor = oldcol
  777. end
  778. end
  779. rl:Destroy()
  780. end
  781.  
  782. HHumanoid.PlatformStand = false
  783. end), hum)
  784. elseif Type == "Knockdown" then
  785. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  786. hum.PlatformStand = true
  787. coroutine.resume(coroutine.create(function(HHumanoid)
  788. swait(1)
  789. HHumanoid.PlatformStand = false
  790. end), hum)
  791. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  792. local bodvol = Create("BodyVelocity"){
  793. velocity = angle * knockback,
  794. P = 5000,
  795. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  796. Parent = hit,
  797. }
  798. local rl = Create("BodyAngularVelocity"){
  799. P = 3000,
  800. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  801. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  802. Parent = hit,
  803. }
  804. game:GetService("Debris"):AddItem(bodvol, .5)
  805. game:GetService("Debris"):AddItem(rl, .5)
  806.  
  807. elseif Type == "Normal" then
  808. local vp = Create("BodyVelocity"){
  809. P = 500,
  810. maxForce = Vector3.new(math.huge, 0, math.huge),
  811. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  812. }
  813.  
  814.  
  815.  
  816.  
  817. if knockback > 0 then
  818. vp.Parent = hit.Parent.Torso
  819. end
  820. game:GetService("Debris"):AddItem(vp, .5)
  821. elseif Type == "Float" then
  822. local vp = Create("BodyVelocity"){
  823. P = 10,
  824. maxForce = Vector3.new(math.huge, 0, math.huge),
  825. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  826. }
  827. print(hit.Parent)
  828. if knockback > 0 then
  829. vp.Parent = hit.Parent.Torso
  830. end
  831. local hum = hit.Parent.Humanoid
  832. hum.PlatformStand = true
  833. local TotalMass = 0
  834. for _, part in pairs(hit.Parent:GetChildren()) do
  835. if part:IsA("Part") then
  836. TotalMass = TotalMass + part:GetMass()
  837. end
  838. end
  839. local ForceOfGravity = -200 * TotalMass
  840. local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
  841. floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
  842. local rl = Create("BodyAngularVelocity"){
  843. P = 500,
  844. maxTorque = Vector3.new(10, 10, 10),
  845. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  846. Parent = hit,
  847. }
  848. game:GetService("Debris"):AddItem(rl, 20)
  849. game:GetService("Debris"):AddItem(floatybits, 20)
  850. game:GetService("Debris"):AddItem(vp, .5)
  851.  
  852. spawn(function()
  853. for i = 1, 70 do
  854. wait(.2)
  855. 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)
  856. end
  857. end)
  858.  
  859. elseif Type == "Up" then
  860. local bodyVelocity = Create("BodyVelocity"){
  861. velocity = Vector3.new(0, 20, 0),
  862. P = 5000,
  863. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  864. Parent = hit,
  865. }
  866. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  867. elseif Type == "DarkUp" then
  868. coroutine.resume(coroutine.create(function()
  869. for i = 0, 1, 0.1 do
  870. swait()
  871. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  872. end
  873. end))
  874. local bodyVelocity = Create("BodyVelocity"){
  875. velocity = Vector3.new(0, 20, 0),
  876. P = 5000,
  877. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  878. Parent = hit,
  879. }
  880. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  881. elseif Type == "Snare" then
  882. local bp = Create("BodyPosition"){
  883. P = 2000,
  884. D = 100,
  885. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  886. position = hit.Parent.Torso.Position,
  887. Parent = hit.Parent.Torso,
  888. }
  889. game:GetService("Debris"):AddItem(bp, 1)
  890. elseif Type == "Freeze" then
  891. local BodPos = Create("BodyPosition"){
  892. P = 50000,
  893. D = 1000,
  894. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  895. position = hit.Parent.Torso.Position,
  896. Parent = hit.Parent.Torso,
  897. }
  898. local BodGy = Create("BodyGyro") {
  899. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  900. P = 20e+003,
  901. Parent = hit.Parent.Torso,
  902. CFrame = hit.Parent.Torso.CFrame,
  903. }
  904. CFuncs.Sound.Create("585135955", hit.Parent.Torso, 5, 1)
  905. Effects.Block.Create(BrickColor.new("Baby blue"), hit.Parent.Torso.CFrame, 3, 3, 3, 3, 5, 3, .02, 2)
  906. hit.Parent.Torso.Anchored = true
  907. coroutine.resume(coroutine.create(function(Part)
  908. swait(1.5)
  909. Part.Anchored = false
  910. end), hit.Parent.Torso)
  911. game:GetService("Debris"):AddItem(BodPos, 3)
  912. game:GetService("Debris"):AddItem(BodGy, 3)
  913. end
  914. local debounce = Create("BoolValue"){
  915. Name = "DebounceHit",
  916. Parent = hit.Parent,
  917. Value = true,
  918. }
  919. if Delay > 0 then
  920. game:GetService("Debris"):AddItem(debounce, Delay)
  921. c = Create("ObjectValue"){
  922. Name = "creator",
  923. Value = Player,
  924. Parent = h,
  925. }
  926. end
  927. game:GetService("Debris"):AddItem(c, .5)
  928. end
  929. end
  930.  
  931. function ShowDamage(Pos, Text, Time, Color, Color2)
  932. local Rate = (1 / 45)
  933. local Pos = (Pos or Vector3.new(0, 0, 0))
  934. local Text = (Text or "")
  935. local Time = (Time or 2)
  936. local Color = (Color or Color3.new(1, 0, 1))
  937. local Color2 = (Color2 or Color3.new(1, 0, 1))
  938. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  939. EffectPart.Anchored = false
  940. EffectPart.CFrame = CFrame.new(Pos)
  941. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(60,70)
  942. local sizebit = 5
  943. local BillboardGui = Create("BillboardGui"){
  944. Size = UDim2.new(sizebit, 0, sizebit, 0),
  945. Adornee = EffectPart,
  946. Parent = EffectPart,
  947. }
  948. local TextLabel = Create("TextLabel"){
  949. BackgroundTransparency = 1,
  950. Size = UDim2.new(1, 0, 1, 0),
  951. Text = Text,
  952. Font = "Cartoon",
  953. TextColor3 = Color,
  954. TextStrokeColor3 = Color2,
  955. TextStrokeTransparency = 0,
  956. TextScaled = true,
  957. Parent = BillboardGui,
  958. }
  959. game.Debris:AddItem(EffectPart, (Time))
  960. EffectPart.Parent = game:GetService("Workspace")
  961. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  962. delay(0, function()
  963. local Frames = (Time / Rate)
  964. wait(.5)
  965. EffectPart.Anchored = true
  966. wait(.5)
  967. for Frame = 1, Frames do
  968. wait(Rate)
  969. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  970. local Percent = (Frame / Frames)
  971. TextLabel.TextTransparency = Percent
  972. sizebit = sizebit - .4
  973. end
  974. if EffectPart and EffectPart.Parent then
  975. EffectPart:Destroy()
  976. end
  977. end)
  978. end
  979.  
  980. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitPitch)
  981. for _, c in pairs(workspace:children()) do
  982. local hum = c:findFirstChildOfClass("Humanoid")
  983. if hum ~= nil then
  984. local head = c:findFirstChild("Torso")
  985. if head ~= nil then
  986. local targ = head.Position - Part.Position
  987. local mag = targ.magnitude
  988. if mag <= Magnitude and c.Name ~= Player.Name then
  989. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitPitch)
  990. end
  991. end
  992. end
  993. end
  994. end
  995.  
  996. EffectModel = Create("Model"){
  997. Parent = Character,
  998. Name = "EffectModel",
  999. }
  1000.  
  1001. Effects = {
  1002. Block = {
  1003. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1004. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1005. prt.Anchored = true
  1006. prt.CFrame = cframe
  1007. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1008. game:GetService("Debris"):AddItem(prt, 10)
  1009. if Type == 1 or Type == nil then
  1010. table.insert(Effects, {
  1011. prt,
  1012. "Block1",
  1013. delay,
  1014. x3,
  1015. y3,
  1016. z3,
  1017. msh
  1018. })
  1019. elseif Type == 2 then
  1020. table.insert(Effects, {
  1021. prt,
  1022. "Block2",
  1023. delay,
  1024. x3,
  1025. y3,
  1026. z3,
  1027. msh
  1028. })
  1029. end
  1030. end;
  1031. };
  1032.  
  1033. Cylinder = {
  1034. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1035. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1036. prt.Anchored = true
  1037. prt.CFrame = cframe
  1038. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1039. game:GetService("Debris"):AddItem(prt, 2)
  1040. table.insert(Effects, {
  1041. prt,
  1042. "Cylinder",
  1043. delay,
  1044. x3,
  1045. y3,
  1046. z3,
  1047. msh
  1048. })
  1049. end;
  1050. };
  1051.  
  1052. Head = {
  1053. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1054. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1055. prt.Anchored = true
  1056. prt.CFrame = cframe
  1057. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1058. game:GetService("Debris"):AddItem(prt, 10)
  1059. table.insert(Effects, {
  1060. prt,
  1061. "Cylinder",
  1062. delay,
  1063. x3,
  1064. y3,
  1065. z3,
  1066. msh
  1067. })
  1068. end;
  1069. };
  1070.  
  1071. Sphere1 = {
  1072. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1073. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1074. prt.Anchored = true
  1075. prt.CFrame = cframe
  1076. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1077. game:GetService("Debris"):AddItem(prt, 10)
  1078. table.insert(Effects, {
  1079. prt,
  1080. "Cylinder",
  1081. delay,
  1082. x3,
  1083. y3,
  1084. z3,
  1085. msh
  1086. })
  1087. end;
  1088. };
  1089.  
  1090. Sphere2 = {
  1091. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1092. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1093. prt.Anchored = true
  1094. prt.CFrame = cframe
  1095. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1096. game:GetService("Debris"):AddItem(prt, 10)
  1097. table.insert(Effects, {
  1098. prt,
  1099. "Cylinder",
  1100. delay,
  1101. x3,
  1102. y3,
  1103. z3,
  1104. msh
  1105. })
  1106. end;
  1107. };
  1108.  
  1109. InnerSphere = {
  1110. Create = function(brickcolor, cframe, size, shrinkspeed, appspeed)
  1111. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1112. prt.Anchored = true
  1113. prt.CFrame = cframe
  1114. prt.Transparency = 1
  1115. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(size, size, size))
  1116. game:GetService("Debris"):AddItem(prt, 10)
  1117. spawn(function()
  1118. while true do
  1119. if size ~= 0 then
  1120. swait()
  1121. msh.Scale = Vector3.new(size, size, size)
  1122. size = size - shrinkspeed or size - 1
  1123. prt.Transparency = prt.Transparency - appspeed
  1124. else prt:Destroy() break
  1125. end
  1126. end
  1127. end)
  1128. end;
  1129. };
  1130.  
  1131. Elect = {
  1132. Create = function(cff, x, y, z)
  1133. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1))
  1134. prt.Anchored = true
  1135. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1136. prt.CFrame = CFrame.new(prt.Position)
  1137. game:GetService("Debris"):AddItem(prt, 2)
  1138. local xval = math.random() / 2
  1139. local yval = math.random() / 2
  1140. local zval = math.random() / 2
  1141. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1142. table.insert(Effects, {
  1143. prt,
  1144. "Elec",
  1145. 0.1,
  1146. x,
  1147. y,
  1148. z,
  1149. xval,
  1150. yval,
  1151. zval
  1152. })
  1153. end;
  1154.  
  1155. };
  1156.  
  1157. Ring = {
  1158. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1159. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1160. prt.Anchored = true
  1161. prt.CFrame = cframe
  1162. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1163. game:GetService("Debris"):AddItem(prt, 10)
  1164. table.insert(Effects, {
  1165. prt,
  1166. "Cylinder",
  1167. delay,
  1168. x3,
  1169. y3,
  1170. z3,
  1171. msh
  1172. })
  1173. end;
  1174. };
  1175.  
  1176.  
  1177. Wave = {
  1178. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1179. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1180. prt.Anchored = true
  1181. prt.CFrame = cframe
  1182. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1183. game:GetService("Debris"):AddItem(prt, 10)
  1184. table.insert(Effects, {
  1185. prt,
  1186. "Cylinder",
  1187. delay,
  1188. x3,
  1189. y3,
  1190. z3,
  1191. msh
  1192. })
  1193. end;
  1194. };
  1195.  
  1196. Break = {
  1197. Create = function(brickcolor, cframe, x1, y1, z1)
  1198. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1199. prt.Anchored = true
  1200. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1201. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1202. local num = math.random(10, 50) / 1000
  1203. game:GetService("Debris"):AddItem(prt, 10)
  1204. table.insert(Effects, {
  1205. prt,
  1206. "Shatter",
  1207. num,
  1208. prt.CFrame,
  1209. math.random() - math.random(),
  1210. 0,
  1211. math.random(50, 100) / 100
  1212. })
  1213. end;
  1214. };
  1215.  
  1216. Fire = {
  1217. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1218. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1219. prt.Anchored = true
  1220. prt.CFrame = cframe
  1221. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1222. game:GetService("Debris"):AddItem(prt, 10)
  1223. table.insert(Effects, {
  1224. prt,
  1225. "Fire",
  1226. delay,
  1227. 1,
  1228. 1,
  1229. 1,
  1230. msh
  1231. })
  1232. end;
  1233. };
  1234.  
  1235. FireWave = {
  1236. Create = function(brickcolor, cframe, x1, y1, z1)
  1237. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1238. prt.Anchored = true
  1239. prt.CFrame = cframe
  1240. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1241. local d = Create("Decal"){
  1242. Parent = prt,
  1243. Texture = "rbxassetid://26356434",
  1244. Face = "Top",
  1245. }
  1246. local d = Create("Decal"){
  1247. Parent = prt,
  1248. Texture = "rbxassetid://26356434",
  1249. Face = "Bottom",
  1250. }
  1251. game:GetService("Debris"):AddItem(prt, 10)
  1252. table.insert(Effects, {
  1253. prt,
  1254. "FireWave",
  1255. 1,
  1256. 30,
  1257. math.random(400, 600) / 100,
  1258. msh
  1259. })
  1260. end;
  1261. };
  1262.  
  1263. Lightning = {
  1264. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1265. local magz = (p0 - p1).magnitude
  1266. local curpos = p0
  1267. local trz = {
  1268. -ofs,
  1269. ofs
  1270. }
  1271. for i = 1, tym do
  1272. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1273. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1274. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1275. li.Material = "Neon"
  1276. if tym == i then
  1277. local magz2 = (curpos - p1).magnitude
  1278. li.Size = Vector3.new(th, th, magz2)
  1279. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1280. table.insert(Effects, {
  1281. li,
  1282. "Disappear",
  1283. last
  1284. })
  1285. else
  1286. do
  1287. do
  1288. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1289. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1290. game.Debris:AddItem(li, 10)
  1291. table.insert(Effects, {
  1292. li,
  1293. "Disappear",
  1294. last
  1295. })
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end
  1301. };
  1302.  
  1303. EffectTemplate = {
  1304.  
  1305. };
  1306. }
  1307.  
  1308. Hat=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Medium stone grey","Hat",Vector3.new(2, 2, 2))
  1309. HatWeld=CFuncs.Weld.Create(m,Character["Head"],Hat,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365142822, -0.719758511, 0.0314178467, -1.00000834, 4.61186464e-05, -2.77473146e-06, 4.86522331e-05, 1, 5.23036442e-06, 2.92961045e-06, 5.51708399e-06, -1))
  1310. meh=CFuncs.Mesh.Create("SpecialMesh",Hat,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=2711178",Vector3.new(0, 0, 0),Vector3.new(2, 2, 2))
  1311. meh.TextureId = "http://www.roblox.com/asset/?id=32935396"
  1312.  
  1313.  
  1314.  
  1315. for _,v in pairs(m2:children()) do
  1316. if v:IsA("Part") and v.Name == "pand" then
  1317. v.Transparency = 1
  1318. end
  1319. end
  1320.  
  1321.  
  1322. --Start neccessary functions here
  1323.  
  1324. function Tween(obj,props,time,easing,direction,repeats,backwards)
  1325. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  1326. local tween = game:service'TweenService':Create(obj, info, props)
  1327.  
  1328. tween:Play()
  1329. end
  1330.  
  1331. function Trace()
  1332. for _,v in next, Character:GetChildren() do
  1333. if(v:IsA'Part') and v ~= RootPart then
  1334. local trace = Instance.new("Part")
  1335. trace.Parent = workspace
  1336. trace.Size = v.Size
  1337. trace.Material = Enum.Material.Neon
  1338. trace.Color = maincol
  1339. trace.Transparency = .3
  1340. trace.Anchored = true
  1341. trace.CanCollide = false
  1342. trace.CFrame = v.CFrame
  1343. Tween(trace,{Transparency=1},.5)
  1344. game:GetService("Debris"):AddItem(trace, 1)
  1345. if v.Name == "Head" then
  1346. local mehs = Instance.new("CylinderMesh",trace)
  1347. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1348. end
  1349. end
  1350. end
  1351. end
  1352.  
  1353.  
  1354. function ducks()
  1355. for i = 0, 3, 0.1 do
  1356. swait()
  1357. PlayAnimationFromTable({
  1358. 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),
  1359. 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),
  1360. 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),
  1361. 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),
  1362. 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),
  1363. 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),
  1364. }, .3, false)
  1365. end
  1366. for i = 1, 2 do
  1367. for i = 0, 1, 0.1 do
  1368. swait()
  1369. PlayAnimationFromTable({
  1370. 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),
  1371. 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),
  1372. 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),
  1373. 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),
  1374. 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),
  1375. 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),
  1376. }, .3, false)
  1377. end
  1378. for i = 0, 1, 0.1 do
  1379. swait()
  1380. PlayAnimationFromTable({
  1381. 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),
  1382. 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),
  1383. 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),
  1384. 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),
  1385. 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),
  1386. 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),
  1387. }, .3, false)
  1388. end
  1389. end
  1390. CFuncs.Sound.Create("270620358", Hat, 3, 1)
  1391. for i = 0, 3, 0.1 do
  1392. swait()
  1393. PlayAnimationFromTable({
  1394. 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),
  1395. 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),
  1396. 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),
  1397. 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),
  1398. 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),
  1399. 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),
  1400. }, .2, false)
  1401. end
  1402. qwek = Instance.new("Sound", Torso)
  1403. qwek.SoundId = "rbxassetid://271006579"
  1404. qwek.Looped = true
  1405. qwek.Volume = 5
  1406. qwek.Pitch = .8
  1407. qwek:Play()
  1408. qwek2 = Instance.new("Sound", Torso)
  1409. qwek2.SoundId = "rbxassetid://271006579"
  1410. qwek2.Looped = true
  1411. qwek2.Volume = 5
  1412. qwek2.Pitch = 1
  1413. qwek2:Play()
  1414. qwek3 = Instance.new("Sound", Torso)
  1415. qwek3.SoundId = "rbxassetid://271006579"
  1416. qwek3.Looped = true
  1417. qwek3.Volume = 5
  1418. qwek3.Pitch = 1.3
  1419. qwek3:Play()
  1420. for i = 0, 10, 0.1 do
  1421. swait()
  1422. PlayAnimationFromTable({
  1423. 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),
  1424. 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),
  1425. 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),
  1426. 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),
  1427. 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),
  1428. 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),
  1429. }, .3, false)
  1430. local duk=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright yellow","duk",Vector3.new(2, 2, 2))
  1431. local moosh = CFuncs.Mesh.Create("SpecialMesh",duk,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9419831",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1432. duk.CFrame = Hat.CFrame
  1433. duk.CanCollide = false
  1434. duk.Velocity = Vector3.new(math.random(-20,20),math.random(-60,60),math.random(-20,20))
  1435. duk.Name = "duk"
  1436. table.insert(Effects, {duk,"Disappear",.01})
  1437. game:GetService("Debris"):AddItem(duk, 3)
  1438. moosh.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1439. Torso.Velocity=RootPart.CFrame.upVector*100
  1440. local con = duk.Touched:connect(function(hit)
  1441. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "duk" and hit ~= m then
  1442. MagnitudeDamage(duk, 5, 30, 30, 20, "Normal", " ", 1)
  1443. Effects.Sphere2.Create(BrickColor.new("Gold"), duk.CFrame, 1, 1, 1, 2, 2, 2, .05)
  1444. end
  1445. end)
  1446. end
  1447. qwek3:Destroy()
  1448. qwek2:Destroy()
  1449. qwek:Destroy()
  1450. end
  1451.  
  1452.  
  1453.  
  1454. function pocketpandora()
  1455. Humanoid.AutoRotate = true
  1456. local PocketPandora=CFuncs.Part.Create( workspace,Enum.Material.Plastic,0,1,"Medium stone grey","PocketPandora",Vector3.new(0.512000322, 0.652799785, 0.640000045))
  1457. 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))
  1458. local pand=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"Fossil","pand",Vector3.new(0.406399965, 0.419200003, 0.320000023))
  1459. 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))
  1460. 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))
  1461. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1462. 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))
  1463. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1464. 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))
  1465. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1466. 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))
  1467. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1468. 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))
  1469. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.896000028, 0.896000028, 0.448000014))
  1470. 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))
  1471. local pand=CFuncs.Part.Create( workspace,Enum.Material.Fabric,0,1.400709148669e-08,"Institutional white","pand",Vector3.new(0.896000028, 0.448000014, 0.448000014))
  1472. 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))
  1473. CFuncs.Mesh.Create("SpecialMesh",pand,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.25, 1.25, 1.25))
  1474.  
  1475. for i = 0, 3, 0.1 do
  1476. swait()
  1477. PlayAnimationFromTable({
  1478. 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),
  1479. 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),
  1480. 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),
  1481. 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),
  1482. 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),
  1483. 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),
  1484. }, .3, false)
  1485. end
  1486. CFuncs.Sound.Create("525166232", pand, 10, 1.1)
  1487. for i = 0, 3, 0.1 do
  1488. swait()
  1489. PlayAnimationFromTable({
  1490. 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),
  1491. 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),
  1492. 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),
  1493. 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),
  1494. 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),
  1495. 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),
  1496. }, .3, false)
  1497. end
  1498. for i = 0, 2, 0.1 do
  1499. swait()
  1500. PlayAnimationFromTable({
  1501. 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),
  1502. 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),
  1503. 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),
  1504. 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),
  1505. 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),
  1506. 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),
  1507. }, .3, false)
  1508. end
  1509.  
  1510. for i = 0, .1, 0.1 do
  1511. swait()
  1512. PlayAnimationFromTable({
  1513. 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),
  1514. 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),
  1515. 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),
  1516. 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),
  1517. 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),
  1518. 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),
  1519. }, .3, false)
  1520. end
  1521. PocketPandoraWeld:Destroy()
  1522. CFuncs.Sound.Create("160718677", pand, 5, 1)
  1523. for _,v in pairs(workspace:children()) do
  1524. if v:IsA("Part") and v.Name == "PocketPandora" then
  1525. v.Anchored = false
  1526. v.CanCollide = true
  1527. v.Parent = workspace
  1528. v.CFrame = RootPart.CFrame * CFrame.new(2,5,-5)
  1529. v.Velocity=RootPart.CFrame.lookVector*200
  1530. local con = v.Touched:connect(function(hit)
  1531. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "refpart" then
  1532. MagnitudeDamage(PocketPandora, 30, 100, 100, 50, "Normal", " ", 1)
  1533. Effects.Sphere2.Create(BrickColor.new("Smoky grey"), v.CFrame, .5, 2, .5, 3, 5, 3, .03)
  1534. Effects.Sphere2.Create(BrickColor.new(maincol), v.CFrame, .6, 3, .6, 4, 6, 4, .03)
  1535. CFuncs.Sound.Create("206049428", pand, 10, 1)
  1536. v:Destroy()
  1537. end
  1538. end)
  1539. end
  1540. end
  1541.  
  1542. for i = 0,5, 0.1 do
  1543. swait()
  1544. PlayAnimationFromTable({
  1545. 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),
  1546. 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),
  1547. 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),
  1548. 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),
  1549. 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),
  1550. 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),
  1551. }, .3, false)
  1552. end
  1553.  
  1554. end
  1555.  
  1556.  
  1557. function foryou()
  1558. Humanoid.AutoRotate = true
  1559.  
  1560. FHandle=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Institutional white","FHandle",Vector3.new(1, 2, 1))
  1561. 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))
  1562. CFuncs.Mesh.Create("SpecialMesh",FHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1049194",Vector3.new(0, 0, 0),Vector3.new(1.79999995, 1.29999995, 1.89999998))
  1563. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Dusty Rose","Plant",Vector3.new(2, 0.400000006, 2))
  1564. 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))
  1565. 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))
  1566. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Really red","Plant",Vector3.new(2, 0.400000006, 2))
  1567. 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))
  1568. 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))
  1569. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1570. 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))
  1571. 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))
  1572. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1573. 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))
  1574. 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))
  1575. fire=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Medium stone grey","fire",Vector3.new(1.4400003, 2.17999935, 2.24999976))
  1576. 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))
  1577. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Salmon","Plant",Vector3.new(2, 0.400000006, 2))
  1578. 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))
  1579. 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))
  1580. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1581. 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))
  1582. 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))
  1583. CFuncs.Sound.Create("1030472543", Torso, 10, 1)
  1584. for i = 0, 5, 0.1 do
  1585. swait()
  1586. PlayAnimationFromTable({
  1587. 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),
  1588. 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),
  1589. 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),
  1590. 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),
  1591. 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),
  1592. 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),
  1593. }, .3, false)
  1594. end
  1595. for i = 0, 6, 0.1 do
  1596. swait()
  1597. PlayAnimationFromTable({
  1598. 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),
  1599. 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),
  1600. 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),
  1601. 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),
  1602. 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),
  1603. 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),
  1604. }, .3, false)
  1605. end
  1606. CFuncs.Sound.Create("490241055", fire, 10, 1)
  1607. local PE1 = Instance.new("ParticleEmitter",fire)
  1608. PE1.LightEmission = NumberSequence.new(0.2)
  1609. PE1.Size = NumberSequence.new(3)
  1610. PE1.Texture = "http://www.roblox.com/asset/?id=242461088"
  1611. PE1.Lifetime = NumberRange.new(.75)
  1612. PE1.Rate = 50.000
  1613. PE1.Transparency = NumberSequence.new(0.2)
  1614. PE1.LightEmission = NumberSequence.new(1)
  1615. PE1.Rotation = NumberRange.new(0)
  1616. PE1.Speed = NumberRange.new(.1)
  1617. PE1.RotSpeed = NumberRange.new(0)
  1618. PE1.ZOffset = .2
  1619. for i = 0, 5, 0.1 do
  1620. swait()
  1621. PlayAnimationFromTable({
  1622. 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),
  1623. 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),
  1624. 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),
  1625. 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),
  1626. 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),
  1627. 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),
  1628. }, .3, false)
  1629. end
  1630. CFuncs.Sound.Create("172324194", Torso, 10, 1)
  1631. for i = 0, 6, 0.1 do
  1632. swait()
  1633. PlayAnimationFromTable({
  1634. 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),
  1635. 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),
  1636. 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),
  1637. 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),
  1638. 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),
  1639. 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),
  1640. }, .4, false)
  1641. end
  1642. FHandleWeld:Destroy()
  1643. for _,v in pairs(m2:children()) do
  1644. if v:IsA("Part") then
  1645. v.Parent = workspace
  1646. v.CanCollide = true
  1647. v.Velocity=RootPart.CFrame.upVector*0
  1648. table.insert(Effects, {v,"Disappear",.008})
  1649. game:GetService("Debris"):AddItem(v, 5)
  1650. end
  1651. end
  1652. end
  1653.  
  1654.  
  1655.  
  1656. function topwat()
  1657. Attack = true
  1658. Humanoid.WalkSpeed = 0
  1659. Humanoid.JumpPower = 0
  1660. Humanoid.AutoRotate = false
  1661.  
  1662. for i = 0, 8, 0.1 do
  1663. swait()
  1664. PlayAnimationFromTable({
  1665. 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),
  1666. 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),
  1667. 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),
  1668. 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),
  1669. 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),
  1670. 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),
  1671. }, .1, false)
  1672. end
  1673.  
  1674.  
  1675. local x = math.random(1,3)
  1676. if x == 1 then
  1677. pocketpandora()
  1678. elseif x == 2 then
  1679. ducks()
  1680. elseif x == 3 then
  1681. foryou()
  1682. end
  1683.  
  1684. Humanoid.WalkSpeed = 16
  1685. Humanoid.JumpPower = 50
  1686. Humanoid.AutoRotate = true
  1687. Attack = false
  1688. end
  1689.  
  1690. function hatsoff()
  1691. Attack = true
  1692. Humanoid.WalkSpeed = 0
  1693. Humanoid.JumpPower = 0
  1694. CFuncs.Sound.Create("1578720743", Torso, 5, 1)
  1695. 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)
  1696. for i = 0, 8, 0.1 do
  1697. swait()
  1698. PlayAnimationFromTable({
  1699. 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),
  1700. 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),
  1701. 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),
  1702. 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),
  1703. 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),
  1704. 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),
  1705. }, .2, false)
  1706. end
  1707. for i = 0, .5, 0.1 do
  1708. swait()
  1709. PlayAnimationFromTable({
  1710. 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),
  1711. 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),
  1712. 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),
  1713. 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),
  1714. 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),
  1715. 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),
  1716. }, .1, false)
  1717. end
  1718. Humanoid.WalkSpeed = 16
  1719. Humanoid.JumpPower = 50
  1720. Attack = false
  1721. end
  1722.  
  1723.  
  1724.  
  1725. function overthere()
  1726. Attack = true
  1727. local xy = 2
  1728. local hitt = Mouse.hit
  1729. Humanoid.WalkSpeed = 0
  1730. Humanoid.JumpPower = 0
  1731. CFuncs.Sound.Create("538558581", Hat, 5, 1)
  1732. for i = 0, 5, 0.1 do
  1733. swait()
  1734. xy = xy + .15
  1735. PlayAnimationFromTable({
  1736. 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),
  1737. 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),
  1738. 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),
  1739. 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),
  1740. 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),
  1741. 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),
  1742. }, .1, false)
  1743. meh.Scale = Vector3.new(xy, xy, xy)
  1744. end
  1745. CFuncs.Sound.Create("144507916", Torso, 5, 1)
  1746. Effects.Wave.Create(BrickColor.new("White"), Hat.CFrame*CFrame.new(0,-20,0), 4, 1, 4, 4, 1, 4, .05)
  1747. for i = 0, 1, 0.1 do
  1748. swait()
  1749. PlayAnimationFromTable({
  1750. 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),
  1751. 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),
  1752. 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),
  1753. 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),
  1754. 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),
  1755. 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),
  1756. }, .5, false)
  1757. end
  1758. RootPart.CFrame = hitt * CFrame.new(0,6,0)
  1759. for i = 0, 2, 0.1 do
  1760. swait()
  1761. PlayAnimationFromTable({
  1762. 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),
  1763. 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),
  1764. 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),
  1765. 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),
  1766. 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),
  1767. 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),
  1768. }, .3, false)
  1769. end
  1770. for i = 0, 1.5, 0.1 do
  1771. swait()
  1772. xy = xy - .5
  1773. PlayAnimationFromTable({
  1774. 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),
  1775. 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),
  1776. 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))),
  1777. 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))),
  1778. 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),
  1779. 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),
  1780. }, .1, false)
  1781. meh.Scale = Vector3.new(xy, xy, xy)
  1782. end
  1783. meh.Scale = Vector3.new(2, 2, 2)
  1784. Humanoid.WalkSpeed = 16
  1785. Humanoid.JumpPower = 50
  1786. Attack = false
  1787. end
  1788.  
  1789. function card()
  1790. Attack = true
  1791. Humanoid.WalkSpeed = 0
  1792. Humanoid.JumpPower = 0
  1793. for i = 0, 5, 0.1 do
  1794. swait()
  1795. PlayAnimationFromTable({
  1796. 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),
  1797. 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),
  1798. 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),
  1799. 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),
  1800. 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),
  1801. 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),
  1802. }, .2, false)
  1803. end
  1804. MysteryCard=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"White","MysteryCard",Vector3.new(0.880001426, 0.0500000007, 1.42000163))
  1805. 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))
  1806. local dec = Instance.new("Decal",MysteryCard)
  1807. dec.Texture = "rbxassetid://8644107"
  1808. dec.Face = "Bottom"
  1809. local e = math.random(1,4)
  1810. if e == 1 then
  1811. local dec2 = Instance.new("Decal",MysteryCard)
  1812. dec2.Texture = "rbxassetid://173448236"
  1813. dec2.Face = "Top"
  1814. elseif e == 2 then
  1815. local dec2 = Instance.new("Decal",MysteryCard)
  1816. dec2.Texture = "rbxassetid://1167119856"
  1817. dec2.Face = "Top"
  1818. CFuncs.Sound.Create("976606790", Torso, 3, 1)
  1819. elseif e == 3 then
  1820. local dec2 = Instance.new("Decal",MysteryCard)
  1821. dec2.Texture = "rbxassetid://342673258"
  1822. dec2.Face = "Top"
  1823. elseif e == 100 then
  1824. local dec2 = Instance.new("Decal",MysteryCard)
  1825. dec2.Texture = "rbxassetid://1403304829"
  1826. dec2.Face = "Top"
  1827. elseif e == 4 then
  1828. local dec2 = Instance.new("Decal",MysteryCard)
  1829. dec2.Texture = "rbxassetid://358190487"
  1830. dec2.Face = "Top"
  1831. end
  1832. for i = 0, .1, 0.1 do
  1833. swait()
  1834. PlayAnimationFromTable({
  1835. 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),
  1836. 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),
  1837. 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),
  1838. 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),
  1839. 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),
  1840. 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),
  1841. }, .1, false)
  1842. end
  1843. for i = 0, 5, 0.1 do
  1844. swait()
  1845. PlayAnimationFromTable({
  1846. 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),
  1847. 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),
  1848. 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),
  1849. 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),
  1850. 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),
  1851. 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),
  1852. }, .2, false)
  1853. end
  1854.  
  1855. for i = 0, 3, 0.1 do
  1856. swait()
  1857. PlayAnimationFromTable({
  1858. 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),
  1859. 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),
  1860. 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),
  1861. 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),
  1862. 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),
  1863. 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),
  1864. }, .2, false)
  1865. end
  1866. if e == 1 then
  1867. MagnitudeDamage(Torso, 70, 20, 20, 0, "Seizure", " ", 1)
  1868. Effects.Sphere2.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1869. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 100, 2, .01)
  1870. CFuncs.Sound.Create("1751051242", Torso, 5, 1)
  1871. elseif e == 2 then
  1872. MagnitudeDamage(Torso, 70, 10, 10, 0, "Freeze", " ", 1)
  1873. Effects.Sphere2.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 2, 2, 2, 2, 2, 2, .01)
  1874. Effects.Sphere1.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1875. elseif e == 3 then
  1876. CFuncs.Sound.Create("157506631", Torso, 5, 1)
  1877. for i = 1,5 do
  1878. Effects.InnerSphere.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 100, 2, .01)
  1879. wait(.4)
  1880. end
  1881. wait(.8)
  1882. MagnitudeDamage(Torso, 70, 500, 500, 500, "Normal", " ", 1)
  1883. CFuncs.Sound.Create("1543847134", Torso, 5, 1)
  1884. Effects.Sphere2.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 2, 2, 2, 13, 13, 13, .01)
  1885. Effects.Sphere1.Create(BrickColor.new("Really red"), MysteryCard.CFrame, 1, 1, 1, 12, 12, 12, .01)
  1886. elseif e == 100 then
  1887. MagnitudeDamage(Torso, 70, 5, 5, 0, "Float", " ", 1)
  1888. Effects.Sphere2.Create(BrickColor.new("White"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1889. elseif e == 4 then
  1890. MagnitudeDamage(Torso, 70, 30, 30, 0, "Paralyze", " ", 1)
  1891. Effects.Sphere2.Create(BrickColor.new("Gold"), MysteryCard.CFrame, 1, 1, 1, 8, 8, 8, .05)
  1892. Effects.InnerSphere.Create(BrickColor.new("White"), MysteryCard.CFrame, 100, 2, .01)
  1893. end
  1894. table.insert(Effects, {MysteryCard,"Disappear",.01})
  1895. for i = 0, 5, 0.1 do
  1896. swait()
  1897. PlayAnimationFromTable({
  1898. 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),
  1899. 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),
  1900. 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),
  1901. 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),
  1902. 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),
  1903. 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),
  1904. }, .2, false)
  1905. end
  1906. Humanoid.WalkSpeed = 16
  1907. Humanoid.JumpPower = 50
  1908. Attack = false
  1909. MysteryCard:Destroy()
  1910. MysteryCardWeld:Destroy()
  1911. end
  1912.  
  1913.  
  1914.  
  1915.  
  1916. function unanchor()
  1917. g = Character:GetChildren()
  1918. for i = 1, #g do
  1919. if g[i].ClassName == "Part" then
  1920. g[i].Anchored = false
  1921. end
  1922. end
  1923. end
  1924.  
  1925.  
  1926. Mouse.KeyDown:connect(function(Key)
  1927. Key = Key:lower()
  1928. if Attack == false and Key == 'z' and Anim == "Idle" then
  1929. overthere()
  1930. elseif Attack == false and Key == 'x' and Anim == "Idle" then
  1931. topwat()
  1932. elseif Attack == false and Key == 'c' then
  1933. card()
  1934. elseif Attack == false and Key == 'v' then
  1935. print("too lazy to add this move lul")
  1936. elseif Attack == false and Key == 't' and Anim == "Idle" then
  1937. hatsoff()
  1938. end
  1939. end)
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945. while true do
  1946. swait()
  1947. unanchor()
  1948. for i, v in pairs(Character:GetChildren()) do
  1949. if v:IsA("Part") then
  1950. v.Material = "SmoothPlastic"
  1951. elseif v:IsA("Accessory") then
  1952. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1953. end
  1954. end
  1955. for i, v in pairs(Character:GetChildren()) do
  1956. if v:IsA'Model' then
  1957. for _, c in pairs(v:GetChildren()) do
  1958. if c:IsA'Part' then
  1959. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1960. end
  1961. end
  1962. end
  1963. end
  1964. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1965. Velocity = RootPart.Velocity.y
  1966. Sine = Sine + Change
  1967. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 7, Character)
  1968. if RootPart.Velocity.y > 1 and hit == nil then
  1969. Anim = "Jump"
  1970. if Attack == false then
  1971. Change = 1
  1972. PlayAnimationFromTable({
  1973. 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),
  1974. 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),
  1975. 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),
  1976. 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),
  1977. 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),
  1978. 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),
  1979. }, .04, false)
  1980. end
  1981. elseif RootPart.Velocity.y < -1 and hit == nil then
  1982. Anim = "Fall"
  1983. if Attack == false then
  1984. Change = 1
  1985. PlayAnimationFromTable({
  1986. 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),
  1987. 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),
  1988. 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),
  1989. 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),
  1990. 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),
  1991. 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),
  1992. }, .04, false)
  1993. end
  1994. elseif TorsoVelocity < 1 and hit ~= nil then
  1995. Anim = "Idle"
  1996. if Attack == false then
  1997. Change = 1
  1998. PlayAnimationFromTable({
  1999. 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),
  2000. 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),
  2001. 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))),
  2002. 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))),
  2003. 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),
  2004. 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),
  2005. }, .1, false)
  2006. end
  2007. elseif TorsoVelocity > 2 and hit ~= nil then
  2008. Anim = "Walk"
  2009. if Attack == false then
  2010. PlayAnimationFromTable({
  2011. 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)),
  2012. 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),
  2013. 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))),
  2014. 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))),
  2015. 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),
  2016. 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),
  2017. }, .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
  2018. end
  2019. end
  2020. if #Effects > 0 then
  2021. for e = 1, #Effects do
  2022. if Effects[e] ~= nil then
  2023. local Thing = Effects[e]
  2024. if Thing ~= nil then
  2025. local Part = Thing[1]
  2026. local Mode = Thing[2]
  2027. local Delay = Thing[3]
  2028. local IncX = Thing[4]
  2029. local IncY = Thing[5]
  2030. if Thing[1].Transparency <= 1 then
  2031. if Thing[2] == "Block1" then
  2032. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2033. Mesh = Thing[7]
  2034. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2035. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2036. elseif Thing[2] == "Ice" then
  2037. if Thing[6] <= Thing[5] then
  2038. Thing[6] = Thing[6] + .05
  2039. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  2040. else
  2041. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2042. end
  2043. elseif Thing[2] == "Shatter" then
  2044. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2045. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2046. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2047. Thing[6] = Thing[6] + Thing[5]
  2048. elseif Thing[2] == "Block2" then
  2049. Thing[1].CFrame = Thing[1].CFrame
  2050. Mesh = Thing[7]
  2051. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2052. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2053. elseif Thing[2] == "Block3" then
  2054. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2055. Mesh = Thing[7]
  2056. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2057. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2058. elseif Thing[2] == "Block4" then
  2059. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  2060. Mesh = Thing[7]
  2061. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2062. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2063. elseif Thing[2] == "Block2Fire" then
  2064. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2065. Mesh = Thing[7]
  2066. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2067. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068. if Thing[1].Transparency >= .3 then
  2069. Thing[1].BrickColor = BrickColor.new("Bright red")
  2070. else
  2071. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  2072. end
  2073. elseif Thing[2] == "Cylinder" then
  2074. Mesh = Thing[7]
  2075. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2076. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2077. elseif Thing[2] == "Blood" then
  2078. Mesh = Thing[7]
  2079. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  2080. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2081. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2082. elseif Thing[2] == "Elec" then
  2083. Mesh = Thing[10]
  2084. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2085. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2086. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  2087. Thing[1].Rotation = Vector3.new(0, 0, 0)
  2088. elseif Thing[2] == "Disappear" then
  2089. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2090. end
  2091. else
  2092. Part.Parent = nil
  2093. table.remove(Effects, e)
  2094. end
  2095. end
  2096. end
  2097. end
  2098. end
  2099. if playlist.IsPlaying == false then
  2100. playlist:Destroy()
  2101. playlist=Instance.new("Sound", Torso)
  2102. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  2103. playlist.Volume = 3
  2104. playlist.Looped = false
  2105. playlist.Name = "aa"
  2106. warn(playlist.SoundId)
  2107. playlist:Play()
  2108. end
  2109. playlist.Volume = 3
  2110. playlist.Looped = false
  2111. --soundbork(workspace)
  2112. if true then
  2113. Humanoid.MaxHealth = 1e100
  2114. Humanoid.Health = 1e100
  2115. Humanoid.Name = math.random()*100
  2116. end
  2117. end
  2118. RAW Paste Data
  2119.  
  2120. --[[<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><>
  2121.  
  2122.  
  2123. Malcom was the host of his own 1920's radio broadcast, "Malcom Maddox's Magical Extravaganza!". Despite being fairly wealthy for the time, he always dreamed of getting up and performing in front of a crowd.
  2124.  
  2125. This is what he did. Well... He would have done this if a large bus wasn't driving at 50 miles over the speed limit, and into his unsuspecting face.
  2126.  
  2127. So, Malcom died.. Sort of. You see, people tend to stick around after they die if they have unfinished business. Malcom was no exception. After the shock of realizing that he was dead, he decided to go to his big show anyways.
  2128.  
  2129. Unfortunately, people that are alive don't really see dead people walking around, so when the patrons of the theatre saw Malcom, they wet their pants and ran down the fire escape.
  2130.  
  2131. After this incident, Malcom has hidden himself to the rest of the world, his mystical wonders hidden.. Until now.
  2132.  
  2133.  
  2134. <><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  2135.  
  2136.  
  2137. <>Controls<>
  2138.  
  2139. Z: Disappearing Act <> Use your hat to warp to your mouse cursor.
  2140.  
  2141.  
  2142. X: Hat Trick <> Pull three different things out of your hat. (Its randomized!)
  2143.  
  2144.  
  2145. C: Draw a Card <> Draw a card that does one of five effects. (Its randomized!)
  2146.  
  2147.  
  2148. V: lul
  2149.  
  2150.  
  2151. T: Heads Off <> Tell your audience that they will be amazed!
  2152.  
  2153. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>]]--
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159. warn("Malcom Maddox was created by SezHu.")
  2160.  
  2161. wait(1 / 40)
  2162. Effects = { }
  2163. local Player = owner
  2164. local Character = Player.Character
  2165. local Humanoid = Character.Humanoid
  2166. local Head = Character.Head
  2167. local RootPart = Character.HumanoidRootPart
  2168. local Torso = Character.Torso
  2169. local LeftArm = Character["Left Arm"]
  2170. local RightArm = Character["Right Arm"]
  2171. local LeftLeg = Character["Left Leg"]
  2172. local RightLeg = Character["Right Leg"]
  2173. local Camera = game.Workspace.CurrentCamera
  2174. local RootJoint = RootPart.RootJoint
  2175. local Equipped = false
  2176. local Attack = false
  2177. local Anim = 'Idle'
  2178. local Idle = 0
  2179. local UIS = game:GetService("UserInputService")
  2180. local Combo = 1
  2181. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2182. local Velocity = RootPart.Velocity.y
  2183. local Sine = 0
  2184. local Change = 1
  2185. local killcount = 1
  2186. local lasersize = 0
  2187. local charsize = 2
  2188. local CF = CFrame.new
  2189. local ANGLES = CFrame.Angles
  2190. local RAD = math.rad
  2191. local Neck = Torso["Neck"]
  2192. local silenced = false
  2193. Head.face:Destroy()
  2194. Head.Transparency = 1
  2195. if(not Humanoid:FindFirstChildOfClass'ForceField')then Instance.new("ForceField",Character).Visible = false end
  2196.  
  2197. local function soundbork(obj)
  2198. if obj:IsA("Sound") and obj.Name ~= "aa" then
  2199. obj.Looped = false
  2200. obj.Pitch = 1
  2201. obj.Volume = 0
  2202. return
  2203. end
  2204.  
  2205.  
  2206. local children = obj:GetChildren()
  2207. for i = 1, #children do
  2208. soundbork(children[i])
  2209. end
  2210. return
  2211. end
  2212.  
  2213. maincol = Torso.Color
  2214. maincol2 = Torso.Color
  2215.  
  2216. local RbxUtility = LoadLibrary("RbxUtility")
  2217. local Create = RbxUtility.Create
  2218.  
  2219. Humanoid.WalkSpeed = 16
  2220. Humanoid.JumpPower = 50
  2221. Humanoid.Animator.Parent = nil
  2222. Character.Animate.Parent = nil
  2223.  
  2224. local newMotor = function(part0, part1, c0, c1)
  2225. local w = Create('Motor'){
  2226. Parent = part0,
  2227. Part0 = part0,
  2228. Part1 = part1,
  2229. C0 = c0,
  2230. C1 = c1,
  2231. }
  2232. return w
  2233. end
  2234.  
  2235.  
  2236. function clerp(a, b, t)
  2237. return a:lerp(b, t)
  2238. end
  2239.  
  2240. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2241. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2242. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  2243. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  2244. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  2245. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  2246. RootJoint.C1 = CFrame.new(0, 0, 0)
  2247. RootJoint.C0 = CFrame.new(0, 0, 0)
  2248. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  2249. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  2250. local rarmc1 = RW.C1
  2251. local larmc1 = LW.C1
  2252. local rlegc1 = RH.C1
  2253. local llegc1 = LH.C1
  2254. local resetc1 = false
  2255. Humanoid.Parent = nil
  2256. RootPart.Size = RootPart.Size*charsize
  2257. Torso.Size = Torso.Size*charsize
  2258. RightArm.Size = RightArm.Size*charsize
  2259. RightLeg.Size = RightLeg.Size*charsize
  2260. LeftArm.Size = LeftArm.Size*charsize
  2261. LeftLeg.Size = LeftLeg.Size*charsize
  2262. Head.Size = Head.Size*charsize
  2263. RootJoint.Parent = RootPart
  2264. Neck.Parent = Torso
  2265. RW.Parent = Torso
  2266. LW.Parent = Torso
  2267. RH.Parent = Torso
  2268. LH.Parent = Torso
  2269. Humanoid.Parent = Character
  2270.  
  2271. ch = Character:GetChildren()
  2272. for i = 1, #ch do
  2273. if ch[i].Name == "Torso" then
  2274. ch[i].roblox.Transparency = 1
  2275. elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then
  2276. ch[i]:Destroy()
  2277. end
  2278. end
  2279.  
  2280.  
  2281. --<><><><><><><><><><><><>--
  2282.  
  2283. --Passive Effects--
  2284.  
  2285. --<><><><><><><><><><><><>--
  2286.  
  2287. spawn(function()
  2288. while true do
  2289. wait(.1)
  2290. if Anim == "Idle" or Anim == "Walk" then
  2291. 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))
  2292. refpart.Anchored = false
  2293. refpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),80,math.random(-30,30))
  2294. refpart.CanCollide = false
  2295. local GRAVITY_ACCELERATION = 3.05
  2296. local bodyForce = Instance.new('BodyForce', refpart)
  2297. bodyForce.Name = 'Antigravity'
  2298. bodyForce.force = Vector3.new(0, refpart:GetMass() * GRAVITY_ACCELERATION, 0)
  2299. local rl = Create("BodyAngularVelocity"){
  2300. P = 300,
  2301. maxTorque = Vector3.new(2, 2, 2),
  2302. angularvelocity = Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)),
  2303. Parent = refpart,}
  2304. table.insert(Effects, {refpart,"Disappear",.003})
  2305. game:GetService("Debris"):AddItem(refpart, 10)
  2306. end
  2307. end
  2308. end)
  2309.  
  2310.  
  2311. --<><><><><><><><><><><><>--
  2312.  
  2313. --Tables and Songs--
  2314.  
  2315. --<><><><><><><><><><><><>--
  2316.  
  2317. local songs = {
  2318. 1374520036,
  2319. 1034928566,
  2320. 228239848,
  2321. 257314417,
  2322. 176069112,
  2323. 608232329,
  2324. }
  2325.  
  2326. local quotes = {
  2327. "I will amaze you!",
  2328. "Heads off to you!",
  2329. "Step right up!",
  2330. "Be amazed!",
  2331. "The show must go on!",
  2332. "Let the show begin!",
  2333. }
  2334.  
  2335. playlist = Instance.new("Sound", Torso)
  2336. playlist.SoundId = "rbxassetid://1234043017"
  2337. playlist.Volume = 3
  2338. playlist.TimePosition = 0
  2339. playlist.Name = "aa"
  2340. playlist:Play()
  2341.  
  2342. --<><><><><><><><><><><><>--
  2343.  
  2344. --Clothes--
  2345.  
  2346. --<><><><><><><><><><><><>--
  2347.  
  2348. local top = Instance.new("Shirt")
  2349. top.ShirtTemplate = "rbxassetid://268316000"
  2350. top.Parent = Character
  2351. top.Name = "Cloth"
  2352. local bottom = Instance.new("Pants")
  2353. bottom.PantsTemplate = "rbxassetid://268949770"
  2354. bottom.Parent = Character
  2355. bottom.Name = "Cloth"
  2356.  
  2357. --<><><><><><><><><><><><>--
  2358.  
  2359. --Name Tag--
  2360.  
  2361. --<><><><><><><><><><><><>--
  2362.  
  2363. --[[Humanoid.DisplayDistanceType = "None"
  2364. local naeeym2 = Instance.new("BillboardGui",Character)
  2365. naeeym2.AlwaysOnTop = false
  2366. naeeym2.Size = UDim2.new(5,35,2,15)
  2367. naeeym2.StudsOffset = Vector3.new(0,7,0)
  2368. naeeym2.MaxDistance = 75
  2369. naeeym2.Adornee = Character.Torso
  2370. naeeym2.Name = "Maddox the Swing Spirit"
  2371. local tecks2 = Instance.new("TextLabel",naeeym2)
  2372. tecks2.BackgroundTransparency = 1
  2373. tecks2.TextScaled = true
  2374. tecks2.BorderSizePixel = 0
  2375. tecks2.Text = "Maddox"
  2376. tecks2.Font = "Cartoon"
  2377. tecks2.TextSize = 30
  2378. tecks2.TextStrokeTransparency = 0
  2379. tecks2.TextColor3 = Color3.new(1,1,1)
  2380. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2381. tecks2.Size = UDim2.new(1,0,0.5,0)
  2382. tecks2.Parent = naeeym2]]--
  2383.  
  2384. function PlayAnimationFromTable(table, speed, bool)
  2385. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  2386. Neck.C0 = clerp(Neck.C0, table[2], speed)
  2387. RW.C0 = clerp(RW.C0, table[3], speed)
  2388. LW.C0 = clerp(LW.C0, table[4], speed)
  2389. RH.C0 = clerp(RH.C0, table[5], speed)
  2390. LH.C0 = clerp(LH.C0, table[6], speed)
  2391. if bool == true then
  2392. if resetc1 == false then
  2393. resetc1 = true
  2394. RootJoint.C1 = RootJoint.C1
  2395. Torso.Neck.C1 = Torso.Neck.C1
  2396. RW.C1 = rarmc1
  2397. LW.C1 = larmc1
  2398. RH.C1 = rlegc1
  2399. LH.C1 = llegc1
  2400. end
  2401. end
  2402. end
  2403.  
  2404. ArtificialHB = Create("BindableEvent"){
  2405. Parent = script,
  2406. Name = "Heartbeat",
  2407. }
  2408.  
  2409. script:WaitForChild("Heartbeat")
  2410.  
  2411. frame = 1 / 45
  2412. tf = 0
  2413. allowframeloss = false
  2414. tossremainder = false
  2415. lastframe = tick()
  2416. script.Heartbeat:Fire()
  2417.  
  2418. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2419. tf = tf + s
  2420. if tf >= frame then
  2421. if allowframeloss then
  2422. script.Heartbeat:Fire()
  2423. lastframe = tick()
  2424. else
  2425. for i = 1, math.floor(tf / frame) do
  2426. script.Heartbeat:Fire()
  2427. end
  2428. lastframe = tick()
  2429. end
  2430. if tossremainder then
  2431. tf = 0
  2432. else
  2433. tf = tf - frame * math.floor(tf / frame)
  2434. end
  2435. end
  2436. end)
  2437.  
  2438. function swait(num)
  2439. if num == 0 or num == nil then
  2440. ArtificialHB.Event:wait()
  2441. else
  2442. for i = 0, num do
  2443. ArtificialHB.Event:wait()
  2444. end
  2445. end
  2446. end
  2447.  
  2448. local m = Create("Model"){
  2449. Parent = Character,
  2450. Name = "WeaponModel"
  2451. }
  2452.  
  2453. local m2 = Create("Model"){
  2454. Parent = Character,
  2455. Name = "WeaponModel2"
  2456. }
  2457.  
  2458. function RemoveOutlines(part)
  2459. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2460. end
  2461.  
  2462. CFuncs = {
  2463. Part = {
  2464. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2465. local Part = Create("Part"){
  2466. Parent = Parent,
  2467. Reflectance = Reflectance,
  2468. Transparency = Transparency,
  2469. CanCollide = false,
  2470. Locked = true,
  2471. BrickColor = BrickColor.new(tostring(BColor)),
  2472. Name = Name,
  2473. Size = Size,
  2474. Material = Material,
  2475. }
  2476. RemoveOutlines(Part)
  2477. if Size == Vector3.new() then
  2478. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  2479. else
  2480. Part.Size = Size
  2481. end
  2482. return Part
  2483. end;
  2484. };
  2485.  
  2486. Mesh = {
  2487. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2488. local Msh = Create(Mesh){
  2489. Parent = Part,
  2490. Offset = OffSet,
  2491. Scale = Scale,
  2492. }
  2493. if Mesh == "SpecialMesh" then
  2494. Msh.MeshType = MeshType
  2495. Msh.MeshId = MeshId
  2496. end
  2497. return Msh
  2498. end;
  2499. };
  2500.  
  2501. Weld = {
  2502. Create = function(Parent, Part0, Part1, C0, C1)
  2503. local Weld = Create("Weld"){
  2504. Parent = Parent,
  2505. Part0 = Part0,
  2506. Part1 = Part1,
  2507. C0 = C0,
  2508. C1 = C1,
  2509. }
  2510. return Weld
  2511. end;
  2512. };
  2513.  
  2514. Sound = {
  2515. Create = function(id, par, vol, pit)
  2516. local Sound = Create("Sound"){
  2517. Volume = vol,
  2518. Pitch = pit or 1,
  2519. SoundId = "rbxassetid://" .. id,
  2520. Parent = par or workspace,
  2521. Name = "aa"
  2522. }
  2523. Sound:play()
  2524. return Sound
  2525. end;
  2526. };
  2527.  
  2528. Decal = {
  2529. Create = function(Color, Texture, Transparency, Name, Parent)
  2530. local Decal = Create("Decal"){
  2531. Color3 = Color,
  2532. Texture = "rbxassetid://" .. Texture,
  2533. Transparency = Transparency,
  2534. Name = Name,
  2535. Parent = Parent,
  2536. }
  2537. return Decal
  2538. end;
  2539. };
  2540.  
  2541. BillboardGui = {
  2542. Create = function(Parent, Image, Position, Size)
  2543. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  2544. BillPar.CFrame = CFrame.new(Position)
  2545. local Bill = Create("BillboardGui"){
  2546. Parent = BillPar,
  2547. Adornee = BillPar,
  2548. Size = UDim2.new(1, 0, 1, 0),
  2549. SizeOffset = Vector2.new(Size, Size),
  2550. }
  2551. local d = Create("ImageLabel", Bill){
  2552. Parent = Bill,
  2553. BackgroundTransparency = 1,
  2554. Size = UDim2.new(1, 0, 1, 0),
  2555. Image = "rbxassetid://" .. Image,
  2556. }
  2557. return BillPar
  2558. end
  2559. };
  2560.  
  2561. ParticleEmitter = {
  2562. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2563. local Particle = Create("ParticleEmitter"){
  2564. Parent = Parent,
  2565. Color = ColorSequence.new(Color1, Color2),
  2566. LightEmission = LightEmission,
  2567. Size = Size,
  2568. Texture = Texture,
  2569. Transparency = Transparency,
  2570. ZOffset = ZOffset,
  2571. Acceleration = Accel,
  2572. Drag = Drag,
  2573. LockedToPart = LockedToPart,
  2574. VelocityInheritance = VelocityInheritance,
  2575. EmissionDirection = EmissionDirection,
  2576. Enabled = Enabled,
  2577. Lifetime = LifeTime,
  2578. Rate = Rate,
  2579. Rotation = Rotation,
  2580. RotSpeed = RotSpeed,
  2581. Speed = Speed,
  2582. VelocitySpread = VelocitySpread,
  2583. }
  2584. return Particle
  2585. end;
  2586. };
  2587.  
  2588. CreateTemplate = {
  2589.  
  2590. };
  2591. }
  2592.  
  2593.  
  2594.  
  2595.  
  2596. function RayCast(Position, Direction, Range, Ignore)
  2597. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2598. end
  2599.  
  2600. FindNearestTorso = function(pos)
  2601. local list = (game.Workspace:children())
  2602. local torso = nil
  2603. local dist = 1000
  2604. local temp, human, temp2 = nil, nil, nil
  2605. for x = 1, #list do
  2606. temp2 = list[x]
  2607. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2608. temp = temp2:findFirstChild("Torso")
  2609. human = temp2:findFirstChild("Humanoid")
  2610. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  2611. local dohit = true
  2612. if dohit == true then
  2613. torso = temp
  2614. dist = (temp.Position - pos).magnitude
  2615. end
  2616. end
  2617. end
  2618. end
  2619. return torso, dist
  2620. end
  2621.  
  2622. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  2623.  
  2624. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2625. prt.Anchored = true
  2626. prt.CFrame = cframe
  2627. prt.Material = "Neon"
  2628. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2629. game:GetService("Debris"):AddItem(prt, 10)
  2630. coroutine.resume(coroutine.create(function(Part, Mesh)
  2631.  
  2632. for i = 0, 1, delay do
  2633. swait()
  2634. Part.Transparency = i
  2635. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2636. end
  2637. Part.Parent = nil
  2638. end
  2639. ), prt, msh)
  2640. end
  2641.  
  2642.  
  2643.  
  2644.  
  2645. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  2646.  
  2647. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2648. local MainPos = partt.Position
  2649. local MainPos2 = mouse.Hit.p + SpreadVectors
  2650. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2651. local speed = 1000
  2652. local num = 1
  2653. coroutine.resume(coroutine.create(function()
  2654.  
  2655. repeat
  2656. swait()
  2657. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2658. local mag = (MainPos - pos).magnitude
  2659. 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)
  2660. MainPos = MainPos + MouseLook.lookVector * speed
  2661. num = num - 1
  2662. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  2663. if hit ~= nil then
  2664. num = 0
  2665. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  2666. refpart.Anchored = true
  2667. refpart.CFrame = CFrame.new(pos)
  2668. game:GetService("Debris"):AddItem(refpart, 2)
  2669. end
  2670. do
  2671. if num <= 0 then
  2672. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  2673. refpart.Anchored = true
  2674. refpart.CFrame = CFrame.new(pos)
  2675. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 10, 10, 10, 10, 10, 10, .1, 1)
  2676. Effects.Break.Create(BrickColor.new(maincol), refpart.CFrame, 2, 10, 2)
  2677. if hit ~= nil then
  2678. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  2679. end
  2680. game:GetService("Debris"):AddItem(refpart, 0)
  2681. end
  2682. end
  2683. until num <= 0
  2684. end
  2685. ))
  2686. end
  2687.  
  2688.  
  2689. Laser2 = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  2690.  
  2691. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5+lasersize, 0.5, 0.5+lasersize))
  2692. prt.Anchored = true
  2693. prt.CFrame = cframe
  2694. prt.Material = "Neon"
  2695. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2696. game:GetService("Debris"):AddItem(prt, 10)
  2697. coroutine.resume(coroutine.create(function(Part, Mesh)
  2698.  
  2699. for i = 0, 1, delay do
  2700. swait()
  2701. Part.Transparency = i
  2702. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2703. end
  2704. Part.Parent = nil
  2705. end
  2706. ), prt, msh)
  2707. end
  2708.  
  2709.  
  2710.  
  2711.  
  2712. shoot2 = function(mouse, aoe , partt, SpreadAmount, multiply)
  2713.  
  2714. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2715. local MainPos = partt.Position
  2716. local MainPos2 = mouse.Hit.p + SpreadVectors
  2717. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2718. local speed = 1000
  2719. local num = 1
  2720. coroutine.resume(coroutine.create(function()
  2721.  
  2722. repeat
  2723. swait()
  2724. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2725. local mag = (MainPos - pos).magnitude
  2726. 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)
  2727. MainPos = MainPos + MouseLook.lookVector * speed
  2728. num = num - 1
  2729. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  2730. if hit ~= nil then
  2731. num = 0
  2732. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  2733. refpart.Anchored = true
  2734. refpart.CFrame = CFrame.new(pos)
  2735. game:GetService("Debris"):AddItem(refpart, 2)
  2736. end
  2737. do
  2738. if num <= 0 then
  2739. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  2740. refpart.Anchored = true
  2741. refpart.CFrame = CFrame.new(pos)
  2742. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 1, 1, 1, 1+lasersize, 1+lasersize, 1+lasersize, .05, 1)
  2743. if hit ~= nil then
  2744. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  2745. end
  2746. game:GetService("Debris"):AddItem(refpart, 0)
  2747. end
  2748. end
  2749. until num <= 0
  2750. end
  2751. ))
  2752. end
  2753.  
  2754.  
  2755.  
  2756.  
  2757. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2758. if hit.Parent == nil then
  2759. return
  2760. end
  2761. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2762. for _, v in pairs(hit.Parent:children()) do
  2763. if v:IsA("Humanoid") then
  2764. h = v
  2765. end
  2766. end
  2767. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2768. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2769. if hit.Parent.DebounceHit.Value == true then
  2770. return
  2771. end
  2772. end
  2773. local c = Create("ObjectValue"){
  2774. Name = "creator",
  2775. Value = owner,
  2776. Parent = h,
  2777. }
  2778. game:GetService("Debris"):AddItem(c, .5)
  2779. if HitSound ~= nil and HitPitch ~= nil then
  2780. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2781. end
  2782. local Damage = math.random(minim, maxim)
  2783. local blocked = false
  2784. local block = hit.Parent:findFirstChild("Block")
  2785. if block ~= nil then
  2786. if block.className == "IntValue" then
  2787. if block.Value > 0 then
  2788. blocked = true
  2789. block.Value = block.Value - 1
  2790. print(block.Value)
  2791. end
  2792. end
  2793. end
  2794. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 100 and hit.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  2795. for i = 0, 1, 0.1 do
  2796. Effects.Break.Create(BrickColor.new("White"), hit.CFrame, 1, 4, 1)
  2797. end
  2798. CFuncs.Sound.Create("402174682", Torso, 5, 1)
  2799. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Poof!", 5, BrickColor.new("White").Color, BrickColor.new("Really black").Color)
  2800. for _,v in pairs(hit.Parent:children()) do
  2801. if v:IsA("Part") then
  2802. v.Transparency = 1
  2803. end
  2804. end
  2805. hit.Parent:BreakJoints()
  2806. else
  2807. h.Health = h.Health - Damage
  2808. 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)
  2809. end
  2810. if Type == "Seizure" then
  2811. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2812. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), hit.Parent.Torso.CFrame, 100, 2, .01)
  2813. spawn(function()
  2814. for i = 1, 1000 do
  2815. swait()
  2816. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2817. hum.MaxHealth = hum.MaxHealth - 10
  2818. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(math.random(-1,1)/2,0,math.random(-1,1)/2)
  2819. end
  2820. end)
  2821. elseif Type == "Paralyze" then
  2822. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2823. coroutine.resume(coroutine.create(function(HHumanoid)
  2824. CFuncs.Sound.Create("209545844", hit.Parent.Torso, 1, 1)
  2825. CFuncs.Sound.Create("1143596511", hit.Parent.Torso, 1, 1)
  2826. Effects.InnerSphere.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 100, 2, .01)
  2827. local rl = Create("BodyAngularVelocity"){
  2828. P = 3000,
  2829. maxTorque = Vector3.new(50, 50, 50)* 200000000000,
  2830. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2831. Parent = hit,
  2832. }
  2833. wait(.1)
  2834. rl:Destroy()
  2835. for i = 1, 500 do
  2836. local rl = Create("BodyAngularVelocity"){
  2837. P = 3000,
  2838. maxTorque = Vector3.new(50, 50, 50)* 20,
  2839. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2840. Parent = hit,
  2841. }
  2842. hum.Health = hum.Health - .01
  2843. hum.PlatformStand = true
  2844. for _,v in pairs(hit.Parent:children()) do
  2845. if v:IsA("Part") then
  2846. local oldcol = v.BrickColor
  2847. v.BrickColor = BrickColor.new("New Yeller")
  2848. wait(.1)
  2849. v.BrickColor = oldcol
  2850. end
  2851. end
  2852. rl:Destroy()
  2853. end
  2854.  
  2855. HHumanoid.PlatformStand = false
  2856. end), hum)
  2857. elseif Type == "Knockdown" then
  2858. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  2859. hum.PlatformStand = true
  2860. coroutine.resume(coroutine.create(function(HHumanoid)
  2861. swait(1)
  2862. HHumanoid.PlatformStand = false
  2863. end), hum)
  2864. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2865. local bodvol = Create("BodyVelocity"){
  2866. velocity = angle * knockback,
  2867. P = 5000,
  2868. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2869. Parent = hit,
  2870. }
  2871. local rl = Create("BodyAngularVelocity"){
  2872. P = 3000,
  2873. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2874. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2875. Parent = hit,
  2876. }
  2877. game:GetService("Debris"):AddItem(bodvol, .5)
  2878. game:GetService("Debris"):AddItem(rl, .5)
  2879.  
  2880. elseif Type == "Normal" then
  2881. local vp = Create("BodyVelocity"){
  2882. P = 500,
  2883. maxForce = Vector3.new(math.huge, 0, math.huge),
  2884. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2885. }
  2886.  
  2887.  
  2888.  
  2889.  
  2890. if knockback > 0 then
  2891. vp.Parent = hit.Parent.Torso
  2892. end
  2893. game:GetService("Debris"):AddItem(vp, .5)
  2894. elseif Type == "Float" then
  2895. local vp = Create("BodyVelocity"){
  2896. P = 10,
  2897. maxForce = Vector3.new(math.huge, 0, math.huge),
  2898. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2899. }
  2900. print(hit.Parent)
  2901. if knockback > 0 then
  2902. vp.Parent = hit.Parent.Torso
  2903. end
  2904. local hum = hit.Parent.Humanoid
  2905. hum.PlatformStand = true
  2906. local TotalMass = 0
  2907. for _, part in pairs(hit.Parent:GetChildren()) do
  2908. if part:IsA("Part") then
  2909. TotalMass = TotalMass + part:GetMass()
  2910. end
  2911. end
  2912. local ForceOfGravity = -200 * TotalMass
  2913. local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
  2914. floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
  2915. local rl = Create("BodyAngularVelocity"){
  2916. P = 500,
  2917. maxTorque = Vector3.new(10, 10, 10),
  2918. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2919. Parent = hit,
  2920. }
  2921. game:GetService("Debris"):AddItem(rl, 20)
  2922. game:GetService("Debris"):AddItem(floatybits, 20)
  2923. game:GetService("Debris"):AddItem(vp, .5)
  2924.  
  2925. spawn(function()
  2926. for i = 1, 70 do
  2927. wait(.2)
  2928. 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)
  2929. end
  2930. end)
  2931.  
  2932. elseif Type == "Up" then
  2933. local bodyVelocity = Create("BodyVelocity"){
  2934. velocity = Vector3.new(0, 20, 0),
  2935. P = 5000,
  2936. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2937. Parent = hit,
  2938. }
  2939. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2940. elseif Type == "DarkUp" then
  2941. coroutine.resume(coroutine.create(function()
  2942. for i = 0, 1, 0.1 do
  2943. swait()
  2944. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2945. end
  2946. end))
  2947. local bodyVelocity = Create("BodyVelocity"){
  2948. velocity = Vector3.new(0, 20, 0),
  2949. P = 5000,
  2950. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2951. Parent = hit,
  2952. }
  2953. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2954. elseif Type == "Snare" then
  2955. local bp = Create("BodyPosition"){
  2956. P = 2000,
  2957. D = 100,
  2958. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2959. position = hit.Parent.Torso.Position,
  2960. Parent = hit.Parent.Torso,
  2961. }
  2962. game:GetService("Debris"):AddItem(bp, 1)
  2963. elseif Type == "Freeze" then
  2964. local BodPos = Create("BodyPosition"){
  2965. P = 50000,
  2966. D = 1000,
  2967. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2968. position = hit.Parent.Torso.Position,
  2969. Parent = hit.Parent.Torso,
  2970. }
  2971. local BodGy = Create("BodyGyro") {
  2972. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2973. P = 20e+003,
  2974. Parent = hit.Parent.Torso,
  2975. CFrame = hit.Parent.Torso.CFrame,
  2976. }
  2977. CFuncs.Sound.Create("585135955", hit.Parent.Torso, 5, 1)
  2978. Effects.Block.Create(BrickColor.new("Baby blue"), hit.Parent.Torso.CFrame, 3, 3, 3, 3, 5, 3, .02, 2)
  2979. hit.Parent.Torso.Anchored = true
  2980. coroutine.resume(coroutine.create(function(Part)
  2981. swait(1.5)
  2982. Part.Anchored = false
  2983. end), hit.Parent.Torso)
  2984. game:GetService("Debris"):AddItem(BodPos, 3)
  2985. game:GetService("Debris"):AddItem(BodGy, 3)
  2986. end
  2987. local debounce = Create("BoolValue"){
  2988. Name = "DebounceHit",
  2989. Parent = hit.Parent,
  2990. Value = true,
  2991. }
  2992. if Delay > 0 then
  2993. game:GetService("Debris"):AddItem(debounce, Delay)
  2994. c = Create("ObjectValue"){
  2995. Name = "creator",
  2996. Value = Player,
  2997. Parent = h,
  2998. }
  2999. end
  3000. game:GetService("Debris"):AddItem(c, .5)
  3001. end
  3002. end
  3003.  
  3004. function ShowDamage(Pos, Text, Time, Color, Color2)
  3005. local Rate = (1 / 45)
  3006. local Pos = (Pos or Vector3.new(0, 0, 0))
  3007. local Text = (Text or "")
  3008. local Time = (Time or 2)
  3009. local Color = (Color or Color3.new(1, 0, 1))
  3010. local Color2 = (Color2 or Color3.new(1, 0, 1))
  3011. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3012. EffectPart.Anchored = false
  3013. EffectPart.CFrame = CFrame.new(Pos)
  3014. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(60,70)
  3015. local sizebit = 5
  3016. local BillboardGui = Create("BillboardGui"){
  3017. Size = UDim2.new(sizebit, 0, sizebit, 0),
  3018. Adornee = EffectPart,
  3019. Parent = EffectPart,
  3020. }
  3021. local TextLabel = Create("TextLabel"){
  3022. BackgroundTransparency = 1,
  3023. Size = UDim2.new(1, 0, 1, 0),
  3024. Text = Text,
  3025. Font = "Cartoon",
  3026. TextColor3 = Color,
  3027. TextStrokeColor3 = Color2,
  3028. TextStrokeTransparency = 0,
  3029. TextScaled = true,
  3030. Parent = BillboardGui,
  3031. }
  3032. game.Debris:AddItem(EffectPart, (Time))
  3033. EffectPart.Parent = game:GetService("Workspace")
  3034. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  3035. delay(0, function()
  3036. local Frames = (Time / Rate)
  3037. wait(.5)
  3038. EffectPart.Anchored = true
  3039. wait(.5)
  3040. for Frame = 1, Frames do
  3041. wait(Rate)
  3042. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  3043. local Percent = (Frame / Frames)
  3044. TextLabel.TextTransparency = Percent
  3045. sizebit = sizebit - .4
  3046. end
  3047. if EffectPart and EffectPart.Parent then
  3048. EffectPart:Destroy()
  3049. end
  3050. end)
  3051. end
  3052.  
  3053. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitPitch)
  3054. for _, c in pairs(workspace:children()) do
  3055. local hum = c:findFirstChildOfClass("Humanoid")
  3056. if hum ~= nil then
  3057. local head = c:findFirstChild("Torso")
  3058. if head ~= nil then
  3059. local targ = head.Position - Part.Position
  3060. local mag = targ.magnitude
  3061. if mag <= Magnitude and c.Name ~= Player.Name then
  3062. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitPitch)
  3063. end
  3064. end
  3065. end
  3066. end
  3067. end
  3068.  
  3069. EffectModel = Create("Model"){
  3070. Parent = Character,
  3071. Name = "EffectModel",
  3072. }
  3073.  
  3074. Effects = {
  3075. Block = {
  3076. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3077. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3078. prt.Anchored = true
  3079. prt.CFrame = cframe
  3080. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3081. game:GetService("Debris"):AddItem(prt, 10)
  3082. if Type == 1 or Type == nil then
  3083. table.insert(Effects, {
  3084. prt,
  3085. "Block1",
  3086. delay,
  3087. x3,
  3088. y3,
  3089. z3,
  3090. msh
  3091. })
  3092. elseif Type == 2 then
  3093. table.insert(Effects, {
  3094. prt,
  3095. "Block2",
  3096. delay,
  3097. x3,
  3098. y3,
  3099. z3,
  3100. msh
  3101. })
  3102. end
  3103. end;
  3104. };
  3105.  
  3106. Cylinder = {
  3107. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3108. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  3109. prt.Anchored = true
  3110. prt.CFrame = cframe
  3111. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3112. game:GetService("Debris"):AddItem(prt, 2)
  3113. table.insert(Effects, {
  3114. prt,
  3115. "Cylinder",
  3116. delay,
  3117. x3,
  3118. y3,
  3119. z3,
  3120. msh
  3121. })
  3122. end;
  3123. };
  3124.  
  3125. Head = {
  3126. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3127. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3128. prt.Anchored = true
  3129. prt.CFrame = cframe
  3130. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3131. game:GetService("Debris"):AddItem(prt, 10)
  3132. table.insert(Effects, {
  3133. prt,
  3134. "Cylinder",
  3135. delay,
  3136. x3,
  3137. y3,
  3138. z3,
  3139. msh
  3140. })
  3141. end;
  3142. };
  3143.  
  3144. Sphere1 = {
  3145. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3146. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  3147. prt.Anchored = true
  3148. prt.CFrame = cframe
  3149. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3150. game:GetService("Debris"):AddItem(prt, 10)
  3151. table.insert(Effects, {
  3152. prt,
  3153. "Cylinder",
  3154. delay,
  3155. x3,
  3156. y3,
  3157. z3,
  3158. msh
  3159. })
  3160. end;
  3161. };
  3162.  
  3163. Sphere2 = {
  3164. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3165. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3166. prt.Anchored = true
  3167. prt.CFrame = cframe
  3168. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3169. game:GetService("Debris"):AddItem(prt, 10)
  3170. table.insert(Effects, {
  3171. prt,
  3172. "Cylinder",
  3173. delay,
  3174. x3,
  3175. y3,
  3176. z3,
  3177. msh
  3178. })
  3179. end;
  3180. };
  3181.  
  3182. InnerSphere = {
  3183. Create = function(brickcolor, cframe, size, shrinkspeed, appspeed)
  3184. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3185. prt.Anchored = true
  3186. prt.CFrame = cframe
  3187. prt.Transparency = 1
  3188. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(size, size, size))
  3189. game:GetService("Debris"):AddItem(prt, 10)
  3190. spawn(function()
  3191. while true do
  3192. if size ~= 0 then
  3193. swait()
  3194. msh.Scale = Vector3.new(size, size, size)
  3195. size = size - shrinkspeed or size - 1
  3196. prt.Transparency = prt.Transparency - appspeed
  3197. else prt:Destroy() break
  3198. end
  3199. end
  3200. end)
  3201. end;
  3202. };
  3203.  
  3204. Elect = {
  3205. Create = function(cff, x, y, z)
  3206. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1))
  3207. prt.Anchored = true
  3208. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  3209. prt.CFrame = CFrame.new(prt.Position)
  3210. game:GetService("Debris"):AddItem(prt, 2)
  3211. local xval = math.random() / 2
  3212. local yval = math.random() / 2
  3213. local zval = math.random() / 2
  3214. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  3215. table.insert(Effects, {
  3216. prt,
  3217. "Elec",
  3218. 0.1,
  3219. x,
  3220. y,
  3221. z,
  3222. xval,
  3223. yval,
  3224. zval
  3225. })
  3226. end;
  3227.  
  3228. };
  3229.  
  3230. Ring = {
  3231. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3232. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3233. prt.Anchored = true
  3234. prt.CFrame = cframe
  3235. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3236. game:GetService("Debris"):AddItem(prt, 10)
  3237. table.insert(Effects, {
  3238. prt,
  3239. "Cylinder",
  3240. delay,
  3241. x3,
  3242. y3,
  3243. z3,
  3244. msh
  3245. })
  3246. end;
  3247. };
  3248.  
  3249.  
  3250. Wave = {
  3251. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3252. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  3253. prt.Anchored = true
  3254. prt.CFrame = cframe
  3255. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3256. game:GetService("Debris"):AddItem(prt, 10)
  3257. table.insert(Effects, {
  3258. prt,
  3259. "Cylinder",
  3260. delay,
  3261. x3,
  3262. y3,
  3263. z3,
  3264. msh
  3265. })
  3266. end;
  3267. };
  3268.  
  3269. Break = {
  3270. Create = function(brickcolor, cframe, x1, y1, z1)
  3271. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3272. prt.Anchored = true
  3273. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3274. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3275. local num = math.random(10, 50) / 1000
  3276. game:GetService("Debris"):AddItem(prt, 10)
  3277. table.insert(Effects, {
  3278. prt,
  3279. "Shatter",
  3280. num,
  3281. prt.CFrame,
  3282. math.random() - math.random(),
  3283. 0,
  3284. math.random(50, 100) / 100
  3285. })
  3286. end;
  3287. };
  3288.  
  3289. Fire = {
  3290. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  3291. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3292. prt.Anchored = true
  3293. prt.CFrame = cframe
  3294. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3295. game:GetService("Debris"):AddItem(prt, 10)
  3296. table.insert(Effects, {
  3297. prt,
  3298. "Fire",
  3299. delay,
  3300. 1,
  3301. 1,
  3302. 1,
  3303. msh
  3304. })
  3305. end;
  3306. };
  3307.  
  3308. FireWave = {
  3309. Create = function(brickcolor, cframe, x1, y1, z1)
  3310. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  3311. prt.Anchored = true
  3312. prt.CFrame = cframe
  3313. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3314. local d = Create("Decal"){
  3315. Parent = prt,
  3316. Texture = "rbxassetid://26356434",
  3317. Face = "Top",
  3318. }
  3319. local d = Create("Decal"){
  3320. Parent = prt,
  3321. Texture = "rbxassetid://26356434",
  3322. Face = "Bottom",
  3323. }
  3324. game:GetService("Debris"):AddItem(prt, 10)
  3325. table.insert(Effects, {
  3326. prt,
  3327. "FireWave",
  3328. 1,
  3329. 30,
  3330. math.random(400, 600) / 100,
  3331. msh
  3332. })
  3333. end;
  3334. };
  3335.  
  3336. Lightning = {
  3337. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  3338. local magz = (p0 - p1).magnitude
  3339. local curpos = p0
  3340. local trz = {
  3341. -ofs,
  3342. ofs
  3343. }
  3344. for i = 1, tym do
  3345. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  3346. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  3347. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  3348. li.Material = "Neon"
  3349. if tym == i then
  3350. local magz2 = (curpos - p1).magnitude
  3351. li.Size = Vector3.new(th, th, magz2)
  3352. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  3353. table.insert(Effects, {
  3354. li,
  3355. "Disappear",
  3356. last
  3357. })
  3358. else
  3359. do
  3360. do
  3361. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  3362. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  3363. game.Debris:AddItem(li, 10)
  3364. table.insert(Effects, {
  3365. li,
  3366. "Disappear",
  3367. last
  3368. })
  3369. end
  3370. end
  3371. end
  3372. end
  3373. end
  3374. };
  3375.  
  3376. EffectTemplate = {
  3377.  
  3378. };
  3379. }
  3380.  
  3381. Hat=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Medium stone grey","Hat",Vector3.new(2, 2, 2))
  3382. HatWeld=CFuncs.Weld.Create(m,Character["Head"],Hat,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365142822, -0.719758511, 0.0314178467, -1.00000834, 4.61186464e-05, -2.77473146e-06, 4.86522331e-05, 1, 5.23036442e-06, 2.92961045e-06, 5.51708399e-06, -1))
  3383. meh=CFuncs.Mesh.Create("SpecialMesh",Hat,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=2711178",Vector3.new(0, 0, 0),Vector3.new(2, 2, 2))
  3384. meh.TextureId = "http://www.roblox.com/asset/?id=32935396"
  3385.  
  3386.  
  3387.  
  3388. for _,v in pairs(m2:children()) do
  3389. if v:IsA("Part") and v.Name == "pand" then
  3390. v.Transparency = 1
  3391. end
  3392. end
  3393.  
  3394.  
  3395. --Start neccessary functions here
  3396.  
  3397. function Tween(obj,props,time,easing,direction,repeats,backwards)
  3398. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  3399. local tween = game:service'TweenService':Create(obj, info, props)
  3400.  
  3401. tween:Play()
  3402. end
  3403.  
  3404. function Trace()
  3405. for _,v in next, Character:GetChildren() do
  3406. if(v:IsA'Part') and v ~= RootPart then
  3407. local trace = Instance.new("Part")
  3408. trace.Parent = workspace
  3409. trace.Size = v.Size
  3410. trace.Material = Enum.Material.Neon
  3411. trace.Color = maincol
  3412. trace.Transparency = .3
  3413. trace.Anchored = true
  3414. trace.CanCollide = false
  3415. trace.CFrame = v.CFrame
  3416. Tween(trace,{Transparency=1},.5)
  3417. game:GetService("Debris"):AddItem(trace, 1)
  3418. if v.Name == "Head" then
  3419. local mehs = Instance.new("CylinderMesh",trace)
  3420. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  3421. end
  3422. end
  3423. end
  3424. end
  3425.  
  3426.  
  3427. function ducks()
  3428. for i = 0, 3, 0.1 do
  3429. swait()
  3430. PlayAnimationFromTable({
  3431. 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),
  3432. 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),
  3433. 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),
  3434. 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),
  3435. 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),
  3436. 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),
  3437. }, .3, false)
  3438. end
  3439. for i = 1, 2 do
  3440. for i = 0, 1, 0.1 do
  3441. swait()
  3442. PlayAnimationFromTable({
  3443. 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),
  3444. 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),
  3445. 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),
  3446. 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),
  3447. 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),
  3448. 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),
  3449. }, .3, false)
  3450. end
  3451. for i = 0, 1, 0.1 do
  3452. swait()
  3453. PlayAnimationFromTable({
  3454. 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),
  3455. 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),
  3456. 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),
  3457. 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),
  3458. 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),
  3459. 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),
  3460. }, .3, false)
  3461. end
  3462. end
  3463. CFuncs.Sound.Create("270620358", Hat, 3, 1)
  3464. for i = 0, 3, 0.1 do
  3465. swait()
  3466. PlayAnimationFromTable({
  3467. 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),
  3468. 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),
  3469. 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),
  3470. 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),
  3471. 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),
  3472. 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),
  3473. }, .2, false)
  3474. end
  3475. qwek = Instance.new("Sound", Torso)
  3476. qwek.SoundId = "rbxassetid://271006579"
  3477. qwek.Looped = true
  3478. qwek.Volume = 5
  3479. qwek.Pitch = .8
  3480. qwek:Play()
  3481. qwek2 = Instance.new("Sound", Torso)
  3482. qwek2.SoundId = "rbxassetid://271006579"
  3483. qwek2.Looped = true
  3484. qwek2.Volume = 5
  3485. qwek2.Pitch = 1
  3486. qwek2:Play()
  3487. qwek3 = Instance.new("Sound", Torso)
  3488. qwek3.SoundId = "rbxassetid://271006579"
  3489. qwek3.Looped = true
  3490. qwek3.Volume = 5
  3491. qwek3.Pitch = 1.3
  3492. qwek3:Play()
  3493. for i = 0, 10, 0.1 do
  3494. swait()
  3495. PlayAnimationFromTable({
  3496. 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),
  3497. 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),
  3498. 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),
  3499. 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),
  3500. 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),
  3501. 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),
  3502. }, .3, false)
  3503. local duk=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright yellow","duk",Vector3.new(2, 2, 2))
  3504. local moosh = CFuncs.Mesh.Create("SpecialMesh",duk,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9419831",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3505. duk.CFrame = Hat.CFrame
  3506. duk.CanCollide = false
  3507. duk.Velocity = Vector3.new(math.random(-20,20),math.random(-60,60),math.random(-20,20))
  3508. duk.Name = "duk"
  3509. table.insert(Effects, {duk,"Disappear",.01})
  3510. game:GetService("Debris"):AddItem(duk, 3)
  3511. moosh.TextureId = "http://www.roblox.com/asset/?id=9419827"
  3512. Torso.Velocity=RootPart.CFrame.upVector*100
  3513. local con = duk.Touched:connect(function(hit)
  3514. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "duk" and hit ~= m then
  3515. MagnitudeDamage(duk, 5, 30, 30, 20, "Normal", " ", 1)
  3516. Effects.Sphere2.Create(BrickColor.new("Gold"), duk.CFrame, 1, 1, 1, 2, 2, 2, .05)
  3517. end
  3518. end)
  3519. end
  3520. qwek3:Destroy()
  3521. qwek2:Destroy()
  3522. qwek:Destroy()
  3523. end
  3524.  
  3525.  
  3526.  
  3527. function pocketpandora()
  3528. Humanoid.AutoRotate = true
  3529. local PocketPandora=CFuncs.Part.Create( workspace,Enum.Material.Plastic,0,1,"Medium stone grey","PocketPandora",Vector3.new(0.512000322, 0.652799785, 0.640000045))
  3530. 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))
  3531. local pand=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"Fossil","pand",Vector3.new(0.406399965, 0.419200003, 0.320000023))
  3532. 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))
  3533. 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))
  3534. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  3535. 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))
  3536. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  3537. 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))
  3538. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  3539. 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))
  3540. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  3541. 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))
  3542. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.896000028, 0.896000028, 0.448000014))
  3543. 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))
  3544. local pand=CFuncs.Part.Create( workspace,Enum.Material.Fabric,0,1.400709148669e-08,"Institutional white","pand",Vector3.new(0.896000028, 0.448000014, 0.448000014))
  3545. 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))
  3546. CFuncs.Mesh.Create("SpecialMesh",pand,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.25, 1.25, 1.25))
  3547.  
  3548. for i = 0, 3, 0.1 do
  3549. swait()
  3550. PlayAnimationFromTable({
  3551. 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),
  3552. 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),
  3553. 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),
  3554. 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),
  3555. 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),
  3556. 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),
  3557. }, .3, false)
  3558. end
  3559. CFuncs.Sound.Create("525166232", pand, 10, 1.1)
  3560. for i = 0, 3, 0.1 do
  3561. swait()
  3562. PlayAnimationFromTable({
  3563. 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),
  3564. 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),
  3565. 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),
  3566. 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),
  3567. 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),
  3568. 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),
  3569. }, .3, false)
  3570. end
  3571. for i = 0, 2, 0.1 do
  3572. swait()
  3573. PlayAnimationFromTable({
  3574. 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),
  3575. 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),
  3576. 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),
  3577. 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),
  3578. 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),
  3579. 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),
  3580. }, .3, false)
  3581. end
  3582.  
  3583. for i = 0, .1, 0.1 do
  3584. swait()
  3585. PlayAnimationFromTable({
  3586. 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),
  3587. 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),
  3588. 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),
  3589. 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),
  3590. 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),
  3591. 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),
  3592. }, .3, false)
  3593. end
  3594. PocketPandoraWeld:Destroy()
  3595. CFuncs.Sound.Create("160718677", pand, 5, 1)
  3596. for _,v in pairs(workspace:children()) do
  3597. if v:IsA("Part") and v.Name == "PocketPandora" then
  3598. v.Anchored = false
  3599. v.CanCollide = true
  3600. v.Parent = workspace
  3601. v.CFrame = RootPart.CFrame * CFrame.new(2,5,-5)
  3602. v.Velocity=RootPart.CFrame.lookVector*200
  3603. local con = v.Touched:connect(function(hit)
  3604. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "refpart" then
  3605. MagnitudeDamage(PocketPandora, 30, 100, 100, 50, "Normal", " ", 1)
  3606. Effects.Sphere2.Create(BrickColor.new("Smoky grey"), v.CFrame, .5, 2, .5, 3, 5, 3, .03)
  3607. Effects.Sphere2.Create(BrickColor.new(maincol), v.CFrame, .6, 3, .6, 4, 6, 4, .03)
  3608. CFuncs.Sound.Create("206049428", pand, 10, 1)
  3609. v:Destroy()
  3610. end
  3611. end)
  3612. end
  3613. end
  3614.  
  3615. for i = 0,5, 0.1 do
  3616. swait()
  3617. PlayAnimationFromTable({
  3618. 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),
  3619. 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),
  3620. 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),
  3621. 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),
  3622. 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),
  3623. 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),
  3624. }, .3, false)
  3625. end
  3626.  
  3627. end
  3628.  
  3629.  
  3630. function foryou()
  3631. Humanoid.AutoRotate = true
  3632.  
  3633. FHandle=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Institutional white","FHandle",Vector3.new(1, 2, 1))
  3634. 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))
  3635. CFuncs.Mesh.Create("SpecialMesh",FHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1049194",Vector3.new(0, 0, 0),Vector3.new(1.79999995, 1.29999995, 1.89999998))
  3636. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Dusty Rose","Plant",Vector3.new(2, 0.400000006, 2))
  3637. 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))
  3638. 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))
  3639. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Really red","Plant",Vector3.new(2, 0.400000006, 2))
  3640. 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))
  3641. 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))
  3642. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  3643. 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))
  3644. 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))
  3645. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  3646. 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))
  3647. 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))
  3648. fire=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Medium stone grey","fire",Vector3.new(1.4400003, 2.17999935, 2.24999976))
  3649. 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))
  3650. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Salmon","Plant",Vector3.new(2, 0.400000006, 2))
  3651. 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))
  3652. 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))
  3653. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  3654. 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))
  3655. 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))
  3656. CFuncs.Sound.Create("1030472543", Torso, 10, 1)
  3657. for i = 0, 5, 0.1 do
  3658. swait()
  3659. PlayAnimationFromTable({
  3660. 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),
  3661. 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),
  3662. 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),
  3663. 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),
  3664. 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),
  3665. 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),
  3666. }, .3, false)
  3667. end
  3668. for i = 0, 6, 0.1 do
  3669. swait()
  3670. PlayAnimationFromTable({
  3671. 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),
  3672. 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),
  3673. 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),
  3674. 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),
  3675. 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),
  3676. 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),
  3677. }, .3, false)
  3678. end
  3679. CFuncs.Sound.Create("490241055", fire, 10, 1)
  3680. local PE1 = Instance.new("ParticleEmitter",fire)
  3681. PE1.LightEmission = NumberSequence.new(0.2)
  3682. PE1.Size = NumberSequence.new(3)
  3683. PE1.Texture = "http://www.roblox.com/asset/?id=242461088"
  3684. PE1.Lifetime = NumberRange.new(.75)
  3685. PE1.Rate = 50.000
  3686. PE1.Transparency = NumberSequence.new(0.2)
  3687. PE1.LightEmission = NumberSequence.new(1)
  3688. PE1.Rotation = NumberRange.new(0)
  3689. PE1.Speed = NumberRange.new(.1)
  3690. PE1.RotSpeed = NumberRange.new(0)
  3691. PE1.ZOffset = .2
  3692. for i = 0, 5, 0.1 do
  3693. swait()
  3694. PlayAnimationFromTable({
  3695. 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),
  3696. 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),
  3697. 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),
  3698. 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),
  3699. 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),
  3700. 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),
  3701. }, .3, false)
  3702. end
  3703. CFuncs.Sound.Create("172324194", Torso, 10, 1)
  3704. for i = 0, 6, 0.1 do
  3705. swait()
  3706. PlayAnimationFromTable({
  3707. 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),
  3708. 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),
  3709. 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),
  3710. 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),
  3711. 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),
  3712. 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),
  3713. }, .4, false)
  3714. end
  3715. FHandleWeld:Destroy()
  3716. for _,v in pairs(m2:children()) do
  3717. if v:IsA("Part") then
  3718. v.Parent = workspace
  3719. v.CanCollide = true
  3720. v.Velocity=RootPart.CFrame.upVector*0
  3721. table.insert(Effects, {v,"Disappear",.008})
  3722. game:GetService("Debris"):AddItem(v, 5)
  3723. end
  3724. end
  3725. end
  3726.  
  3727.  
  3728.  
  3729. function topwat()
  3730. Attack = true
  3731. Humanoid.WalkSpeed = 0
  3732. Humanoid.JumpPower = 0
  3733. Humanoid.AutoRotate = false
  3734.  
  3735. for i = 0, 8, 0.1 do
  3736. swait()
  3737. PlayAnimationFromTable({
  3738. 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),
  3739. 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),
  3740. 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),
  3741. 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),
  3742. 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),
  3743. 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),
  3744. }, .1, false)
  3745. end
  3746.  
  3747.  
  3748. local x = math.random(1,3)
  3749. if x == 1 then
  3750. pocketpandora()
  3751. elseif x == 2 then
  3752. ducks()
  3753. elseif x == 3 then
  3754. foryou()
  3755. end
  3756.  
  3757. Humanoid.WalkSpeed = 16
  3758. Humanoid.JumpPower = 50
  3759. Humanoid.AutoRotate = true
  3760. Attack = false
  3761. end
  3762.  
  3763. function hatsoff()
  3764. Attack = true
  3765. Humanoid.WalkSpeed = 0
  3766. Humanoid.JumpPower = 0
  3767. CFuncs.Sound.Create("1578720743", Torso, 5, 1)
  3768. 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)
  3769. for i = 0, 8, 0.1 do
  3770. swait()
  3771. PlayAnimationFromTable({
  3772. 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),
  3773. 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),
  3774. 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),
  3775. 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),
  3776. 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),
  3777. 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),
  3778. }, .2, false)
  3779. end
  3780. for i = 0, .5, 0.1 do
  3781. swait()
  3782. PlayAnimationFromTable({
  3783. 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),
  3784. 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),
  3785. 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),
  3786. 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),
  3787. 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),
  3788. 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),
  3789. }, .1, false)
  3790. end
  3791. Humanoid.WalkSpeed = 16
  3792. Humanoid.JumpPower = 50
  3793. Attack = false
  3794. end
  3795.  
  3796.  
  3797.  
  3798. function overthere()
  3799. Attack = true
  3800. local xy = 2
  3801. local hitt = Mouse.hit
  3802. Humanoid.WalkSpeed = 0
  3803. Humanoid.JumpPower = 0
  3804. CFuncs.Sound.Create("538558581", Hat, 5, 1)
  3805. for i = 0, 5, 0.1 do
  3806. swait()
  3807. xy = xy + .15
  3808. PlayAnimationFromTable({
  3809. 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),
  3810. 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),
  3811. 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),
  3812. 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),
  3813. 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),
  3814. 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),
  3815. }, .1, false)
  3816. meh.Scale = Vector3.new(xy, xy, xy)
  3817. end
  3818. CFuncs.Sound.Create("144507916", Torso, 5, 1)
  3819. Effects.Wave.Create(BrickColor.new("White"), Hat.CFrame*CFrame.new(0,-20,0), 4, 1, 4, 4, 1, 4, .05)
  3820. for i = 0, 1, 0.1 do
  3821. swait()
  3822. PlayAnimationFromTable({
  3823. 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),
  3824. 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),
  3825. 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),
  3826. 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),
  3827. 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),
  3828. 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),
  3829. }, .5, false)
  3830. end
  3831. RootPart.CFrame = hitt * CFrame.new(0,6,0)
  3832. for i = 0, 2, 0.1 do
  3833. swait()
  3834. PlayAnimationFromTable({
  3835. 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),
  3836. 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),
  3837. 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),
  3838. 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),
  3839. 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),
  3840. 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),
  3841. }, .3, false)
  3842. end
  3843. for i = 0, 1.5, 0.1 do
  3844. swait()
  3845. xy = xy - .5
  3846. PlayAnimationFromTable({
  3847. 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),
  3848. 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),
  3849. 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))),
  3850. 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))),
  3851. 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),
  3852. 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),
  3853. }, .1, false)
  3854. meh.Scale = Vector3.new(xy, xy, xy)
  3855. end
  3856. meh.Scale = Vector3.new(2, 2, 2)
  3857. Humanoid.WalkSpeed = 16
  3858. Humanoid.JumpPower = 50
  3859. Attack = false
  3860. end
  3861.  
  3862. function card()
  3863. Attack = true
  3864. Humanoid.WalkSpeed = 0
  3865. Humanoid.JumpPower = 0
  3866. for i = 0, 5, 0.1 do
  3867. swait()
  3868. PlayAnimationFromTable({
  3869. 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),
  3870. 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),
  3871. 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),
  3872. 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),
  3873. 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),
  3874. 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),
  3875. }, .2, false)
  3876. end
  3877. MysteryCard=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"White","MysteryCard",Vector3.new(0.880001426, 0.0500000007, 1.42000163))
  3878. 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))
  3879. local dec = Instance.new("Decal",MysteryCard)
  3880. dec.Texture = "rbxassetid://8644107"
  3881. dec.Face = "Bottom"
  3882. local e = math.random(1,4)
  3883. if e == 1 then
  3884. local dec2 = Instance.new("Decal",MysteryCard)
  3885. dec2.Texture = "rbxassetid://173448236"
  3886. dec2.Face = "Top"
  3887. elseif e == 2 then
  3888. local dec2 = Instance.new("Decal",MysteryCard)
  3889. dec2.Texture = "rbxassetid://1167119856"
  3890. dec2.Face = "Top"
  3891. CFuncs.Sound.Create("976606790", Torso, 3, 1)
  3892. elseif e == 3 then
  3893. local dec2 = Instance.new("Decal",MysteryCard)
  3894. dec2.Texture = "rbxassetid://342673258"
  3895. dec2.Face = "Top"
  3896. elseif e == 100 then
  3897. local dec2 = Instance.new("Decal",MysteryCard)
  3898. dec2.Texture = "rbxassetid://1403304829"
  3899. dec2.Face = "Top"
  3900. elseif e == 4 then
  3901. local dec2 = Instance.new("Decal",MysteryCard)
  3902. dec2.Texture = "rbxassetid://358190487"
  3903. dec2.Face = "Top"
  3904. end
  3905. for i = 0, .1, 0.1 do
  3906. swait()
  3907. PlayAnimationFromTable({
  3908. 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),
  3909. 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),
  3910. 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),
  3911. 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),
  3912. 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),
  3913. 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),
  3914. }, .1, false)
  3915. end
  3916. for i = 0, 5, 0.1 do
  3917. swait()
  3918. PlayAnimationFromTable({
  3919. 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),
  3920. 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),
  3921. 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),
  3922. 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),
  3923. 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),
  3924. 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),
  3925. }, .2, false)
  3926. end
  3927.  
  3928. for i = 0, 3, 0.1 do
  3929. swait()
  3930. PlayAnimationFromTable({
  3931. 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),
  3932. 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),
  3933. 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),
  3934. 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),
  3935. 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),
  3936. 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),
  3937. }, .2, false)
  3938. end
  3939. if e == 1 then
  3940. MagnitudeDamage(Torso, 70, 20, 20, 0, "Seizure", " ", 1)
  3941. Effects.Sphere2.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  3942. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 100, 2, .01)
  3943. CFuncs.Sound.Create("1751051242", Torso, 5, 1)
  3944. elseif e == 2 then
  3945. MagnitudeDamage(Torso, 70, 10, 10, 0, "Freeze", " ", 1)
  3946. Effects.Sphere2.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 2, 2, 2, 2, 2, 2, .01)
  3947. Effects.Sphere1.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  3948. elseif e == 3 then
  3949. CFuncs.Sound.Create("157506631", Torso, 5, 1)
  3950. for i = 1,5 do
  3951. Effects.InnerSphere.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 100, 2, .01)
  3952. wait(.4)
  3953. end
  3954. wait(.8)
  3955. MagnitudeDamage(Torso, 70, 500, 500, 500, "Normal", " ", 1)
  3956. CFuncs.Sound.Create("1543847134", Torso, 5, 1)
  3957. Effects.Sphere2.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 2, 2, 2, 13, 13, 13, .01)
  3958. Effects.Sphere1.Create(BrickColor.new("Really red"), MysteryCard.CFrame, 1, 1, 1, 12, 12, 12, .01)
  3959. elseif e == 100 then
  3960. MagnitudeDamage(Torso, 70, 5, 5, 0, "Float", " ", 1)
  3961. Effects.Sphere2.Create(BrickColor.new("White"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  3962. elseif e == 4 then
  3963. MagnitudeDamage(Torso, 70, 30, 30, 0, "Paralyze", " ", 1)
  3964. Effects.Sphere2.Create(BrickColor.new("Gold"), MysteryCard.CFrame, 1, 1, 1, 8, 8, 8, .05)
  3965. Effects.InnerSphere.Create(BrickColor.new("White"), MysteryCard.CFrame, 100, 2, .01)
  3966. end
  3967. table.insert(Effects, {MysteryCard,"Disappear",.01})
  3968. for i = 0, 5, 0.1 do
  3969. swait()
  3970. PlayAnimationFromTable({
  3971. 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),
  3972. 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),
  3973. 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),
  3974. 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),
  3975. 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),
  3976. 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),
  3977. }, .2, false)
  3978. end
  3979. Humanoid.WalkSpeed = 16
  3980. Humanoid.JumpPower = 50
  3981. Attack = false
  3982. MysteryCard:Destroy()
  3983. MysteryCardWeld:Destroy()
  3984. end
  3985.  
  3986.  
  3987.  
  3988.  
  3989. function unanchor()
  3990. g = Character:GetChildren()
  3991. for i = 1, #g do
  3992. if g[i].ClassName == "Part" then
  3993. g[i].Anchored = false
  3994. end
  3995. end
  3996. end
  3997.  
  3998.  
  3999. Mouse.KeyDown:connect(function(Key)
  4000. Key = Key:lower()
  4001. if Attack == false and Key == 'z' and Anim == "Idle" then
  4002. overthere()
  4003. elseif Attack == false and Key == 'x' and Anim == "Idle" then
  4004. topwat()
  4005. elseif Attack == false and Key == 'c' then
  4006. card()
  4007. elseif Attack == false and Key == 'v' then
  4008. print("too lazy to add this move lul")
  4009. elseif Attack == false and Key == 't' and Anim == "Idle" then
  4010. hatsoff()
  4011. end
  4012. end)
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018. while true do
  4019. swait()
  4020. unanchor()
  4021. for i, v in pairs(Character:GetChildren()) do
  4022. if v:IsA("Part") then
  4023. v.Material = "SmoothPlastic"
  4024. elseif v:IsA("Accessory") then
  4025. v:WaitForChild("Handle").Material = "SmoothPlastic"
  4026. end
  4027. end
  4028. for i, v in pairs(Character:GetChildren()) do
  4029. if v:IsA'Model' then
  4030. for _, c in pairs(v:GetChildren()) do
  4031. if c:IsA'Part' then
  4032. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  4033. end
  4034. end
  4035. end
  4036. end
  4037. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4038. Velocity = RootPart.Velocity.y
  4039. Sine = Sine + Change
  4040. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 7, Character)
  4041. if RootPart.Velocity.y > 1 and hit == nil then
  4042. Anim = "Jump"
  4043. if Attack == false then
  4044. Change = 1
  4045. PlayAnimationFromTable({
  4046. 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),
  4047. 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),
  4048. 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),
  4049. 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),
  4050. 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),
  4051. 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),
  4052. }, .04, false)
  4053. end
  4054. elseif RootPart.Velocity.y < -1 and hit == nil then
  4055. Anim = "Fall"
  4056. if Attack == false then
  4057. Change = 1
  4058. PlayAnimationFromTable({
  4059. 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),
  4060. 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),
  4061. 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),
  4062. 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),
  4063. 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),
  4064. 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),
  4065. }, .04, false)
  4066. end
  4067. elseif TorsoVelocity < 1 and hit ~= nil then
  4068. Anim = "Idle"
  4069. if Attack == false then
  4070. Change = 1
  4071. PlayAnimationFromTable({
  4072. 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),
  4073. 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),
  4074. 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))),
  4075. 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))),
  4076. 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),
  4077. 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),
  4078. }, .1, false)
  4079. end
  4080. elseif TorsoVelocity > 2 and hit ~= nil then
  4081. Anim = "Walk"
  4082. if Attack == false then
  4083. PlayAnimationFromTable({
  4084. 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)),
  4085. 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),
  4086. 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))),
  4087. 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))),
  4088. 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),
  4089. 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),
  4090. }, .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
  4091. end
  4092. end
  4093. if #Effects > 0 then
  4094. for e = 1, #Effects do
  4095. if Effects[e] ~= nil then
  4096. local Thing = Effects[e]
  4097. if Thing ~= nil then
  4098. local Part = Thing[1]
  4099. local Mode = Thing[2]
  4100. local Delay = Thing[3]
  4101. local IncX = Thing[4]
  4102. local IncY = Thing[5]
  4103. if Thing[1].Transparency <= 1 then
  4104. if Thing[2] == "Block1" then
  4105. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4106. Mesh = Thing[7]
  4107. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4108. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4109. elseif Thing[2] == "Ice" then
  4110. if Thing[6] <= Thing[5] then
  4111. Thing[6] = Thing[6] + .05
  4112. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  4113. else
  4114. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4115. end
  4116. elseif Thing[2] == "Shatter" then
  4117. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4118. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4119. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4120. Thing[6] = Thing[6] + Thing[5]
  4121. elseif Thing[2] == "Block2" then
  4122. Thing[1].CFrame = Thing[1].CFrame
  4123. Mesh = Thing[7]
  4124. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4125. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4126. elseif Thing[2] == "Block3" then
  4127. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4128. Mesh = Thing[7]
  4129. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4130. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4131. elseif Thing[2] == "Block4" then
  4132. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  4133. Mesh = Thing[7]
  4134. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4135. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4136. elseif Thing[2] == "Block2Fire" then
  4137. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4138. Mesh = Thing[7]
  4139. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4140. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4141. if Thing[1].Transparency >= .3 then
  4142. Thing[1].BrickColor = BrickColor.new("Bright red")
  4143. else
  4144. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  4145. end
  4146. elseif Thing[2] == "Cylinder" then
  4147. Mesh = Thing[7]
  4148. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4149. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4150. elseif Thing[2] == "Blood" then
  4151. Mesh = Thing[7]
  4152. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  4153. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4154. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4155. elseif Thing[2] == "Elec" then
  4156. Mesh = Thing[10]
  4157. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4158. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4159. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  4160. Thing[1].Rotation = Vector3.new(0, 0, 0)
  4161. elseif Thing[2] == "Disappear" then
  4162. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4163. end
  4164. else
  4165. Part.Parent = nil
  4166. table.remove(Effects, e)
  4167. end
  4168. end
  4169. end
  4170. end
  4171. end
  4172. if playlist.IsPlaying == false then
  4173. playlist:Destroy()
  4174. playlist=Instance.new("Sound", Torso)
  4175. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  4176. playlist.Volume = 3
  4177. playlist.Looped = false
  4178. playlist.Name = "aa"
  4179. warn(playlist.SoundId)
  4180. playlist:Play()
  4181. end
  4182. playlist.Volume = 3
  4183. playlist.Looped = false
  4184. --soundbork(workspace)
  4185. if true then
  4186. Humanoid.MaxHealth = 1e100
  4187. Humanoid.Health = 1e100
  4188. Humanoid.Name = math.random()*100
  4189. end
  4190. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement