Hugo1234cool

Untitled

Feb 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.17 KB | None | 0 0
  1. --[[<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><>
  2.  
  3.  
  4. 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.
  5.  
  6. 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.
  7.  
  8. 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.
  9.  
  10. 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.
  11.  
  12. After this incident, Malcom has hidden himself to the rest of the world, his mystical wonders hidden.. Until now.
  13.  
  14.  
  15. <><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  16.  
  17.  
  18. <>Controls<>
  19.  
  20. Z: Disappearing Act <> Use your hat to warp to your mouse cursor.
  21.  
  22.  
  23. X: Hat Trick <> Pull three different things out of your hat. (Its randomized!)
  24.  
  25.  
  26. C: Draw a Card <> Draw a card that does one of five effects. (Its randomized!)
  27.  
  28.  
  29. V: lul
  30.  
  31.  
  32. T: Heads Off <> Tell your audience that they will be amazed!
  33.  
  34. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>]]--
  35.  
  36.  
  37.  
  38.  
  39.  
  40. --https://github.com/Mokiros/roblox-FE-compatibility
  41. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  42. local Player,game,owner = owner,game
  43. local RealPlayer = Player
  44. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  45. wait(1 / 40)
  46. Effects = { }
  47. local Player =owner
  48. local Mouse = Player:GetMouse()
  49. local Character = Player.Character
  50. local Humanoid = Character.Humanoid
  51. local Head = Character.Head
  52. local RootPart = Character.HumanoidRootPart
  53. local Torso = Character.Torso
  54. local LeftArm = Character["Left Arm"]
  55. local RightArm = Character["Right Arm"]
  56. local LeftLeg = Character["Left Leg"]
  57. local RightLeg = Character["Right Leg"]
  58. local Camera = game.Workspace.CurrentCamera
  59. local RootJoint = RootPart.RootJoint
  60. local Equipped = false
  61. local Attack = false
  62. local Anim = 'Idle'
  63. local Idle = 0
  64. local UIS = game:GetService("UserInputService")
  65. local Combo = 1
  66. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  67. local Velocity = RootPart.Velocity.y
  68. local Sine = 0
  69. local Change = 1
  70. local killcount = 1
  71. local lasersize = 0
  72. local charsize = 2
  73. local CF = CFrame.new
  74. local ANGLES = CFrame.Angles
  75. local RAD = math.rad
  76. local Neck = Torso["Neck"]
  77. local silenced = false
  78. Head.face:Destroy()
  79. Head.Transparency = 1
  80. if(not Humanoid:FindFirstChildOfClass'ForceField')then Instance.new("ForceField",Character).Visible = false end
  81.  
  82. local function soundbork(obj)
  83. if obj:IsA("Sound") and obj.Name ~= "aa" then
  84. obj.Looped = false
  85. obj.Pitch = 1
  86. obj.Volume = 0
  87. return
  88. end
  89.  
  90.  
  91. local children = obj:GetChildren()
  92. for i = 1, #children do
  93. soundbork(children[i])
  94. end
  95. return
  96. end
  97.  
  98. maincol = Torso.Color
  99. maincol2 = Torso.Color
  100.  
  101. local RbxUtility = LoadLibrary("RbxUtility")
  102. local Create = RbxUtility.Create
  103.  
  104. Humanoid.WalkSpeed = 16
  105. Humanoid.JumpPower = 50
  106. Humanoid.Animator.Parent = nil
  107. Character.Animate.Parent = nil
  108.  
  109. local newMotor = function(part0, part1, c0, c1)
  110. local w = Create('Motor'){
  111. Parent = part0,
  112. Part0 = part0,
  113. Part1 = part1,
  114. C0 = c0,
  115. C1 = c1,
  116. }
  117. return w
  118. end
  119.  
  120.  
  121. function clerp(a, b, t)
  122. return a:lerp(b, t)
  123. end
  124.  
  125. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  126. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  127. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  128. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  129. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  130. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  131. RootJoint.C1 = CFrame.new(0, 0, 0)
  132. RootJoint.C0 = CFrame.new(0, 0, 0)
  133. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  134. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  135. local rarmc1 = RW.C1
  136. local larmc1 = LW.C1
  137. local rlegc1 = RH.C1
  138. local llegc1 = LH.C1
  139. local resetc1 = false
  140. Humanoid.Parent = nil
  141. RootPart.Size = RootPart.Size*charsize
  142. Torso.Size = Torso.Size*charsize
  143. RightArm.Size = RightArm.Size*charsize
  144. RightLeg.Size = RightLeg.Size*charsize
  145. LeftArm.Size = LeftArm.Size*charsize
  146. LeftLeg.Size = LeftLeg.Size*charsize
  147. Head.Size = Head.Size*charsize
  148. RootJoint.Parent = RootPart
  149. Neck.Parent = Torso
  150. RW.Parent = Torso
  151. LW.Parent = Torso
  152. RH.Parent = Torso
  153. LH.Parent = Torso
  154. Humanoid.Parent = Character
  155.  
  156. ch = Character:GetChildren()
  157. for i = 1, #ch do
  158. if ch[i].Name == "Torso" then
  159. ch[i].roblox.Transparency = 1
  160. elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then
  161. ch[i]:Destroy()
  162. end
  163. end
  164.  
  165.  
  166. --<><><><><><><><><><><><>--
  167.  
  168. --Passive Effects--
  169.  
  170. --<><><><><><><><><><><><>--
  171.  
  172. spawn(function()
  173. while true do
  174. wait(.1)
  175. if Anim == "Idle" or Anim == "Walk" then
  176. 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))
  177. refpart.Anchored = false
  178. refpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),80,math.random(-30,30))
  179. refpart.CanCollide = false
  180. local GRAVITY_ACCELERATION = 3.05
  181. local bodyForce = Instance.new('BodyForce', refpart)
  182. bodyForce.Name = 'Antigravity'
  183. bodyForce.force = Vector3.new(0, refpart:GetMass() * GRAVITY_ACCELERATION, 0)
  184. local rl = Create("BodyAngularVelocity"){
  185. P = 300,
  186. maxTorque = Vector3.new(2, 2, 2),
  187. angularvelocity = Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)),
  188. Parent = refpart,}
  189. table.insert(Effects, {refpart,"Disappear",.003})
  190. game:GetService("Debris"):AddItem(refpart, 10)
  191. end
  192. end
  193. end)
  194.  
  195.  
  196. --<><><><><><><><><><><><>--
  197.  
  198. --Tables and Songs--
  199.  
  200. --<><><><><><><><><><><><>--
  201.  
  202. local songs = {
  203. 1374520036,
  204. 1034928566,
  205. 228239848,
  206. 257314417,
  207. 176069112,
  208. 608232329,
  209. }
  210.  
  211. local quotes = {
  212. "I will amaze you!",
  213. "Heads off to you!",
  214. "Step right up!",
  215. "Be amazed!",
  216. "The show must go on!",
  217. "Let the show begin!",
  218. }
  219.  
  220. playlist = Instance.new("Sound", Torso)
  221. playlist.SoundId = "rbxassetid://1234043017"
  222. playlist.Volume = 3
  223. playlist.TimePosition = 0
  224. playlist.Name = "aa"
  225. playlist:Play()
  226.  
  227. --<><><><><><><><><><><><>--
  228.  
  229. --Clothes--
  230.  
  231. --<><><><><><><><><><><><>--
  232.  
  233. local top = Instance.new("Shirt")
  234. top.ShirtTemplate = "rbxassetid://268316000"
  235. top.Parent = Character
  236. top.Name = "Cloth"
  237. local bottom = Instance.new("Pants")
  238. bottom.PantsTemplate = "rbxassetid://268949770"
  239. bottom.Parent = Character
  240. bottom.Name = "Cloth"
  241.  
  242. --<><><><><><><><><><><><>--
  243.  
  244. --Name Tag--
  245.  
  246. --<><><><><><><><><><><><>--
  247.  
  248. --[[Humanoid.DisplayDistanceType = "None"
  249. local naeeym2 = Instance.new("BillboardGui",Character)
  250. naeeym2.AlwaysOnTop = false
  251. naeeym2.Size = UDim2.new(5,35,2,15)
  252. naeeym2.StudsOffset = Vector3.new(0,7,0)
  253. naeeym2.MaxDistance = 75
  254. naeeym2.Adornee = Character.Torso
  255. naeeym2.Name = "Maddox the Swing Spirit"
  256. local tecks2 = Instance.new("TextLabel",naeeym2)
  257. tecks2.BackgroundTransparency = 1
  258. tecks2.TextScaled = true
  259. tecks2.BorderSizePixel = 0
  260. tecks2.Text = "Maddox"
  261. tecks2.Font = "Cartoon"
  262. tecks2.TextSize = 30
  263. tecks2.TextStrokeTransparency = 0
  264. tecks2.TextColor3 = Color3.new(1,1,1)
  265. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  266. tecks2.Size = UDim2.new(1,0,0.5,0)
  267. tecks2.Parent = naeeym2]]--
  268.  
  269. function PlayAnimationFromTable(table, speed, bool)
  270. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  271. Neck.C0 = clerp(Neck.C0, table[2], speed)
  272. RW.C0 = clerp(RW.C0, table[3], speed)
  273. LW.C0 = clerp(LW.C0, table[4], speed)
  274. RH.C0 = clerp(RH.C0, table[5], speed)
  275. LH.C0 = clerp(LH.C0, table[6], speed)
  276. if bool == true then
  277. if resetc1 == false then
  278. resetc1 = true
  279. RootJoint.C1 = RootJoint.C1
  280. Torso.Neck.C1 = Torso.Neck.C1
  281. RW.C1 = rarmc1
  282. LW.C1 = larmc1
  283. RH.C1 = rlegc1
  284. LH.C1 = llegc1
  285. end
  286. end
  287. end
  288.  
  289. ArtificialHB = Create("BindableEvent"){
  290. Parent = script,
  291. Name = "Heartbeat",
  292. }
  293.  
  294. script:WaitForChild("Heartbeat")
  295.  
  296. frame = 1 / 45
  297. tf = 0
  298. allowframeloss = false
  299. tossremainder = false
  300. lastframe = tick()
  301. script.Heartbeat:Fire()
  302.  
  303. game:GetService("RunService").Heartbeat:connect(function(s, p)
  304. tf = tf + s
  305. if tf >= frame then
  306. if allowframeloss then
  307. script.Heartbeat:Fire()
  308. lastframe = tick()
  309. else
  310. for i = 1, math.floor(tf / frame) do
  311. script.Heartbeat:Fire()
  312. end
  313. lastframe = tick()
  314. end
  315. if tossremainder then
  316. tf = 0
  317. else
  318. tf = tf - frame * math.floor(tf / frame)
  319. end
  320. end
  321. end)
  322.  
  323. function swait(num)
  324. if num == 0 or num == nil then
  325. ArtificialHB.Event:wait()
  326. else
  327. for i = 0, num do
  328. ArtificialHB.Event:wait()
  329. end
  330. end
  331. end
  332.  
  333. local m = Create("Model"){
  334. Parent = Character,
  335. Name = "WeaponModel"
  336. }
  337.  
  338. local m2 = Create("Model"){
  339. Parent = Character,
  340. Name = "WeaponModel2"
  341. }
  342.  
  343. function RemoveOutlines(part)
  344. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  345. end
  346.  
  347. CFuncs = {
  348. Part = {
  349. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  350. local Part = Create("Part"){
  351. Parent = Parent,
  352. Reflectance = Reflectance,
  353. Transparency = Transparency,
  354. CanCollide = false,
  355. Locked = true,
  356. BrickColor = BrickColor.new(tostring(BColor)),
  357. Name = Name,
  358. Size = Size,
  359. Material = Material,
  360. }
  361. RemoveOutlines(Part)
  362. if Size == Vector3.new() then
  363. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  364. else
  365. Part.Size = Size
  366. end
  367. return Part
  368. end;
  369. };
  370.  
  371. Mesh = {
  372. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  373. local Msh = Create(Mesh){
  374. Parent = Part,
  375. Offset = OffSet,
  376. Scale = Scale,
  377. }
  378. if Mesh == "SpecialMesh" then
  379. Msh.MeshType = MeshType
  380. Msh.MeshId = MeshId
  381. end
  382. return Msh
  383. end;
  384. };
  385.  
  386. Weld = {
  387. Create = function(Parent, Part0, Part1, C0, C1)
  388. local Weld = Create("Weld"){
  389. Parent = Parent,
  390. Part0 = Part0,
  391. Part1 = Part1,
  392. C0 = C0,
  393. C1 = C1,
  394. }
  395. return Weld
  396. end;
  397. };
  398.  
  399. Sound = {
  400. Create = function(id, par, vol, pit)
  401. local Sound = Create("Sound"){
  402. Volume = vol,
  403. Pitch = pit or 1,
  404. SoundId = "rbxassetid://" .. id,
  405. Parent = par or workspace,
  406. Name = "aa"
  407. }
  408. Sound:play()
  409. return Sound
  410. end;
  411. };
  412.  
  413. Decal = {
  414. Create = function(Color, Texture, Transparency, Name, Parent)
  415. local Decal = Create("Decal"){
  416. Color3 = Color,
  417. Texture = "rbxassetid://" .. Texture,
  418. Transparency = Transparency,
  419. Name = Name,
  420. Parent = Parent,
  421. }
  422. return Decal
  423. end;
  424. };
  425.  
  426. BillboardGui = {
  427. Create = function(Parent, Image, Position, Size)
  428. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  429. BillPar.CFrame = CFrame.new(Position)
  430. local Bill = Create("BillboardGui"){
  431. Parent = BillPar,
  432. Adornee = BillPar,
  433. Size = UDim2.new(1, 0, 1, 0),
  434. SizeOffset = Vector2.new(Size, Size),
  435. }
  436. local d = Create("ImageLabel", Bill){
  437. Parent = Bill,
  438. BackgroundTransparency = 1,
  439. Size = UDim2.new(1, 0, 1, 0),
  440. Image = "rbxassetid://" .. Image,
  441. }
  442. return BillPar
  443. end
  444. };
  445.  
  446. ParticleEmitter = {
  447. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  448. local Particle = Create("ParticleEmitter"){
  449. Parent = Parent,
  450. Color = ColorSequence.new(Color1, Color2),
  451. LightEmission = LightEmission,
  452. Size = Size,
  453. Texture = Texture,
  454. Transparency = Transparency,
  455. ZOffset = ZOffset,
  456. Acceleration = Accel,
  457. Drag = Drag,
  458. LockedToPart = LockedToPart,
  459. VelocityInheritance = VelocityInheritance,
  460. EmissionDirection = EmissionDirection,
  461. Enabled = Enabled,
  462. Lifetime = LifeTime,
  463. Rate = Rate,
  464. Rotation = Rotation,
  465. RotSpeed = RotSpeed,
  466. Speed = Speed,
  467. VelocitySpread = VelocitySpread,
  468. }
  469. return Particle
  470. end;
  471. };
  472.  
  473. CreateTemplate = {
  474.  
  475. };
  476. }
  477.  
  478.  
  479.  
  480.  
  481. function RayCast(Position, Direction, Range, Ignore)
  482. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  483. end
  484.  
  485. FindNearestTorso = function(pos)
  486. local list = (game.Workspace:children())
  487. local torso = nil
  488. local dist = 1000
  489. local temp, human, temp2 = nil, nil, nil
  490. for x = 1, #list do
  491. temp2 = list[x]
  492. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  493. temp = temp2:findFirstChild("Torso")
  494. human = temp2:findFirstChild("Humanoid")
  495. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  496. local dohit = true
  497. if dohit == true then
  498. torso = temp
  499. dist = (temp.Position - pos).magnitude
  500. end
  501. end
  502. end
  503. end
  504. return torso, dist
  505. end
  506.  
  507. Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  508.  
  509. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  510. prt.Anchored = true
  511. prt.CFrame = cframe
  512. prt.Material = "Neon"
  513. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  514. game:GetService("Debris"):AddItem(prt, 10)
  515. coroutine.resume(coroutine.create(function(Part, Mesh)
  516.  
  517. for i = 0, 1, delay do
  518. swait()
  519. Part.Transparency = i
  520. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  521. end
  522. Part.Parent = nil
  523. end
  524. ), prt, msh)
  525. end
  526.  
  527.  
  528.  
  529.  
  530. shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
  531.  
  532. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  533. local MainPos = partt.Position
  534. local MainPos2 = mouse.Hit.p + SpreadVectors
  535. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  536. local speed = 1000
  537. local num = 1
  538. coroutine.resume(coroutine.create(function()
  539.  
  540. repeat
  541. swait()
  542. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  543. local mag = (MainPos - pos).magnitude
  544. 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)
  545. MainPos = MainPos + MouseLook.lookVector * speed
  546. num = num - 1
  547. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  548. if hit ~= nil then
  549. num = 0
  550. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  551. refpart.Anchored = true
  552. refpart.CFrame = CFrame.new(pos)
  553. game:GetService("Debris"):AddItem(refpart, 2)
  554. end
  555. do
  556. if num <= 0 then
  557. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  558. refpart.Anchored = true
  559. refpart.CFrame = CFrame.new(pos)
  560. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 10, 10, 10, 10, 10, 10, .1, 1)
  561. Effects.Break.Create(BrickColor.new(maincol), refpart.CFrame, 2, 10, 2)
  562. if hit ~= nil then
  563. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  564. end
  565. game:GetService("Debris"):AddItem(refpart, 0)
  566. end
  567. end
  568. until num <= 0
  569. end
  570. ))
  571. end
  572.  
  573.  
  574. Laser2 = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
  575.  
  576. local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5+lasersize, 0.5, 0.5+lasersize))
  577. prt.Anchored = true
  578. prt.CFrame = cframe
  579. prt.Material = "Neon"
  580. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  581. game:GetService("Debris"):AddItem(prt, 10)
  582. coroutine.resume(coroutine.create(function(Part, Mesh)
  583.  
  584. for i = 0, 1, delay do
  585. swait()
  586. Part.Transparency = i
  587. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  588. end
  589. Part.Parent = nil
  590. end
  591. ), prt, msh)
  592. end
  593.  
  594.  
  595.  
  596.  
  597. shoot2 = function(mouse, aoe , partt, SpreadAmount, multiply)
  598.  
  599. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  600. local MainPos = partt.Position
  601. local MainPos2 = mouse.Hit.p + SpreadVectors
  602. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  603. local speed = 1000
  604. local num = 1
  605. coroutine.resume(coroutine.create(function()
  606.  
  607. repeat
  608. swait()
  609. local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  610. local mag = (MainPos - pos).magnitude
  611. 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)
  612. MainPos = MainPos + MouseLook.lookVector * speed
  613. num = num - 1
  614. MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
  615. if hit ~= nil then
  616. num = 0
  617. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  618. refpart.Anchored = true
  619. refpart.CFrame = CFrame.new(pos)
  620. game:GetService("Debris"):AddItem(refpart, 2)
  621. end
  622. do
  623. if num <= 0 then
  624. local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  625. refpart.Anchored = true
  626. refpart.CFrame = CFrame.new(pos)
  627. Effects.Block.Create(BrickColor.new(maincol), refpart.CFrame, 1, 1, 1, 1+lasersize, 1+lasersize, 1+lasersize, .05, 1)
  628. if hit ~= nil then
  629. MagnitudeDamage(refpart, aoe, 1.5 * multiply, 1.5 * multiply, 0, "Normal", "231917784", 0)
  630. end
  631. game:GetService("Debris"):AddItem(refpart, 0)
  632. end
  633. end
  634. until num <= 0
  635. end
  636. ))
  637. end
  638.  
  639.  
  640.  
  641.  
  642. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  643. if hit.Parent == nil then
  644. return
  645. end
  646. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  647. for _, v in pairs(hit.Parent:children()) do
  648. if v:IsA("Humanoid") then
  649. h = v
  650. end
  651. end
  652. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  653. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  654. if hit.Parent.DebounceHit.Value == true then
  655. return
  656. end
  657. end
  658. local c = Create("ObjectValue"){
  659. Name = "creator",
  660. Value = game:service("Players").LocalPlayer,
  661. Parent = h,
  662. }
  663. game:GetService("Debris"):AddItem(c, .5)
  664. if HitSound ~= nil and HitPitch ~= nil then
  665. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  666. end
  667. local Damage = math.random(minim, maxim)
  668. local blocked = false
  669. local block = hit.Parent:findFirstChild("Block")
  670. if block ~= nil then
  671. if block.className == "IntValue" then
  672. if block.Value > 0 then
  673. blocked = true
  674. block.Value = block.Value - 1
  675. print(block.Value)
  676. end
  677. end
  678. end
  679. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 100 and hit.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  680. for i = 0, 1, 0.1 do
  681. Effects.Break.Create(BrickColor.new("White"), hit.CFrame, 1, 4, 1)
  682. end
  683. CFuncs.Sound.Create("402174682", Torso, 5, 1)
  684. 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)
  685. for _,v in pairs(hit.Parent:children()) do
  686. if v:IsA("Part") then
  687. v.Transparency = 1
  688. end
  689. end
  690. hit.Parent:BreakJoints()
  691. else
  692. h.Health = h.Health - Damage
  693. 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)
  694. end
  695. if Type == "Seizure" then
  696. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  697. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), hit.Parent.Torso.CFrame, 100, 2, .01)
  698. spawn(function()
  699. for i = 1, 1000 do
  700. swait()
  701. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  702. hum.MaxHealth = hum.MaxHealth - 10
  703. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(math.random(-1,1)/2,0,math.random(-1,1)/2)
  704. end
  705. end)
  706. elseif Type == "Paralyze" then
  707. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  708. coroutine.resume(coroutine.create(function(HHumanoid)
  709. CFuncs.Sound.Create("209545844", hit.Parent.Torso, 1, 1)
  710. CFuncs.Sound.Create("1143596511", hit.Parent.Torso, 1, 1)
  711. Effects.InnerSphere.Create(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 100, 2, .01)
  712. local rl = Create("BodyAngularVelocity"){
  713. P = 3000,
  714. maxTorque = Vector3.new(50, 50, 50)* 200000000000,
  715. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  716. Parent = hit,
  717. }
  718. wait(.1)
  719. rl:Destroy()
  720. for i = 1, 500 do
  721. local rl = Create("BodyAngularVelocity"){
  722. P = 3000,
  723. maxTorque = Vector3.new(50, 50, 50)* 20,
  724. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  725. Parent = hit,
  726. }
  727. hum.Health = hum.Health - .01
  728. hum.PlatformStand = true
  729. for _,v in pairs(hit.Parent:children()) do
  730. if v:IsA("Part") then
  731. local oldcol = v.BrickColor
  732. v.BrickColor = BrickColor.new("New Yeller")
  733. wait(.1)
  734. v.BrickColor = oldcol
  735. end
  736. end
  737. rl:Destroy()
  738. end
  739.  
  740. HHumanoid.PlatformStand = false
  741. end), hum)
  742. elseif Type == "Knockdown" then
  743. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  744. hum.PlatformStand = true
  745. coroutine.resume(coroutine.create(function(HHumanoid)
  746. swait(1)
  747. HHumanoid.PlatformStand = false
  748. end), hum)
  749. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  750. local bodvol = Create("BodyVelocity"){
  751. velocity = angle * knockback,
  752. P = 5000,
  753. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  754. Parent = hit,
  755. }
  756. local rl = Create("BodyAngularVelocity"){
  757. P = 3000,
  758. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  759. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  760. Parent = hit,
  761. }
  762. game:GetService("Debris"):AddItem(bodvol, .5)
  763. game:GetService("Debris"):AddItem(rl, .5)
  764.  
  765. elseif Type == "Normal" then
  766. local vp = Create("BodyVelocity"){
  767. P = 500,
  768. maxForce = Vector3.new(math.huge, 0, math.huge),
  769. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  770. }
  771.  
  772.  
  773.  
  774.  
  775. if knockback > 0 then
  776. vp.Parent = hit.Parent.Torso
  777. end
  778. game:GetService("Debris"):AddItem(vp, .5)
  779. elseif Type == "Float" then
  780. local vp = Create("BodyVelocity"){
  781. P = 10,
  782. maxForce = Vector3.new(math.huge, 0, math.huge),
  783. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  784. }
  785. print(hit.Parent)
  786. if knockback > 0 then
  787. vp.Parent = hit.Parent.Torso
  788. end
  789. local hum = hit.Parent.Humanoid
  790. hum.PlatformStand = true
  791. local TotalMass = 0
  792. for _, part in pairs(hit.Parent:GetChildren()) do
  793. if part:IsA("Part") then
  794. TotalMass = TotalMass + part:GetMass()
  795. end
  796. end
  797. local ForceOfGravity = -200 * TotalMass
  798. local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
  799. floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
  800. local rl = Create("BodyAngularVelocity"){
  801. P = 500,
  802. maxTorque = Vector3.new(10, 10, 10),
  803. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  804. Parent = hit,
  805. }
  806. game:GetService("Debris"):AddItem(rl, 20)
  807. game:GetService("Debris"):AddItem(floatybits, 20)
  808. game:GetService("Debris"):AddItem(vp, .5)
  809.  
  810. spawn(function()
  811. for i = 1, 70 do
  812. wait(.2)
  813. 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)
  814. end
  815. end)
  816.  
  817. elseif Type == "Up" then
  818. local bodyVelocity = Create("BodyVelocity"){
  819. velocity = Vector3.new(0, 20, 0),
  820. P = 5000,
  821. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  822. Parent = hit,
  823. }
  824. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  825. elseif Type == "DarkUp" then
  826. coroutine.resume(coroutine.create(function()
  827. for i = 0, 1, 0.1 do
  828. swait()
  829. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  830. end
  831. end))
  832. local bodyVelocity = Create("BodyVelocity"){
  833. velocity = Vector3.new(0, 20, 0),
  834. P = 5000,
  835. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  836. Parent = hit,
  837. }
  838. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  839. elseif Type == "Snare" then
  840. local bp = Create("BodyPosition"){
  841. P = 2000,
  842. D = 100,
  843. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  844. position = hit.Parent.Torso.Position,
  845. Parent = hit.Parent.Torso,
  846. }
  847. game:GetService("Debris"):AddItem(bp, 1)
  848. elseif Type == "Freeze" then
  849. local BodPos = Create("BodyPosition"){
  850. P = 50000,
  851. D = 1000,
  852. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  853. position = hit.Parent.Torso.Position,
  854. Parent = hit.Parent.Torso,
  855. }
  856. local BodGy = Create("BodyGyro") {
  857. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  858. P = 20e+003,
  859. Parent = hit.Parent.Torso,
  860. CFrame = hit.Parent.Torso.CFrame,
  861. }
  862. CFuncs.Sound.Create("585135955", hit.Parent.Torso, 5, 1)
  863. Effects.Block.Create(BrickColor.new("Baby blue"), hit.Parent.Torso.CFrame, 3, 3, 3, 3, 5, 3, .02, 2)
  864. hit.Parent.Torso.Anchored = true
  865. coroutine.resume(coroutine.create(function(Part)
  866. swait(1.5)
  867. Part.Anchored = false
  868. end), hit.Parent.Torso)
  869. game:GetService("Debris"):AddItem(BodPos, 3)
  870. game:GetService("Debris"):AddItem(BodGy, 3)
  871. end
  872. local debounce = Create("BoolValue"){
  873. Name = "DebounceHit",
  874. Parent = hit.Parent,
  875. Value = true,
  876. }
  877. if Delay > 0 then
  878. game:GetService("Debris"):AddItem(debounce, Delay)
  879. c = Create("ObjectValue"){
  880. Name = "creator",
  881. Value = Player,
  882. Parent = h,
  883. }
  884. end
  885. game:GetService("Debris"):AddItem(c, .5)
  886. end
  887. end
  888.  
  889. function ShowDamage(Pos, Text, Time, Color, Color2)
  890. local Rate = (1 / 45)
  891. local Pos = (Pos or Vector3.new(0, 0, 0))
  892. local Text = (Text or "")
  893. local Time = (Time or 2)
  894. local Color = (Color or Color3.new(1, 0, 1))
  895. local Color2 = (Color2 or Color3.new(1, 0, 1))
  896. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  897. EffectPart.Anchored = false
  898. EffectPart.CFrame = CFrame.new(Pos)
  899. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(60,70)
  900. local sizebit = 5
  901. local BillboardGui = Create("BillboardGui"){
  902. Size = UDim2.new(sizebit, 0, sizebit, 0),
  903. Adornee = EffectPart,
  904. Parent = EffectPart,
  905. }
  906. local TextLabel = Create("TextLabel"){
  907. BackgroundTransparency = 1,
  908. Size = UDim2.new(1, 0, 1, 0),
  909. Text = Text,
  910. Font = "Cartoon",
  911. TextColor3 = Color,
  912. TextStrokeColor3 = Color2,
  913. TextStrokeTransparency = 0,
  914. TextScaled = true,
  915. Parent = BillboardGui,
  916. }
  917. game.Debris:AddItem(EffectPart, (Time))
  918. EffectPart.Parent = game:GetService("Workspace")
  919. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  920. delay(0, function()
  921. local Frames = (Time / Rate)
  922. wait(.5)
  923. EffectPart.Anchored = true
  924. wait(.5)
  925. for Frame = 1, Frames do
  926. wait(Rate)
  927. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  928. local Percent = (Frame / Frames)
  929. TextLabel.TextTransparency = Percent
  930. sizebit = sizebit - .4
  931. end
  932. if EffectPart and EffectPart.Parent then
  933. EffectPart:Destroy()
  934. end
  935. end)
  936. end
  937.  
  938. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitPitch)
  939. for _, c in pairs(workspace:children()) do
  940. local hum = c:findFirstChildOfClass("Humanoid")
  941. if hum ~= nil then
  942. local head = c:findFirstChild("Torso")
  943. if head ~= nil then
  944. local targ = head.Position - Part.Position
  945. local mag = targ.magnitude
  946. if mag <= Magnitude and c.Name ~= Player.Name then
  947. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitPitch)
  948. end
  949. end
  950. end
  951. end
  952. end
  953.  
  954. EffectModel = Create("Model"){
  955. Parent = Character,
  956. Name = "EffectModel",
  957. }
  958.  
  959. Effects = {
  960. Block = {
  961. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  962. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  963. prt.Anchored = true
  964. prt.CFrame = cframe
  965. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  966. game:GetService("Debris"):AddItem(prt, 10)
  967. if Type == 1 or Type == nil then
  968. table.insert(Effects, {
  969. prt,
  970. "Block1",
  971. delay,
  972. x3,
  973. y3,
  974. z3,
  975. msh
  976. })
  977. elseif Type == 2 then
  978. table.insert(Effects, {
  979. prt,
  980. "Block2",
  981. delay,
  982. x3,
  983. y3,
  984. z3,
  985. msh
  986. })
  987. end
  988. end;
  989. };
  990.  
  991. Cylinder = {
  992. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  993. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  994. prt.Anchored = true
  995. prt.CFrame = cframe
  996. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  997. game:GetService("Debris"):AddItem(prt, 2)
  998. table.insert(Effects, {
  999. prt,
  1000. "Cylinder",
  1001. delay,
  1002. x3,
  1003. y3,
  1004. z3,
  1005. msh
  1006. })
  1007. end;
  1008. };
  1009.  
  1010. Head = {
  1011. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1012. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1013. prt.Anchored = true
  1014. prt.CFrame = cframe
  1015. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1016. game:GetService("Debris"):AddItem(prt, 10)
  1017. table.insert(Effects, {
  1018. prt,
  1019. "Cylinder",
  1020. delay,
  1021. x3,
  1022. y3,
  1023. z3,
  1024. msh
  1025. })
  1026. end;
  1027. };
  1028.  
  1029. Sphere1 = {
  1030. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1031. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1032. prt.Anchored = true
  1033. prt.CFrame = cframe
  1034. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1035. game:GetService("Debris"):AddItem(prt, 10)
  1036. table.insert(Effects, {
  1037. prt,
  1038. "Cylinder",
  1039. delay,
  1040. x3,
  1041. y3,
  1042. z3,
  1043. msh
  1044. })
  1045. end;
  1046. };
  1047.  
  1048. Sphere2 = {
  1049. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1050. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1051. prt.Anchored = true
  1052. prt.CFrame = cframe
  1053. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1054. game:GetService("Debris"):AddItem(prt, 10)
  1055. table.insert(Effects, {
  1056. prt,
  1057. "Cylinder",
  1058. delay,
  1059. x3,
  1060. y3,
  1061. z3,
  1062. msh
  1063. })
  1064. end;
  1065. };
  1066.  
  1067. InnerSphere = {
  1068. Create = function(brickcolor, cframe, size, shrinkspeed, appspeed)
  1069. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1070. prt.Anchored = true
  1071. prt.CFrame = cframe
  1072. prt.Transparency = 1
  1073. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(size, size, size))
  1074. game:GetService("Debris"):AddItem(prt, 10)
  1075. spawn(function()
  1076. while true do
  1077. if size ~= 0 then
  1078. swait()
  1079. msh.Scale = Vector3.new(size, size, size)
  1080. size = size - shrinkspeed or size - 1
  1081. prt.Transparency = prt.Transparency - appspeed
  1082. else prt:Destroy() break
  1083. end
  1084. end
  1085. end)
  1086. end;
  1087. };
  1088.  
  1089. Elect = {
  1090. Create = function(cff, x, y, z)
  1091. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1))
  1092. prt.Anchored = true
  1093. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1094. prt.CFrame = CFrame.new(prt.Position)
  1095. game:GetService("Debris"):AddItem(prt, 2)
  1096. local xval = math.random() / 2
  1097. local yval = math.random() / 2
  1098. local zval = math.random() / 2
  1099. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1100. table.insert(Effects, {
  1101. prt,
  1102. "Elec",
  1103. 0.1,
  1104. x,
  1105. y,
  1106. z,
  1107. xval,
  1108. yval,
  1109. zval
  1110. })
  1111. end;
  1112.  
  1113. };
  1114.  
  1115. Ring = {
  1116. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1117. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1118. prt.Anchored = true
  1119. prt.CFrame = cframe
  1120. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1121. game:GetService("Debris"):AddItem(prt, 10)
  1122. table.insert(Effects, {
  1123. prt,
  1124. "Cylinder",
  1125. delay,
  1126. x3,
  1127. y3,
  1128. z3,
  1129. msh
  1130. })
  1131. end;
  1132. };
  1133.  
  1134.  
  1135. Wave = {
  1136. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1137. local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new())
  1138. prt.Anchored = true
  1139. prt.CFrame = cframe
  1140. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1141. game:GetService("Debris"):AddItem(prt, 10)
  1142. table.insert(Effects, {
  1143. prt,
  1144. "Cylinder",
  1145. delay,
  1146. x3,
  1147. y3,
  1148. z3,
  1149. msh
  1150. })
  1151. end;
  1152. };
  1153.  
  1154. Break = {
  1155. Create = function(brickcolor, cframe, x1, y1, z1)
  1156. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1157. prt.Anchored = true
  1158. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1159. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1160. local num = math.random(10, 50) / 1000
  1161. game:GetService("Debris"):AddItem(prt, 10)
  1162. table.insert(Effects, {
  1163. prt,
  1164. "Shatter",
  1165. num,
  1166. prt.CFrame,
  1167. math.random() - math.random(),
  1168. 0,
  1169. math.random(50, 100) / 100
  1170. })
  1171. end;
  1172. };
  1173.  
  1174. Fire = {
  1175. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1176. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1177. prt.Anchored = true
  1178. prt.CFrame = cframe
  1179. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1180. game:GetService("Debris"):AddItem(prt, 10)
  1181. table.insert(Effects, {
  1182. prt,
  1183. "Fire",
  1184. delay,
  1185. 1,
  1186. 1,
  1187. 1,
  1188. msh
  1189. })
  1190. end;
  1191. };
  1192.  
  1193. FireWave = {
  1194. Create = function(brickcolor, cframe, x1, y1, z1)
  1195. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1196. prt.Anchored = true
  1197. prt.CFrame = cframe
  1198. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1199. local d = Create("Decal"){
  1200. Parent = prt,
  1201. Texture = "rbxassetid://26356434",
  1202. Face = "Top",
  1203. }
  1204. local d = Create("Decal"){
  1205. Parent = prt,
  1206. Texture = "rbxassetid://26356434",
  1207. Face = "Bottom",
  1208. }
  1209. game:GetService("Debris"):AddItem(prt, 10)
  1210. table.insert(Effects, {
  1211. prt,
  1212. "FireWave",
  1213. 1,
  1214. 30,
  1215. math.random(400, 600) / 100,
  1216. msh
  1217. })
  1218. end;
  1219. };
  1220.  
  1221. Lightning = {
  1222. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1223. local magz = (p0 - p1).magnitude
  1224. local curpos = p0
  1225. local trz = {
  1226. -ofs,
  1227. ofs
  1228. }
  1229. for i = 1, tym do
  1230. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1231. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1232. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1233. li.Material = "Neon"
  1234. if tym == i then
  1235. local magz2 = (curpos - p1).magnitude
  1236. li.Size = Vector3.new(th, th, magz2)
  1237. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1238. table.insert(Effects, {
  1239. li,
  1240. "Disappear",
  1241. last
  1242. })
  1243. else
  1244. do
  1245. do
  1246. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1247. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1248. game.Debris:AddItem(li, 10)
  1249. table.insert(Effects, {
  1250. li,
  1251. "Disappear",
  1252. last
  1253. })
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259. };
  1260.  
  1261. EffectTemplate = {
  1262.  
  1263. };
  1264. }
  1265.  
  1266. Hat=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Medium stone grey","Hat",Vector3.new(2, 2, 2))
  1267. 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))
  1268. 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))
  1269. meh.TextureId = "http://www.roblox.com/asset/?id=32935396"
  1270.  
  1271.  
  1272.  
  1273. for _,v in pairs(m2:children()) do
  1274. if v:IsA("Part") and v.Name == "pand" then
  1275. v.Transparency = 1
  1276. end
  1277. end
  1278.  
  1279.  
  1280. --Start neccessary functions here
  1281.  
  1282. function Tween(obj,props,time,easing,direction,repeats,backwards)
  1283. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  1284. local tween = game:service'TweenService':Create(obj, info, props)
  1285.  
  1286. tween:Play()
  1287. end
  1288.  
  1289. function Trace()
  1290. for _,v in next, Character:GetChildren() do
  1291. if(v:IsA'Part') and v ~= RootPart then
  1292. local trace = Instance.new("Part")
  1293. trace.Parent = workspace
  1294. trace.Size = v.Size
  1295. trace.Material = Enum.Material.Neon
  1296. trace.Color = maincol
  1297. trace.Transparency = .3
  1298. trace.Anchored = true
  1299. trace.CanCollide = false
  1300. trace.CFrame = v.CFrame
  1301. Tween(trace,{Transparency=1},.5)
  1302. game:GetService("Debris"):AddItem(trace, 1)
  1303. if v.Name == "Head" then
  1304. local mehs = Instance.new("CylinderMesh",trace)
  1305. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  1306. end
  1307. end
  1308. end
  1309. end
  1310.  
  1311.  
  1312. function ducks()
  1313. for i = 0, 3, 0.1 do
  1314. swait()
  1315. PlayAnimationFromTable({
  1316. 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),
  1317. 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),
  1318. 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),
  1319. 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),
  1320. 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),
  1321. 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),
  1322. }, .3, false)
  1323. end
  1324. for i = 1, 2 do
  1325. for i = 0, 1, 0.1 do
  1326. swait()
  1327. PlayAnimationFromTable({
  1328. 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),
  1329. 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),
  1330. 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),
  1331. 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),
  1332. 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),
  1333. 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),
  1334. }, .3, false)
  1335. end
  1336. for i = 0, 1, 0.1 do
  1337. swait()
  1338. PlayAnimationFromTable({
  1339. 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),
  1340. 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),
  1341. 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),
  1342. 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),
  1343. 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),
  1344. 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),
  1345. }, .3, false)
  1346. end
  1347. end
  1348. CFuncs.Sound.Create("270620358", Hat, 3, 1)
  1349. for i = 0, 3, 0.1 do
  1350. swait()
  1351. PlayAnimationFromTable({
  1352. 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),
  1353. 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),
  1354. 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),
  1355. 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),
  1356. 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),
  1357. 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),
  1358. }, .2, false)
  1359. end
  1360. qwek = Instance.new("Sound", Torso)
  1361. qwek.SoundId = "rbxassetid://271006579"
  1362. qwek.Looped = true
  1363. qwek.Volume = 5
  1364. qwek.Pitch = .8
  1365. qwek:Play()
  1366. qwek2 = Instance.new("Sound", Torso)
  1367. qwek2.SoundId = "rbxassetid://271006579"
  1368. qwek2.Looped = true
  1369. qwek2.Volume = 5
  1370. qwek2.Pitch = 1
  1371. qwek2:Play()
  1372. qwek3 = Instance.new("Sound", Torso)
  1373. qwek3.SoundId = "rbxassetid://271006579"
  1374. qwek3.Looped = true
  1375. qwek3.Volume = 5
  1376. qwek3.Pitch = 1.3
  1377. qwek3:Play()
  1378. for i = 0, 10, 0.1 do
  1379. swait()
  1380. PlayAnimationFromTable({
  1381. 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),
  1382. 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),
  1383. 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),
  1384. 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),
  1385. 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),
  1386. 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),
  1387. }, .3, false)
  1388. local duk=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright yellow","duk",Vector3.new(2, 2, 2))
  1389. 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))
  1390. duk.CFrame = Hat.CFrame
  1391. duk.CanCollide = false
  1392. duk.Velocity = Vector3.new(math.random(-20,20),math.random(-60,60),math.random(-20,20))
  1393. duk.Name = "duk"
  1394. table.insert(Effects, {duk,"Disappear",.01})
  1395. game:GetService("Debris"):AddItem(duk, 3)
  1396. moosh.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1397. Torso.Velocity=RootPart.CFrame.upVector*100
  1398. local con = duk.Touched:connect(function(hit)
  1399. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "duk" and hit ~= m then
  1400. MagnitudeDamage(duk, 5, 30, 30, 20, "Normal", " ", 1)
  1401. Effects.Sphere2.Create(BrickColor.new("Gold"), duk.CFrame, 1, 1, 1, 2, 2, 2, .05)
  1402. end
  1403. end)
  1404. end
  1405. qwek3:Destroy()
  1406. qwek2:Destroy()
  1407. qwek:Destroy()
  1408. end
  1409.  
  1410.  
  1411.  
  1412. function pocketpandora()
  1413. Humanoid.AutoRotate = true
  1414. local PocketPandora=CFuncs.Part.Create( workspace,Enum.Material.Plastic,0,1,"Medium stone grey","PocketPandora",Vector3.new(0.512000322, 0.652799785, 0.640000045))
  1415. 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))
  1416. local pand=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"Fossil","pand",Vector3.new(0.406399965, 0.419200003, 0.320000023))
  1417. 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))
  1418. 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))
  1419. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1420. 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))
  1421. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1422. 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))
  1423. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1424. 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))
  1425. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.448000014, 0.896000028, 0.448000014))
  1426. 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))
  1427. local pand=CFuncs.Part.Create( workspace,Enum.Material.SmoothPlastic,0,1.400709148669e-08,"Lily white","pand",Vector3.new(0.896000028, 0.896000028, 0.448000014))
  1428. 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))
  1429. local pand=CFuncs.Part.Create( workspace,Enum.Material.Fabric,0,1.400709148669e-08,"Institutional white","pand",Vector3.new(0.896000028, 0.448000014, 0.448000014))
  1430. 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))
  1431. CFuncs.Mesh.Create("SpecialMesh",pand,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.25, 1.25, 1.25))
  1432.  
  1433. for i = 0, 3, 0.1 do
  1434. swait()
  1435. PlayAnimationFromTable({
  1436. 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),
  1437. 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),
  1438. 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),
  1439. 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),
  1440. 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),
  1441. 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),
  1442. }, .3, false)
  1443. end
  1444. CFuncs.Sound.Create("525166232", pand, 10, 1.1)
  1445. for i = 0, 3, 0.1 do
  1446. swait()
  1447. PlayAnimationFromTable({
  1448. 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),
  1449. 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),
  1450. 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),
  1451. 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),
  1452. 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),
  1453. 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),
  1454. }, .3, false)
  1455. end
  1456. for i = 0, 2, 0.1 do
  1457. swait()
  1458. PlayAnimationFromTable({
  1459. 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),
  1460. 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),
  1461. 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),
  1462. 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),
  1463. 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),
  1464. 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),
  1465. }, .3, false)
  1466. end
  1467.  
  1468. for i = 0, .1, 0.1 do
  1469. swait()
  1470. PlayAnimationFromTable({
  1471. 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),
  1472. 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),
  1473. 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),
  1474. 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),
  1475. 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),
  1476. 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),
  1477. }, .3, false)
  1478. end
  1479. PocketPandoraWeld:Destroy()
  1480. CFuncs.Sound.Create("160718677", pand, 5, 1)
  1481. for _,v in pairs(workspace:children()) do
  1482. if v:IsA("Part") and v.Name == "PocketPandora" then
  1483. v.Anchored = false
  1484. v.CanCollide = true
  1485. v.Parent = workspace
  1486. v.CFrame = RootPart.CFrame * CFrame.new(2,5,-5)
  1487. v.Velocity=RootPart.CFrame.lookVector*200
  1488. local con = v.Touched:connect(function(hit)
  1489. if hit.Name ~= "Effect" and hit.Name ~= "pand" and hit ~= Character and hit.Name ~= "refpart" then
  1490. MagnitudeDamage(PocketPandora, 30, 100, 100, 50, "Normal", " ", 1)
  1491. Effects.Sphere2.Create(BrickColor.new("Smoky grey"), v.CFrame, .5, 2, .5, 3, 5, 3, .03)
  1492. Effects.Sphere2.Create(BrickColor.new(maincol), v.CFrame, .6, 3, .6, 4, 6, 4, .03)
  1493. CFuncs.Sound.Create("206049428", pand, 10, 1)
  1494. v:Destroy()
  1495. end
  1496. end)
  1497. end
  1498. end
  1499.  
  1500. for i = 0,5, 0.1 do
  1501. swait()
  1502. PlayAnimationFromTable({
  1503. 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),
  1504. 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),
  1505. 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),
  1506. 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),
  1507. 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),
  1508. 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),
  1509. }, .3, false)
  1510. end
  1511.  
  1512. end
  1513.  
  1514.  
  1515. function foryou()
  1516. Humanoid.AutoRotate = true
  1517.  
  1518. FHandle=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Institutional white","FHandle",Vector3.new(1, 2, 1))
  1519. 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))
  1520. 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))
  1521. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Dusty Rose","Plant",Vector3.new(2, 0.400000006, 2))
  1522. 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))
  1523. 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))
  1524. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Really red","Plant",Vector3.new(2, 0.400000006, 2))
  1525. 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))
  1526. 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))
  1527. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1528. 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))
  1529. 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))
  1530. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1531. 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))
  1532. 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))
  1533. fire=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,1,"Medium stone grey","fire",Vector3.new(1.4400003, 2.17999935, 2.24999976))
  1534. 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))
  1535. Plant=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Salmon","Plant",Vector3.new(2, 0.400000006, 2))
  1536. 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))
  1537. 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))
  1538. Test=CFuncs.Part.Create(m2,Enum.Material.Plastic,0,0,"Earth green","Test",Vector3.new(1, 1.20000005, 1))
  1539. 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))
  1540. 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))
  1541. CFuncs.Sound.Create("1030472543", Torso, 10, 1)
  1542. for i = 0, 5, 0.1 do
  1543. swait()
  1544. PlayAnimationFromTable({
  1545. 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),
  1546. 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),
  1547. 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),
  1548. 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),
  1549. 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),
  1550. 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),
  1551. }, .3, false)
  1552. end
  1553. for i = 0, 6, 0.1 do
  1554. swait()
  1555. PlayAnimationFromTable({
  1556. 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),
  1557. 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),
  1558. 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),
  1559. 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),
  1560. 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),
  1561. 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),
  1562. }, .3, false)
  1563. end
  1564. CFuncs.Sound.Create("490241055", fire, 10, 1)
  1565. local PE1 = Instance.new("ParticleEmitter",fire)
  1566. PE1.LightEmission = NumberSequence.new(0.2)
  1567. PE1.Size = NumberSequence.new(3)
  1568. PE1.Texture = "http://www.roblox.com/asset/?id=242461088"
  1569. PE1.Lifetime = NumberRange.new(.75)
  1570. PE1.Rate = 50.000
  1571. PE1.Transparency = NumberSequence.new(0.2)
  1572. PE1.LightEmission = NumberSequence.new(1)
  1573. PE1.Rotation = NumberRange.new(0)
  1574. PE1.Speed = NumberRange.new(.1)
  1575. PE1.RotSpeed = NumberRange.new(0)
  1576. PE1.ZOffset = .2
  1577. for i = 0, 5, 0.1 do
  1578. swait()
  1579. PlayAnimationFromTable({
  1580. 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),
  1581. 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),
  1582. 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),
  1583. 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),
  1584. 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),
  1585. 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),
  1586. }, .3, false)
  1587. end
  1588. CFuncs.Sound.Create("172324194", Torso, 10, 1)
  1589. for i = 0, 6, 0.1 do
  1590. swait()
  1591. PlayAnimationFromTable({
  1592. 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),
  1593. 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),
  1594. 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),
  1595. 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),
  1596. 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),
  1597. 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),
  1598. }, .4, false)
  1599. end
  1600. FHandleWeld:Destroy()
  1601. for _,v in pairs(m2:children()) do
  1602. if v:IsA("Part") then
  1603. v.Parent = workspace
  1604. v.CanCollide = true
  1605. v.Velocity=RootPart.CFrame.upVector*0
  1606. table.insert(Effects, {v,"Disappear",.008})
  1607. game:GetService("Debris"):AddItem(v, 5)
  1608. end
  1609. end
  1610. end
  1611.  
  1612.  
  1613.  
  1614. function topwat()
  1615. Attack = true
  1616. Humanoid.WalkSpeed = 0
  1617. Humanoid.JumpPower = 0
  1618. Humanoid.AutoRotate = false
  1619.  
  1620. for i = 0, 8, 0.1 do
  1621. swait()
  1622. PlayAnimationFromTable({
  1623. 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),
  1624. 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),
  1625. 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),
  1626. 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),
  1627. 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),
  1628. 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),
  1629. }, .1, false)
  1630. end
  1631.  
  1632.  
  1633. local x = math.random(1,3)
  1634. if x == 1 then
  1635. pocketpandora()
  1636. elseif x == 2 then
  1637. ducks()
  1638. elseif x == 3 then
  1639. foryou()
  1640. end
  1641.  
  1642. Humanoid.WalkSpeed = 16
  1643. Humanoid.JumpPower = 50
  1644. Humanoid.AutoRotate = true
  1645. Attack = false
  1646. end
  1647.  
  1648. function hatsoff()
  1649. Attack = true
  1650. Humanoid.WalkSpeed = 0
  1651. Humanoid.JumpPower = 0
  1652. CFuncs.Sound.Create("1578720743", Torso, 5, 1)
  1653. 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)
  1654. for i = 0, 8, 0.1 do
  1655. swait()
  1656. PlayAnimationFromTable({
  1657. 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),
  1658. 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),
  1659. 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),
  1660. 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),
  1661. 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),
  1662. 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),
  1663. }, .2, false)
  1664. end
  1665. for i = 0, .5, 0.1 do
  1666. swait()
  1667. PlayAnimationFromTable({
  1668. 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),
  1669. 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),
  1670. 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),
  1671. 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),
  1672. 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),
  1673. 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),
  1674. }, .1, false)
  1675. end
  1676. Humanoid.WalkSpeed = 16
  1677. Humanoid.JumpPower = 50
  1678. Attack = false
  1679. end
  1680.  
  1681.  
  1682.  
  1683. function overthere()
  1684. Attack = true
  1685. local xy = 2
  1686. local hitt = Mouse.hit
  1687. Humanoid.WalkSpeed = 0
  1688. Humanoid.JumpPower = 0
  1689. CFuncs.Sound.Create("538558581", Hat, 5, 1)
  1690. for i = 0, 5, 0.1 do
  1691. swait()
  1692. xy = xy + .15
  1693. PlayAnimationFromTable({
  1694. 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),
  1695. 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),
  1696. 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),
  1697. 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),
  1698. 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),
  1699. 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),
  1700. }, .1, false)
  1701. meh.Scale = Vector3.new(xy, xy, xy)
  1702. end
  1703. CFuncs.Sound.Create("144507916", Torso, 5, 1)
  1704. Effects.Wave.Create(BrickColor.new("White"), Hat.CFrame*CFrame.new(0,-20,0), 4, 1, 4, 4, 1, 4, .05)
  1705. for i = 0, 1, 0.1 do
  1706. swait()
  1707. PlayAnimationFromTable({
  1708. 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),
  1709. 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),
  1710. 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),
  1711. 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),
  1712. 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),
  1713. 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),
  1714. }, .5, false)
  1715. end
  1716. RootPart.CFrame = hitt * CFrame.new(0,6,0)
  1717. for i = 0, 2, 0.1 do
  1718. swait()
  1719. PlayAnimationFromTable({
  1720. 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),
  1721. 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),
  1722. 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),
  1723. 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),
  1724. 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),
  1725. 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),
  1726. }, .3, false)
  1727. end
  1728. for i = 0, 1.5, 0.1 do
  1729. swait()
  1730. xy = xy - .5
  1731. PlayAnimationFromTable({
  1732. 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),
  1733. 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),
  1734. 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))),
  1735. 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))),
  1736. 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),
  1737. 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),
  1738. }, .1, false)
  1739. meh.Scale = Vector3.new(xy, xy, xy)
  1740. end
  1741. meh.Scale = Vector3.new(2, 2, 2)
  1742. Humanoid.WalkSpeed = 16
  1743. Humanoid.JumpPower = 50
  1744. Attack = false
  1745. end
  1746.  
  1747. function card()
  1748. Attack = true
  1749. Humanoid.WalkSpeed = 0
  1750. Humanoid.JumpPower = 0
  1751. for i = 0, 5, 0.1 do
  1752. swait()
  1753. PlayAnimationFromTable({
  1754. 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),
  1755. 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),
  1756. 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),
  1757. 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),
  1758. 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),
  1759. 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),
  1760. }, .2, false)
  1761. end
  1762. MysteryCard=CFuncs.Part.Create(workspace,Enum.Material.Plastic,0,0,"White","MysteryCard",Vector3.new(0.880001426, 0.0500000007, 1.42000163))
  1763. 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))
  1764. local dec = Instance.new("Decal",MysteryCard)
  1765. dec.Texture = "rbxassetid://8644107"
  1766. dec.Face = "Bottom"
  1767. local e = math.random(1,4)
  1768. if e == 1 then
  1769. local dec2 = Instance.new("Decal",MysteryCard)
  1770. dec2.Texture = "rbxassetid://173448236"
  1771. dec2.Face = "Top"
  1772. elseif e == 2 then
  1773. local dec2 = Instance.new("Decal",MysteryCard)
  1774. dec2.Texture = "rbxassetid://1167119856"
  1775. dec2.Face = "Top"
  1776. CFuncs.Sound.Create("976606790", Torso, 3, 1)
  1777. elseif e == 3 then
  1778. local dec2 = Instance.new("Decal",MysteryCard)
  1779. dec2.Texture = "rbxassetid://342673258"
  1780. dec2.Face = "Top"
  1781. elseif e == 100 then
  1782. local dec2 = Instance.new("Decal",MysteryCard)
  1783. dec2.Texture = "rbxassetid://1403304829"
  1784. dec2.Face = "Top"
  1785. elseif e == 4 then
  1786. local dec2 = Instance.new("Decal",MysteryCard)
  1787. dec2.Texture = "rbxassetid://358190487"
  1788. dec2.Face = "Top"
  1789. end
  1790. for i = 0, .1, 0.1 do
  1791. swait()
  1792. PlayAnimationFromTable({
  1793. 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),
  1794. 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),
  1795. 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),
  1796. 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),
  1797. 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),
  1798. 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),
  1799. }, .1, false)
  1800. end
  1801. for i = 0, 5, 0.1 do
  1802. swait()
  1803. PlayAnimationFromTable({
  1804. 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),
  1805. 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),
  1806. 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),
  1807. 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),
  1808. 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),
  1809. 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),
  1810. }, .2, false)
  1811. end
  1812.  
  1813. for i = 0, 3, 0.1 do
  1814. swait()
  1815. PlayAnimationFromTable({
  1816. 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),
  1817. 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),
  1818. 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),
  1819. 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),
  1820. 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),
  1821. 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),
  1822. }, .2, false)
  1823. end
  1824. if e == 1 then
  1825. MagnitudeDamage(Torso, 70, 20, 20, 0, "Seizure", " ", 1)
  1826. Effects.Sphere2.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1827. Effects.InnerSphere.Create(BrickColor.new("Eggplant"), MysteryCard.CFrame, 100, 2, .01)
  1828. CFuncs.Sound.Create("1751051242", Torso, 5, 1)
  1829. elseif e == 2 then
  1830. MagnitudeDamage(Torso, 70, 10, 10, 0, "Freeze", " ", 1)
  1831. Effects.Sphere2.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 2, 2, 2, 2, 2, 2, .01)
  1832. Effects.Sphere1.Create(BrickColor.new("Baby blue"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1833. elseif e == 3 then
  1834. CFuncs.Sound.Create("157506631", Torso, 5, 1)
  1835. for i = 1,5 do
  1836. Effects.InnerSphere.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 100, 2, .01)
  1837. wait(.4)
  1838. end
  1839. wait(.8)
  1840. MagnitudeDamage(Torso, 70, 500, 500, 500, "Normal", " ", 1)
  1841. CFuncs.Sound.Create("1543847134", Torso, 5, 1)
  1842. Effects.Sphere2.Create(BrickColor.new("Crimson"), MysteryCard.CFrame, 2, 2, 2, 13, 13, 13, .01)
  1843. Effects.Sphere1.Create(BrickColor.new("Really red"), MysteryCard.CFrame, 1, 1, 1, 12, 12, 12, .01)
  1844. elseif e == 100 then
  1845. MagnitudeDamage(Torso, 70, 5, 5, 0, "Float", " ", 1)
  1846. Effects.Sphere2.Create(BrickColor.new("White"), MysteryCard.CFrame, 1, 1, 1, 1, 1, 1, .01)
  1847. elseif e == 4 then
  1848. MagnitudeDamage(Torso, 70, 30, 30, 0, "Paralyze", " ", 1)
  1849. Effects.Sphere2.Create(BrickColor.new("Gold"), MysteryCard.CFrame, 1, 1, 1, 8, 8, 8, .05)
  1850. Effects.InnerSphere.Create(BrickColor.new("White"), MysteryCard.CFrame, 100, 2, .01)
  1851. end
  1852. table.insert(Effects, {MysteryCard,"Disappear",.01})
  1853. for i = 0, 5, 0.1 do
  1854. swait()
  1855. PlayAnimationFromTable({
  1856. 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),
  1857. 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),
  1858. 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),
  1859. 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),
  1860. 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),
  1861. 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),
  1862. }, .2, false)
  1863. end
  1864. Humanoid.WalkSpeed = 16
  1865. Humanoid.JumpPower = 50
  1866. Attack = false
  1867. MysteryCard:Destroy()
  1868. MysteryCardWeld:Destroy()
  1869. end
  1870.  
  1871.  
  1872.  
  1873.  
  1874. function unanchor()
  1875. g = Character:GetChildren()
  1876. for i = 1, #g do
  1877. if g[i].ClassName == "Part" then
  1878. g[i].Anchored = false
  1879. end
  1880. end
  1881. end
  1882.  
  1883.  
  1884. Mouse.KeyDown:connect(function(Key)
  1885. Key = Key:lower()
  1886. if Attack == false and Key == 'z' and Anim == "Idle" then
  1887. overthere()
  1888. elseif Attack == false and Key == 'x' and Anim == "Idle" then
  1889. topwat()
  1890. elseif Attack == false and Key == 'c' then
  1891. card()
  1892. elseif Attack == false and Key == 'v' then
  1893. print("too lazy to add this move lul")
  1894. elseif Attack == false and Key == 't' and Anim == "Idle" then
  1895. hatsoff()
  1896. end
  1897. end)
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903. while true do
  1904. swait()
  1905. unanchor()
  1906. for i, v in pairs(Character:GetChildren()) do
  1907. if v:IsA("Part") then
  1908. v.Material = "SmoothPlastic"
  1909. elseif v:IsA("Accessory") then
  1910. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1911. end
  1912. end
  1913. for i, v in pairs(Character:GetChildren()) do
  1914. if v:IsA'Model' then
  1915. for _, c in pairs(v:GetChildren()) do
  1916. if c:IsA'Part' then
  1917. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1918. end
  1919. end
  1920. end
  1921. end
  1922. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1923. Velocity = RootPart.Velocity.y
  1924. Sine = Sine + Change
  1925. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 7, Character)
  1926. if RootPart.Velocity.y > 1 and hit == nil then
  1927. Anim = "Jump"
  1928. if Attack == false then
  1929. Change = 1
  1930. PlayAnimationFromTable({
  1931. 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),
  1932. 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),
  1933. 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),
  1934. 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),
  1935. 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),
  1936. 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),
  1937. }, .04, false)
  1938. end
  1939. elseif RootPart.Velocity.y < -1 and hit == nil then
  1940. Anim = "Fall"
  1941. if Attack == false then
  1942. Change = 1
  1943. PlayAnimationFromTable({
  1944. 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),
  1945. 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),
  1946. 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),
  1947. 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),
  1948. 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),
  1949. 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),
  1950. }, .04, false)
  1951. end
  1952. elseif TorsoVelocity < 1 and hit ~= nil then
  1953. Anim = "Idle"
  1954. if Attack == false then
  1955. Change = 1
  1956. PlayAnimationFromTable({
  1957. 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),
  1958. 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),
  1959. 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))),
  1960. 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))),
  1961. 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),
  1962. 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),
  1963. }, .1, false)
  1964. end
  1965. elseif TorsoVelocity > 2 and hit ~= nil then
  1966. Anim = "Walk"
  1967. if Attack == false then
  1968. PlayAnimationFromTable({
  1969. 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)),
  1970. 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),
  1971. 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))),
  1972. 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))),
  1973. 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),
  1974. 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),
  1975. }, .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
  1976. end
  1977. end
  1978. if #Effects > 0 then
  1979. for e = 1, #Effects do
  1980. if Effects[e] ~= nil then
  1981. local Thing = Effects[e]
  1982. if Thing ~= nil then
  1983. local Part = Thing[1]
  1984. local Mode = Thing[2]
  1985. local Delay = Thing[3]
  1986. local IncX = Thing[4]
  1987. local IncY = Thing[5]
  1988. if Thing[1].Transparency <= 1 then
  1989. if Thing[2] == "Block1" then
  1990. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1991. Mesh = Thing[7]
  1992. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1993. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1994. elseif Thing[2] == "Ice" then
  1995. if Thing[6] <= Thing[5] then
  1996. Thing[6] = Thing[6] + .05
  1997. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1998. else
  1999. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2000. end
  2001. elseif Thing[2] == "Shatter" then
  2002. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2003. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2004. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2005. Thing[6] = Thing[6] + Thing[5]
  2006. elseif Thing[2] == "Block2" then
  2007. Thing[1].CFrame = Thing[1].CFrame
  2008. Mesh = Thing[7]
  2009. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2010. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2011. elseif Thing[2] == "Block3" then
  2012. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2013. Mesh = Thing[7]
  2014. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2015. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2016. elseif Thing[2] == "Block4" then
  2017. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  2018. Mesh = Thing[7]
  2019. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2020. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2021. elseif Thing[2] == "Block2Fire" then
  2022. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2023. Mesh = Thing[7]
  2024. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2025. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2026. if Thing[1].Transparency >= .3 then
  2027. Thing[1].BrickColor = BrickColor.new("Bright red")
  2028. else
  2029. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  2030. end
  2031. elseif Thing[2] == "Cylinder" then
  2032. Mesh = Thing[7]
  2033. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2034. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2035. elseif Thing[2] == "Blood" then
  2036. Mesh = Thing[7]
  2037. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  2038. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2039. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2040. elseif Thing[2] == "Elec" then
  2041. Mesh = Thing[10]
  2042. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2043. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2044. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  2045. Thing[1].Rotation = Vector3.new(0, 0, 0)
  2046. elseif Thing[2] == "Disappear" then
  2047. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2048. end
  2049. else
  2050. Part.Parent = nil
  2051. table.remove(Effects, e)
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057. if playlist.IsPlaying == false then
  2058. playlist:Destroy()
  2059. playlist=Instance.new("Sound", Torso)
  2060. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  2061. playlist.Volume = 3
  2062. playlist.Looped = false
  2063. playlist.Name = "aa"
  2064. warn(playlist.SoundId)
  2065. playlist:Play()
  2066. end
  2067. playlist.Volume = 3
  2068. playlist.Looped = false
  2069. --soundbork(workspace)
  2070. if true then
  2071. Humanoid.MaxHealth = 1e100
  2072. Humanoid.Health = 1e100
  2073. Humanoid.Name = math.random()*100
  2074. end
  2075. end
Add Comment
Please, Sign In to add comment