Advertisement
tomonaoboys

God of memes?

Aug 20th, 2017
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.28 KB | None | 0 0
  1. --God of Memes?
  2. Ghost=true
  3. Players=game:FindFirstChildOfClass("Players")
  4. Lighting=game:FindFirstChildOfClass("Lighting")
  5. PL=Players.LocalPlayer
  6. wait(1)PC=PL.Character Mouse=PL:GetMouse()Targeted=nil Phm=PC:FindFirstChildOfClass("Humanoid")
  7. --------------------------------------------------
  8. SkipIntro=true
  9. STOPSUCKSPLZ=false
  10. local c=PC:GetChildren()chaos=false
  11. for i=1,#c do
  12.     if c[i]:IsA("Accessory")then
  13.         c[i]:Destroy()
  14.     elseif c[i]:IsA("Hat")then
  15.         c[i]:Destroy()
  16.     elseif c[i]:IsA("Shirt")then
  17.         c[i]:Destroy()
  18.     elseif c[i]:IsA("Pants")then
  19.         c[i]:Destroy()
  20.     elseif c[i]:IsA("Sound")then
  21.         c[i]:Destroy()
  22.     elseif c[i]:IsA("BillboardGui")then
  23.         c[i]:Destroy()
  24.     end
  25.     if c[i]:IsA("Part")then c[i].Color=Color3.new(0,0,0)c[i].Transparency=1 c[i].Material="SmoothPlastic" end
  26.     if c[i]:IsA("Part")and c[i].Name~="Head"and c[i]:FindFirstChild("_#a")==nil then local box=Instance.new("SelectionBox",c[i])box.Adornee=c[i]box.LineThickness=.025 box.Color3=Color3.new(0,255,255)box.Name="_#a"box.Transparency=1 end
  27. end
  28. if PL:FindFirstChild("Sound")~=nil then PL:FindFirstChild("Sound"):Destroy()end local c=workspace.CurrentCamera:GetChildren()for i=1,#c do if c[i]:IsA("Model")then c[i]:Destroy()end end
  29. MLGIMAGE1="rbxassetid://188806688"MLGIMAGE2="rbxassetid://229077287"MLGIMAGE3="rbxassetid://156711650"
  30. local music2={}music=true
  31. --[[music2[1]="rbxassetid://805952765"music2[2]="rbxassetid://177080835"music2[3]="rbxassetid://906919949"music2[4]="rbxassetid://164147183"music2[5]="rbxassetid://150794704"
  32. music2[6]="rbxassetid://182411115"music2[7]="rbxassetid://260584729"music2[8]="rbxassetid://272138840"music2[9]="rbxassetid://481998828"music2[10]="rbxassetid://217976249"
  33. music2[11]="rbxassetid://250974269"]]
  34. music2[1]="faq"
  35. local musicv=3
  36. sounds={}
  37. sounds[1]="rbxassetid://168892708"sounds[2]="rbxassetid://130776150"
  38. PC.Archivable=true PL.Character.Parent=workspace.CurrentCamera if PC:FindFirstChild("Body Colors")~=nil then bc=PC:FindFirstChild("Body Colors")bc.HeadColor=BrickColor.new(0,0,0)bc.TorsoColor=BrickColor.new(0,0,0)bc.LeftLegColor=BrickColor.new(0,0,0)bc.RightLegColor=BrickColor.new(0,0,0)bc.LeftArmColor=BrickColor.new(0,0,0)bc.RightArmColor=BrickColor.new(0,0,0)end
  39. local PMusic=Instance.new("Sound",PL)PMusic.Looped=true PMusic.SoundId="rbxassetid://391856224"PMusic.Volume=musicv PMusic:Play()--def 4
  40. local cbb=Instance.new("BillboardGui",PC.Torso)cbb.AlwaysOnTop=true cbb.Adornee=PC.Torso cbb.Size=UDim2.new(1,0,1,0)cbb.StudsOffsetWorldSpace=Vector3.new(0,4,0)
  41. local ctxt=Instance.new("TextLabel",cbb)ctxt.Size=UDim2.new(1,0,1,0)ctxt.BackgroundTransparency=1 ctxt.BorderSizePixel=0 ctxt.Text=""ctxt.TextColor3=Color3.new(1,1,1)ctxt.TextStrokeTransparency=0 ctxt.TextSize=25 ctxt.Font="Cartoon"
  42. Phm.NameDisplayDistance=0
  43. function zExplode(Part,EVisible,count,Size)
  44.     for i=1,count+1 do
  45.     local BOOM = Instance.new("Explosion", workspace)BOOM.Visible=EVisible
  46.     BOOM.Position = Part.Position
  47.             BOOM.BlastPressure = 10000
  48.             BOOM.BlastRadius = Size
  49.         BOOM.Hit:connect(function(Object)
  50.             if true then
  51.                 if Object:IsA("BasePart") and Object.Name ~= "Base" and Object.Name ~= "Baseplate" and Object.Name~="_a"and Object.Name ~= "Bomb" and Object.Name ~= "Nuke" then
  52.                     local child=game.Players:GetChildren()for i=1,#child do if Object.Parent~=nil then if tostring(child[i])==tostring(Object.Parent)then if tostring(child[i])~=tostring(PL)then game.Players:FindFirstChild(tostring(child[i])).Character.Parent=workspace game.Players:FindFirstChild(tostring(child[i])).Character=nil end end end end
  53.                     if tostring(Object.Parent)~=tostring(PL)then           
  54.                     if Object:IsA("Part")then Object.Material="Neon"Object.Color=Color3.new(math.random(2)-1,math.random(2)-1,math.random(2)-1)Object.Transparency=.5
  55.                     end
  56.                         Object:BreakJoints()
  57.                         Object.Anchored = false
  58.                         Object.Parent=workspace
  59.                     end
  60.                     end
  61.                 end
  62.         end)
  63.     end
  64. end
  65. function createFrigidSpinner(chrg)
  66.     local frig=Instance.new("Part")frig.Size=Vector3.new(chrg*3,chrg*.25,chrg*3)frig.Name="Frigid Spinner"local mesh=Instance.new("SpecialMesh",frig)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://917126596"mesh.TextureId="rbxassetid://947302825"mesh.Scale=Vector3.new(chrg*8,chrg*8,chrg*8)
  67.     local bv=Instance.new("BodyAngularVelocity",frig)bv.MaxTorque=Vector3.new(256^256,256^256,256^256)bv.AngularVelocity=Vector3.new(0,36,0)return frig
  68. end
  69. function manyfrigid(actionName,userInputState,inputObject)
  70.     if userInputState==Enum.UserInputState.Begin then
  71.         local part={}local pos={}
  72.         for i=1,30 do
  73.             part[i]=createFrigidSpinner(math.random(30)/10)part[i].Touched:connect(function(pt)if tostring(pt.Parent)~=tostring(PL)and pt.Parent~=nil then if pt.Parent:FindFirstChildOfClass("Humanoid")then pt.Parent:BreakJoints()end end end)part[i].Position=PC.Torso.Position+Vector3.new(0,10,0)
  74.             pos[i]=part[i].CFrame
  75.         end
  76.         for i=1,30 do
  77.             part[i].Parent=workspace
  78.             part[i].CFrame=pos[i]
  79.         end
  80.     end
  81. end
  82. function ua(part)local child=part:GetChildren()for i=1,#child do if child[i].Name~="Base"and child[i].Name~="Baseplate"then if child[i]:IsA("Part")then child[i].Anchored=false end if child[i]:IsA("Model")then ua(child[i])end end end end
  83. function Fus_Ro_Dah(actionName,userInputState,inputObject)
  84.     if userInputState==Enum.UserInputState.Begin then
  85.         local sound=Instance.new("Sound",PC)sound.SoundId=sounds[2] sound.PlayOnRemove=true sound.PlaybackSpeed=1 sound.Volume=4 sound:Play()
  86.         wait(4.8)ua(workspace,false)zExplode(PC.Torso,true,5,25)local be=Instance.new("BlurEffect",game.Lighting)local ce=Instance.new("ColorCorrectionEffect",game.Lighting)for i=1,50 do be.Size=math.abs(i-50)/5 ce.TintColor=Color3.fromRGB(i+205,i+205,255)wait(.01)end ce:Destroy()be:Destroy()
  87.     end
  88. end
  89. function LetsGotoHeaven(actionName,userInputState,inputObject)
  90.     if userInputState==Enum.UserInputState.Begin then
  91.         if Targeted==nil then
  92.             if Mouse.Target~=nil then
  93.                 if tostring(Mouse.Target.Parent)~=tostring(PL)and Mouse.Target.Parent~=nil then
  94.                     if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")~=nil then
  95.                         local light=Instance.new("Part")light.Shape="Cylinder"light.Size=Vector3.new(600,8,8)light.Material="Neon"light.Color=Color3.new(1,1,0)light.Anchored=true light.CanCollide=false light.Transparency=.6 light.Name="_a"
  96.                         light.CFrame=Mouse.Target.Parent.Torso.CFrame local trg=Mouse.Target.Parent
  97.                         light.Orientation=Vector3.new(0,0,90)local pos=light.CFrame
  98.                         local s1=Instance.new("Sound",trg)s1.SoundId="rbxassetid://139100774"s1.Volume=6 s1.Looped=true s1:Play()
  99.                         light.Parent=workspace for i=0,70,.3 do trg.Torso.Velocity=Vector3.new(0,0,0)trg.Torso.RotVelocity=Vector3.new(0,0,0)trg.Torso.CFrame=pos+Vector3.new(0,i,0)wait()end
  100.                         s1:Stop()s1.Looped=false s1.SoundId="rbxassetid://130932305"s1:Play()wait(.4)light.Color=Color3.new(1,1,1)s1:Stop()s1.Looped=false s1.SoundId="rbxassetid://906084456"s1.TimePosition=1 s1:Play()light.Color=Color3.new(1,0,0)wait(.5)
  101.                         for i=70,0,-2 do trg.Torso.Velocity=Vector3.new(0,0,0)trg.Torso.RotVelocity=Vector3.new(0,0,0)trg.Torso.CFrame=pos+Vector3.new(0,i,0)wait()end trg:BreakJoints()trg:FindFirstChildOfClass("Humanoid").Health=nil local e=Instance.new("Explosion",workspace)e.Position=trg.Torso.Position
  102.                         light:Destroy()
  103.                             local Particle1=Instance.new("ParticleEmitter",trg.Torso)
  104.                         Particle1.Texture = MLGIMAGE1
  105.                         Particle1.Size = NumberSequence.new(4,4)
  106.                         Particle1.Lifetime = NumberRange.new(1)
  107.                         Particle1.Rate=100
  108.                         Particle1.Speed=NumberRange.new(0,30)
  109.                         Particle1.RotSpeed=NumberRange.new(0,60)
  110.                         Particle1.SpreadAngle=Vector2.new(360,360)
  111.                         local Particle2=Particle1:Clone()Particle2.Parent=trg.Torso
  112.                         Particle2.Texture = MLGIMAGE2
  113.                         local Particle3=Particle1:Clone()Particle3.Parent=trg.Torso
  114.                         Particle3.Texture = MLGIMAGE3
  115.                     end
  116.                 end
  117.             end
  118.         end
  119.     end
  120. end
  121.  
  122. function Shield()
  123.     local cl=nil
  124.     while wait()do
  125.         if cl~=nil then cl:Destroy()end
  126.         if PC:FindFirstChildOfClass("ForceField")==nil then local ff=Instance.new("ForceField",PC)ff.Visible=false end
  127.        
  128.         cl=PC:Clone()cl.Name="sheet"local c=cl:GetChildren()for i=1,#c do if not c[i]:IsA("Part")or c[i].Name=="HumanoidRootPart"then c[i]:Destroy()else c[i].Anchored=true c[i].CanCollide=false c[i].Transparency=0 if c[i]:FindFirstChild("_#a")~=nil then c[i]:FindFirstChild("_#a").Transparency=0 if chaos then c[i]:FindFirstChild("_#a").Color3=Color3.new(math.random(2)-1,math.random(2)-1,math.random(2)-1)c[i].Color=Color3.new(math.random(2)-1,math.random(2)-1,math.random(2)-1)else c[i]:FindFirstChild("_#a").Color3=Color3.new(1,1,1)end end end if c[i].Name=="Head"and chaos then c[i].Color=Color3.new(math.random(2)-1,math.random(2)-1,math.random(2)-1)ctxt.TextColor3=Color3.new(math.random(2)-1,math.random(2)-1,math.random(2)-1) end end cl.Parent=workspace
  129.     end
  130. end
  131.  
  132. function screenchaos()
  133.     local cc=nil
  134.     for i=1,120 do
  135.         if cc==nil then cc=Instance.new("ColorCorrectionEffect",Lighting)end cc.TintColor=Color3.fromRGB(math.random(200)+55,math.random(200)+55,math.random(200)+55)
  136.         wait()
  137.     end
  138.     if cc~=nil then cc:Destroy()end
  139. end
  140. launcher=Instance.new("Part")launcher.ChildAdded:connect(function()Shield()end)Instance.new("Part",launcher)launcher:Destroy()
  141. if SkipIntro==false then wait(.25)ctxt.Text="heh heh. heh."wait(2.1)ctxt.Text="heya."wait(1)ctxt.Text="you've been busy, huh?"wait(2)ctxt.Text="you already know me,kiddo"wait(2)ctxt.Text="heh,it's me..."wait(2)ctxt.Text="SANNES"
  142. chaos=true
  143. launcher=Instance.new("Part")launcher.ChildAdded:connect(function()screenchaos()end)Instance.new("Part",launcher)launcher:Destroy()wait(2.5)ctxt.Text="YOU WANNA HAVE A BAD TOM!?!"
  144. wait(5)PMusic:Stop()end chaos=true if STOPSUCKSPLZ then PMusic.Volume=0 PMusic:Stop()end if STOPSUCKSPLZ==false then PMusic.SoundId=music2[math.random(#music2)]PMusic:Play()end ctxt.Text=""PL.Chatted:connect(function(msg)if STOPSUCKSPLZ==false then if msg=="!m" and music then music=false PMusic.Volume=0 PMusic.PlaybackSpeed=0 elseif msg=="!m"then music=true PMusic.Volume=musicv PMusic.PlaybackSpeed=1 end end ctxt.Text="" wait(5)if ctxt.Text==tostring(msg)then ctxt.Text=""cbb.Adornee=nil end end)
  145. function ChangeMusic(actionName,userInputState,inputObject)
  146.     if userInputState==Enum.UserInputState.Begin then
  147.         if STOPSUCKSPLZ==false then
  148.             PMusic:Stop()PMusic.SoundId=music2[math.random(#music2)]music=true PMusic:Play()
  149.         end
  150.     end
  151. end
  152. game.ContextActionService:BindAction("ManyFrigid",manyfrigid,false,Enum.KeyCode.Z)
  153. game.ContextActionService:BindAction("NOPE",LetsGotoHeaven,false,Enum.KeyCode.X)
  154. game.ContextActionService:BindAction("Change Music",ChangeMusic,false,Enum.KeyCode.M)
  155. game.ContextActionService:BindAction("FUS RO DAH!!!!",Fus_Ro_Dah,false,Enum.KeyCode.F)
  156. -----------------------
  157. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  158. local mouse = game.Players.LocalPlayer:GetMouse()
  159. repeat wait() until mouse
  160. local plr = PL local torso = plr.Character.Torso local flying = false local deb = true local ctrl={f=0,b=0,l=0,r=0}
  161. local lastctrl={f=0,b=0,l=0,r=0}local maxspeed = 50 local speed = 0 function Fly()local bg = Instance.new("BodyGyro",torso)bg.Name="_#a"bg.P = 9e4
  162. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  163. bg.cframe = torso.CFrame local bv = Instance.new("BodyVelocity",torso)bv.Name="_#a"--bv.Parent=torso
  164. bv.velocity = Vector3.new(0,0.1,0)bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  165. repeat wait()plr.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  166. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  167. speed = speed+.5+(speed/maxspeed)
  168. if speed > maxspeed then
  169. speed = maxspeed
  170. end
  171. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  172. speed = speed-1
  173. if speed < 0 then
  174. speed = 0
  175. end
  176. end
  177. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  178. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - workspace.CurrentCamera.CoordinateFrame.p))*speed
  179. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  180. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  181. bv.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - workspace.CurrentCamera.CoordinateFrame.p))*speed
  182. else
  183. bv.velocity = Vector3.new(0,0.1,0)
  184. end
  185. bg.cframe = workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  186. until not flying
  187. ctrl = {f = 0, b = 0, l = 0, r = 0}
  188. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  189. speed = 0
  190. bg:Destroy()
  191. bv:Destroy()
  192. plr.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  193. end
  194. mouse.KeyDown:connect(function(key)
  195. if key:lower() == "0" then
  196. if flying then flying = false
  197. else
  198. flying = true
  199. Fly()
  200. end
  201. elseif key:lower() == "w" then ctrl.f = 1 elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1 elseif key:lower() == "d" then ctrl.r = 1
  202. end end)mouse.KeyUp:connect(function(key) if key:lower() == "w" then ctrl.f = 0 elseif key:lower() == "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0 elseif key:lower() == "d" then ctrl.r = 0 end end)
  203. Fly()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement