Advertisement
Guest User

Timeto have Fun :3

a guest
Nov 25th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.21 KB | None | 0 0
  1. p = game.Players.LocalPlayer
  2. char = p.Character
  3. torso = char.Torso
  4. neck = char.Torso.Neck
  5. hum = char.Humanoid
  6. hum.MaxHealth = 75000
  7. wait()
  8. hum.Health =hum.MaxHealth
  9. char.Head.face.Texture = "rbxassetid://419007616"
  10.  
  11. local s = Instance.new("Sound")
  12. s.Name = "BGMusic"
  13. s.SoundId = "http://www.roblox.com/asset/?id=143382469"
  14. s.Pitch = 1
  15. s.Volume = 7
  16. s.Looped = true
  17. s.archivable = false
  18. s.Parent = game.Workspace
  19. wait(0.1)
  20. s:play()
  21.  
  22. p = game.Players.LocalPlayer
  23. char = p.Character
  24. torso = char.Torso
  25. neck = char.Torso.Neck
  26. hum = char.Humanoid
  27.  
  28. CV="Maroon"
  29.  
  30. local txt = Instance.new("BillboardGui", char)
  31. txt.Adornee = char .Head
  32. txt.Name = "_status"
  33. txt.Size = UDim2.new(2, 0, 1.2, 0)
  34. txt.StudsOffset = Vector3.new(-9, 8, 0)
  35. local text = Instance.new("TextLabel", txt)
  36. text.Size = UDim2.new(10, 0, 7, 0)
  37. text.FontSize = "Size24"
  38. text.TextScaled = true
  39. text.TextTransparency = 0
  40. text.BackgroundTransparency = 1
  41. text.TextTransparency = 0
  42. text.TextStrokeTransparency = 0
  43. text.Font = "SciFi"
  44. text.TextStrokeColor3 = BrickColor.Yellow().Color
  45.  
  46. v=Instance.new("Part")
  47. v.Name = "ColorBrick"
  48. v.Parent=p.Character
  49. v.FormFactor="Symmetric"
  50. v.Anchored=true
  51. v.CanCollide=false
  52. v.BottomSurface="Smooth"
  53. v.TopSurface="Smooth"
  54. v.Size=Vector3.new(10,5,3)
  55. v.Transparency=1
  56. v.CFrame=char.Torso.CFrame
  57. v.BrickColor=BrickColor.new(CV)
  58. v.Transparency=1
  59. text.TextColor3 = BrickColor.Black().Color
  60. v.Shape="Block"
  61. text.Text = ""
  62.  
  63.  
  64. --Op thing I found one time
  65. local p = game.Players.LocalPlayer
  66. local char = p.Character
  67. local mouse = p:GetMouse()
  68. local larm = char["Left Arm"]
  69. local rarm = char["Right Arm"]
  70. local lleg = char["Left Leg"]
  71. local rleg = char["Right Leg"]
  72. local hed = char.Head
  73. local torso = char.Torso
  74. local hum = char.Humanoid
  75. local cam = game.Workspace.CurrentCamera
  76. local root = char.HumanoidRootPart
  77. local deb = false
  78. local CanAttack = true
  79. local shot = 0
  80. local animpose = "Idle"
  81. local lastanimpose = "Idle"
  82. local stanceToggle = "Normal"
  83. local l = game:GetService("Lighting")
  84. local rs = game:GetService("RunService").RenderStepped
  85. math.randomseed(os.time())
  86. hum.MaxHealth = 9001
  87. wait(1)
  88. hum.Health = 9001
  89.  
  90. for i,v in pairs (hed:GetChildren()) do
  91.     if v:IsA("Sound") then
  92.         v:Destroy()
  93.     end
  94. end
  95. --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
  96. --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
  97. ----------------------------------------------------
  98. Debounces = {
  99. CanAttack = true;
  100. CanJoke = true;
  101. NoIdl = false;
  102. Slashing = false;
  103. Slashed = false;
  104. Slapping = false;
  105. Slapped = false;
  106. ks = false;
  107. }
  108.  
  109. local Touche = {char.Name, }
  110. ----------------------------------------------------
  111. function HasntTouched(plrname)
  112. local ret = true
  113. for _, v in pairs(Touche) do
  114. if v == plrname then
  115. ret = false
  116. end
  117. end
  118. return ret
  119. end
  120. ----------------------------------------------------
  121. function weld5(part0, part1, c0, c1)
  122.     weeld=Instance.new("Weld", part0)
  123.     weeld.Part0=part0
  124.     weeld.Part1=part1
  125.     weeld.C0=c0
  126.     weeld.C1=c1
  127.     return weeld
  128. end
  129. ----------------------------------------------------
  130. mod=Instance.new('Model',char)
  131.  
  132. function Burst()
  133.     part=Instance.new('Part',mod)
  134.     part.Anchored=true
  135.     part.CanCollide=false
  136.     part.FormFactor='Custom'
  137.     part.Size=Vector3.new(.2,.2,.2)
  138.     part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  139.     part.Transparency=.7
  140.     part.BrickColor=BrickColor.new('Really black')
  141.     mesh=Instance.new('SpecialMesh',part)
  142.     mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  143.     mesh.Scale=Vector3.new(10,5,10)
  144.     part2=part:clone()
  145.     part2.Parent=mod
  146.     part2.BrickColor=BrickColor.new('New Yeller')
  147.     mesh2=mesh:clone()
  148.     mesh2.Parent=part2
  149.     mesh2.Scale=Vector3.new(5,2.5,5)
  150.     coroutine.resume(coroutine.create(function()
  151.         for i=0,1,0.1 do
  152.             wait()
  153.             part.CFrame=part.CFrame
  154.             part.Transparency=i
  155.             mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  156.             part2.CFrame=part2.CFrame
  157.             part2.Transparency=i
  158.             mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  159.             end
  160.         part.Parent=nil
  161.         part2.Parent=nil
  162.     end))
  163. end
  164. ----------------------------------------------------
  165. mod4 = Instance.new("Model",char)
  166.  
  167. ptez = {0.7, 0.8, 0.9, 1}
  168.  
  169. function FindNearestTorso(Position,Distance,SinglePlayer)
  170.     if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  171.         local List = {}
  172.         for i,v in pairs(workspace:GetChildren())do
  173.             if v:IsA("Model")then
  174.                 if v:findFirstChild("Torso")then
  175.                     if v ~= char then
  176.                         if(v.Torso.Position -Position).magnitude <= Distance then
  177.                             table.insert(List,v)
  178.                         end
  179.                     end
  180.                 end
  181.             end
  182.         end
  183.     return List
  184. end
  185.  
  186. function Slam()
  187.     part=Instance.new('Part',mod4)
  188.     part.Anchored=true
  189.     part.CanCollide=false
  190.     part.FormFactor='Custom'
  191.     part.Size=Vector3.new(.2,.2,.2)
  192.     part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  193.     part.Transparency=.7
  194.     part.BrickColor=BrickColor.new('Really black')
  195.     mesh=Instance.new('SpecialMesh',part)
  196.     mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  197.     mesh.Scale=Vector3.new(3,3,3)
  198.     part2=Instance.new('Part',mod4)
  199.     part2.Anchored=true
  200.     part2.CanCollide=false
  201.     part2.FormFactor='Custom'
  202.     part2.Size=Vector3.new(.2,.2,.2)
  203.     part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  204.     part2.Transparency=.7
  205.     part2.BrickColor=BrickColor.new('New Yeller')
  206.     mesh2=Instance.new('SpecialMesh',part2)
  207.     mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  208.     mesh2.Scale=Vector3.new(3,1.5,3)
  209.     x = Instance.new("Sound",char)
  210.     x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  211.     x.Pitch = ptez[math.random(1,#ptez)]
  212.     x.Volume = 1
  213.     wait(.1)
  214.     x1 = Instance.new("Sound",char)
  215.     x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  216.     x1.Pitch = ptez[math.random(1,#ptez)]
  217.     x1.Volume = 1
  218.     wait(.1)
  219.     x:Play()
  220.     x1:Play()
  221.     for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  222.         if v:FindFirstChild('Humanoid') then
  223.             v.Humanoid:TakeDamage(math.random(45,50))
  224.         end
  225.     end
  226.     coroutine.resume(coroutine.create(function()
  227.         for i=0,0.62,0.13 do
  228.             wait()
  229.             part.CFrame=part.CFrame
  230.             part.Transparency=i
  231.             mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  232.             part2.CFrame=part2.CFrame
  233.             part2.Transparency=i
  234.             mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  235.             end
  236.         part.Parent=nil
  237.         part2.Parent=nil
  238.         x:Destroy()
  239.     end))
  240. end
  241. ----------------------------------------------------
  242. GroundWave = function()
  243.     local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  244.     local Colors = {"New Yeller", "Really black"}
  245.         local wave = Instance.new("Part", torso)
  246.         wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  247.         wave.Anchored = true
  248.         wave.CanCollide = false
  249.         wave.Locked = true
  250.         wave.Size = Vector3.new(1, 1, 1)
  251.         wave.TopSurface = "Smooth"
  252.         wave.BottomSurface = "Smooth"
  253.         wave.Transparency = 0.35
  254.         wave.CFrame = HandCF
  255.         wm = Instance.new("SpecialMesh", wave)
  256.         wm.MeshId = "rbxassetid://3270017"
  257.         coroutine.wrap(function()
  258.         for i = 1, 14, 1 do
  259.         wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  260.         wave.Size = wm.Scale
  261.         wave.CFrame = HandCF
  262.         wave.Transparency = i/14
  263.         wait()
  264.         end
  265.         wait()
  266.         wave:Destroy()
  267.     end)()
  268. end
  269. ----------------------------------------------------
  270. Magik = function()
  271.     Spawn(function()
  272.         local function lerp(a,b,c)
  273.             return a+(b-a)*c   
  274.         end
  275.         local function rndRange(rng)
  276.             return math.random(-rng*1000,rng*1000)/1000
  277.         end
  278.         local magik = Instance.new("Part", larm)
  279.         local Colors = {"New Yeller", "Really black"}
  280.         magik.Anchored = true
  281.         magik.Locked = true
  282.         magik.FormFactor = "Custom"
  283.         magik.Size = Vector3.new(1.2, 1.2, 1.2)
  284.         magik.TopSurface = "Smooth"
  285.         magik.BottomSurface = "Smooth"
  286.         magik.Transparency = 0
  287.         magik.CanCollide = false
  288.         magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  289.         local mr = math.rad
  290.         local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  291.         local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  292.         magik.CFrame = cf
  293.         for i = 0, 1, .05 do
  294.             local newTrans = lerp(0.5, 1, i)
  295.             local ns = lerp(1,1.2,i)
  296.             magik.Transparency = newTrans
  297.             magik.Size = Vector3.new(ns,ns,ns)
  298.             magik.CFrame = cf
  299.             rs:wait()
  300.         end
  301.         magik:Destroy()
  302.         wait()
  303.     end)
  304. end
  305. ----------------------------------------------------
  306. Magik2 = function()
  307.     Spawn(function()
  308.         if stanceToggle == "Melee" then
  309.         local function lerp(a,b,c)
  310.             return a+(b-a)*c   
  311.         end
  312.         local function rndRange(rng)
  313.             return math.random(-rng*1000,rng*1000)/1000
  314.         end
  315.         local magik2 = Instance.new("Part", rarm)
  316.         local Colors = {"New Yeller", "Really black"}
  317.         magik2.Anchored = true
  318.         magik2.Locked = true
  319.         magik2.FormFactor = "Custom"
  320.         magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  321.         magik2.TopSurface = "Smooth"
  322.         magik2.BottomSurface = "Smooth"
  323.         magik2.Transparency = 0
  324.         magik2.CanCollide = false
  325.         magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  326.         local mr = math.rad
  327.         local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  328.         local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  329.         magik2.CFrame = cf
  330.         for i = 0, 1, .05 do
  331.             local newTrans = lerp(0.5, 1, i)
  332.             local ns = lerp(1,1.2,i)
  333.             magik2.Transparency = newTrans
  334.             magik2.Size = Vector3.new(ns,ns,ns)
  335.             magik2.CFrame = cf
  336.             rs:wait()
  337.         end
  338.         magik2:Destroy()
  339.         elseif stanceToggle ~= "Melee" then
  340.         wait()
  341.         end
  342.     end)
  343. end
  344. ----------------------------------------------------
  345. function lerp(a, b, t) -- Linear interpolation
  346.     return a + (b - a)*t
  347. end
  348.  
  349. function slerp(a, b, t) --Spherical interpolation
  350.     dot = a:Dot(b)
  351.     if dot > 0.99999 or dot < -0.99999 then
  352.         return t <= 0.5 and a or b
  353.     else
  354.         r = math.acos(dot)
  355.         return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  356.     end
  357. end
  358.  
  359. function matrixInterpolate(a, b, t)
  360.     local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  361.     local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  362.     local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  363.     local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
  364.     local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
  365.     local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
  366.     local t = v1:Dot(v2)
  367.     if not (t < 0 or t == 0 or t > 0) then  -- Failsafe
  368.         return CFrame.new()
  369.     end
  370.     return CFrame.new(
  371.     v0.x, v0.y, v0.z,
  372.     v1.x, v1.y, v1.z,
  373.     v2.x, v2.y, v2.z,
  374.     v3.x, v3.y, v3.z)
  375. end
  376. ----------------------------------------------------
  377. function genWeld(a,b)
  378.     local w = Instance.new("Weld",a)
  379.     w.Part0 = a
  380.     w.Part1 = b
  381.     return w
  382. end
  383. function weld(a, b)
  384.     local weld = Instance.new("Weld")
  385.     weld.Name = "W"
  386.     weld.Part0 = a
  387.     weld.Part1 = b
  388.     weld.C0 = a.CFrame:inverse() * b.CFrame
  389.     weld.Parent = a
  390.     return weld;
  391. end
  392. ----------------------------------------------------
  393. function Lerp(c1,c2,al)
  394. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  395. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  396. for i,v in pairs(com1) do
  397. com1[i] = v+(com2[i]-v)*al
  398. end
  399. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  400. end
  401. ----------------------------------------------------
  402. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  403. local wld = Instance.new("Weld", wp1)
  404. wld.Part0 = wp0
  405. wld.Part1 = wp1
  406. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  407. end
  408. ----------------------------------------------------
  409. newWeld(torso, larm, -1.5, 0.5, 0)
  410. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  411. newWeld(torso, rarm, 1.5, 0.5, 0)
  412. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  413. newWeld(torso, hed, 0, 1.5, 0)
  414. newWeld(torso, lleg, -0.5, -1, 0)
  415. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  416. newWeld(torso, rleg, 0.5, -1, 0)
  417. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  418. newWeld(root, torso, 0, -1, 0)
  419. torso.Weld.C1 = CFrame.new(0, -1, 0)
  420. ----------------------------------------------------
  421. --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916
  422. z = Instance.new("Sound",char) --music
  423. z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)]
  424. z.Looped = true
  425. z.Volume = 1
  426. z.Pitch = .72
  427. wait(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement