Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local M = Instance.new("Hint",Workspace)
- for i = 30,1,-1 do
- M.Text = "Time until doge: " ..i
- wait(1)
- end
- M:Destroy()
- function GetRecursiveChildren(Place)
- local Stuff = {}
- function GRC(P)
- for i,v in pairs(P:GetChildren()) do
- ypcall(function()
- GRC(v)
- table.insert(Stuff,v)
- end)
- end
- end
- GRC(Place)
- GRC = nil
- return Stuff
- end
- function Doge(CF)
- local Workspace = Instance.new("Model",Workspace)
- local Head = Instance.new("Part",Workspace)
- Head.Size = Vector3.new(10,10,10)
- Head:breakJoints()
- Head.Anchored = true
- HeadM = Instance.new("SpecialMesh",Head)
- HeadM.MeshId = "http://www.roblox.com/asset/?id=151778863"
- HeadM.TextureId = "http://www.roblox.com/asset/?id=151778895"
- HeadM.Scale = Vector3.new(10,10,10)
- local Torso = Instance.new("Part",Workspace)
- Torso.Size = Vector3.new(10,20,20)
- Torso:breakJoints()
- Torso.Anchored = true
- local LA = Instance.new("Part",Workspace)
- LA.Size = Vector3.new(10,20,10)
- LA:breakJoints()
- LA.Anchored = true
- local RA = Instance.new("Part",Workspace)
- RA.Size = Vector3.new(10,20,10)
- RA:breakJoints()
- RA.Anchored = true
- local LL = Instance.new("Part",Workspace)
- LL.Size = Vector3.new(10,20,10)
- LL:breakJoints()
- LL.Anchored = true
- local RL = Instance.new("Part",Workspace)
- RL.Size = Vector3.new(10,20,10)
- RL:breakJoints()
- RL.Anchored = true
- local C = BrickColor.new("Nougat")
- LA.BrickColor,Torso.BrickColor,RA.BrickColor,LL.BrickColor,RL.BrickColor = C,C,C,C,C
- local Rot = 0
- for i,v in pairs(GetRecursiveChildren(game.Workspace)) do
- ypcall(function()
- if not v:IsDescendantOf(Workspace) then
- v.BrickColor = BrickColor.new("Olive")
- v.Reflectance = 0.5
- end
- end)
- end
- local C = 0
- while wait() do
- Rot = math.sin(C)*100
- C = C +0.05
- Torso.CFrame = CFrame.new(CF.p+(Vector3.new(0,30,Rot)))*CFrame.Angles(math.rad(Rot*2),0,0)
- Head.CFrame = Torso.CFrame*CFrame.new(0,15,0)*CFrame.Angles(0,math.rad(90),0)
- LA.CFrame = Torso.CFrame*CFrame.new(0,10,15)*CFrame.Angles(-math.rad(170),0,0)*CFrame.new(0,-10,0)
- RA.CFrame = Torso.CFrame*CFrame.new(0,10,-15)*CFrame.Angles(math.rad(170),0,0)*CFrame.new(0,-10,0)
- LL.CFrame = Torso.CFrame*CFrame.new(0,-10,5)*CFrame.Angles(-math.rad(30),0,0)*CFrame.new(0,-10,0)
- RL.CFrame = Torso.CFrame*CFrame.new(0,-10,-5)*CFrame.Angles(math.rad(30),0,0)*CFrame.new(0,-10,0)
- for i,v in pairs(game.Players:GetPlayers()) do
- ypcall(function()
- local N = v.Character
- if not N:findFirstChild("doged") then
- local Root2 = N.HumanoidRootPart.RootJoint
- local LA2 = N.Torso["Left Shoulder"]
- local RA2 = N.Torso["Right Shoulder"]
- local LL2 = N.Torso["Left Hip"]
- local RL2 = N.Torso["Right Hip"]
- local NK2 = N.Torso["Neck"]
- Root2.C0 = Root2.C0*CFrame.Angles(math.rad(90),0,0)
- Root2.C0 = Root2.C0 +Vector3.new(0,0.5,0)
- LL2.C0 = LL2.C0 *CFrame.Angles(0,0,-math.rad(90))
- RL2.C0 = RL2.C0 *CFrame.Angles(0,0,math.rad(90))
- LA2.C0 = LA2.C0 *CFrame.Angles(0,0,-math.rad(90))
- RA2.C0 = RA2.C0 *CFrame.Angles(0,0,math.rad(90))
- NK2.C0 = NK2.C0 *CFrame.Angles(-math.rad(90),0,0)
- local HM = Instance.new("SpecialMesh",N.Head)
- HM.MeshId = "http://www.roblox.com/asset/?id=151778863"
- HM.TextureId = "http://www.roblox.com/asset/?id=151778895"
- local a = Instance.new("StringValue",N)
- a.Name = "doged"
- end
- for i,v in pairs(N:GetChildren()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- if v.Name == "Head" then
- if v.face then
- v.face:Destroy()
- end
- end
- end
- end)
- end
- end
- end
- local P = Instance.new("Part",Workspace)
- P.FormFactor = "Custom"
- P.Size = Vector3.new(20,20,20)
- P:breakJoints()
- P.CFrame = CFrame.new(0,100,0)
- P.Touched:connect(function()
- local C,S = P.CFrame,P.Size
- P:Destroy()
- local N = {}
- for i = 1,10 do
- local R = Instance.new("Part",Workspace)
- R.Anchored = true
- R.Size = S/3
- R:breakJoints()
- R.CFrame = C+(Vector3.new(math.random(-P.Size.X/2,P.Size.X/2),math.random(-P.Size.Y/2,P.Size.Y/2),math.random(-P.Size.Z/2,P.Size.Z/2)))
- table.insert(N,R)
- end
- table.foreach(N,function(n,b) b.Anchored = false end)N=nil
- local Egg = Instance.new("Part",Workspace)
- Egg.Size = Vector3.new(5,5,5)
- Egg:breakJoints()
- Egg.CFrame = C
- EggM = Instance.new("SpecialMesh",Egg)
- EggM.Scale = Vector3.new(5,5,5)
- EggM.MeshId = "http://www.roblox.com/asset/?id=1527559"
- EggM.TextureId = "http://www.roblox.com/asset/?id=1527556"
- wait(5)
- EggM.MeshId = "http://www.roblox.com/asset/?id=1529081"
- Doge(Egg.CFrame)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement