Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name="diogorobot"
- player=game.Players[Name]
- char=player.Character
- Color=BrickColor.new("Grey")
- Color2=BrickColor.new(Color3.new(0,0,0))
- model=Instance.new("Model")
- model.Name="Suit"
- model.Parent=char
- d=0
- Debounce=true
- fake=char.Head:clone()
- pcall(function() fake.face:remove() end)
- char.Head.Transparency=1
- fake.Parent=model
- fake.Transparency=0
- w=Instance.new("Weld")
- w.Part1=fake
- w.Part0=char.Head
- w.Parent=char
- fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
- fake.BrickColor=Color2
- char.Head.Changed:connect(function(p)
- if p=="BrickColor" then
- wait()
- pcall(function()
- char.Head.face:Remove()
- char.Torso.roblox:remove()
- char["Shirt Graphic"]:remove()
- end)
- char.Humanoid.WalkSpeed=25
- char.Humanoid.MaxHealth=math.huge
- char.Humanoid.Health=math.huge
- for _,v in pairs(char:children()) do
- if v.className=="Hat" then
- v:remove()
- elseif v:IsA("Part") then
- v.BrickColor=Color2
- v.TopSurface="Smooth"
- v.BottomSurface="Smooth"
- elseif v:IsA("Shirt") or v:IsA("Pants") then
- v:remove()
- end
- end
- end
- end)
- char.Head.BrickColor=Color2
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=Color2
- Tor.Reflectance=0
- Tor.Transparency=0
- Tor.CanCollide=false
- Tor.Parent=char
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
- Mesh.Scale=Vector3.new(1.05,1.05,1.05)
- Mesh.Parent=Tor
- w = Instance.new("Weld")
- w.Parent = char["Head"]
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0.35,0)
- --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem
- function Add(object,delay)
- coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end))
- end
- if script.Parent.className~="HopperBin" then
- Sword = Instance.new("HopperBin")
- Sword.Parent = game.Players[Name].Backpack
- Sword.Name="Sword"
- script.Parent=Sword
- end
- Sword=script.Parent
- Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
- function hint(msg,de)
- local h=Instance.new("Hint")
- h.Text=tostring(msg)
- h.Parent=player
- Delay(tonumber(de),function() h:remove() end)
- end
- function makeSword()
- Sword=model
- wait(0.1)
- Handle=Instance.new("Part")
- Handle.Size=Vector3.new(1,1,1)
- Handle.Parent=Sword
- Handle.BrickColor=Color2
- Handle.Name="Handle"
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType=0
- Mesh.Parent=Handle
- Mesh.Scale=Vector3.new(0.4,0.75,0.4)
- HenWeld=Instance.new("Weld")
- HenWeld.Parent=char["Right Arm"]
- HenWeld.Part1=HenWeld.Parent
- HenWeld.Part0=Handle
- HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0)
- Hy=HenWeld.C0
- GripTop=Instance.new("Part")
- GripTop.BrickColor=BrickColor.new(27)
- GripTop.Size=Vector3.new(1,1,1)
- GripTop.Parent=Sword
- GripTop.Name="GripTop"
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=GripTop
- Mesh.Scale=Vector3.new(0.47,0.15,.97)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=GripTop
- Weld.C0=CFrame.new(0,-0.4,0)
- Blade1=Instance.new("Part")
- Blade1.BrickColor=Color
- Blade1.Size=Vector3.new(1,5,1)
- Blade1.Parent=Sword
- Blade1.Name="Blade1"
- Blade1.Reflectance=0.11
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=Blade1
- Mesh.Scale=Vector3.new(0.1,0.99,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade1
- Weld.C0=CFrame.new(0,-2.69,0)
- Pi=Blade1.Touched:connect(Hit)
- Blade2=Instance.new("Part")
- Blade2.BrickColor=Color
- Blade2.Size=Vector3.new(1,1,1)
- Blade2.Parent=Sword
- Blade2.Name="Blade2"
- Blade2.Reflectance=0.11
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Wedge"
- Mesh.Parent=Blade2
- Mesh.Scale=Vector3.new(0.1,0.45,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade2
- Weld.C0=CFrame.new(0,-5.33,0)
- De1=Instance.new("Part")
- De1.BrickColor=Color2
- De1.Size=Vector3.new(1,5,1)
- De1.Parent=Sword
- De1.Name="De1"
- De1.Reflectance=0.05
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Brick"
- Mesh.Parent=De1
- Mesh.Scale=Vector3.new(0.11,0.65,0.15)
- Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=De1
- Weld.C0=CFrame.new(0,-1.75,0)
- end
- function Button(mouse)
- for i=0,0.6,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/2)
- end
- wait()
- for i=0.95,0,-.05 do
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- wait()
- for i=0,0.35,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.7
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.35,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0)
- end
- w2.C0=Wr
- end
- function Sm(mouse)
- for i=0,0.2,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.5)
- local Blade2=Instance.new("Part")
- Blade2.BrickColor=Color2
- Blade2.Size=Vector3.new(1,1,1)
- Blade2.Parent=Sword
- Blade2.Name="Blade2"
- Blade2.Reflectance=0
- Blade2.Transparency=0.3
- local Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Sphere"
- Mesh.Parent=Blade2
- Mesh.Scale=Vector3.new(0.1,0.08,0.1)
- local Weld=Instance.new("Weld")
- Weld.Parent=Handle
- Weld.Part1=Weld.Parent
- Weld.Part0=Blade2
- Weld.C0=CFrame.new(0,-5.53,0)
- for i=1,20 do
- Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1)
- Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025)
- wait()
- end
- Delay(0,function()
- local b=Instance.new("Part")
- b.BrickColor=Color2
- b.Reflectance=0
- b.Transparency=1
- b.Size=Vector3.new(2,2,2)
- b.Shape="Ball"
- b.CanCollide=false
- b.TopSurface="Smooth"
- b.Position=Blade2.Position
- b.BottomSurface="Smooth"
- b.Friction=0
- local bo=Instance.new("BodyVelocity")
- bo.maxForce=Vector3.new(9999,9999,9999)
- bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150
- bo.Parent=b
- local co=b.Touched:connect(function(hit)
- if hit.Parent.Name~=Name and Bo.Parent then
- Hit(hit)
- Bo:remove()
- end
- end)
- b.Parent=Blade2
- local Bo=b
- while b.Parent do
- if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
- Hit(mouse.Target)
- Bo.Parent=nil
- else
- bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
- end
- wait()
- local b=Instance.new("Part")
- b.BrickColor=Color2
- b.Reflectance=0
- b.Transparency=0.2
- b.Size=Vector3.new(2,2,2)
- b.CanCollide=false
- b.Anchored=true
- b.TopSurface="Smooth"
- b.Parent=Bo
- b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
- b.BottomSurface="Smooth"
- b.Touched:connect(function(hit)
- if hit.Parent.Name~=Name then
- Hit(hit)
- end
- end)
- Delay(1.5,function() b:remove() end)
- end
- end)
- wait(2.25)
- Blade2:remove()
- for i=0.2,0,-.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- w2.C0=Wr
- end
- function Final(mouse)
- for i=0,0.2,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.5)
- for i=1,7 do
- wait(0.55)
- local Laz=Instance.new("Part")
- Laz.Anchored=true
- Laz.BrickColor=Color2
- Laz.Reflectance=0
- Laz.Transparency=0.65
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.CFrame=Blade1.CFrame
- Laz.Parent=workspace
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Parent=Laz
- Delay(0,function()
- local Laz=Laz
- local Me=Me
- for i=1,7,0.5 do
- Me.Scale = Vector3.new(i/5,i,i/2)
- Laz.CFrame=Blade1.CFrame
- wait()
- end
- Laz:remove()
- end)
- end
- for i=0.6,0,-.05 do
- wait(0.075)
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- for i=1,0,-0.1 do
- game:GetService("Lighting").Ambient=Color3.new(i,i,i)
- game:GetService("Lighting").Brightness=i
- wait(0.05)
- end
- m=Instance.new("Message",workspace)
- m.Text="The End."
- for _,v in pairs(game.Players:children()) do
- if v.Name~=Name then
- Delay(0,function() Hit(v.Character.Torso) end)
- wait()
- end
- end
- wait(1)
- m:remove()
- for i=0,1,0.1 do
- game:GetService("Lighting").Ambient=Color3.new(i,i,i)
- game:GetService("Lighting").Brightness=i
- wait(0.05)
- end
- --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.--
- wait()
- for i=0,0.6,0.05 do
- wait()
- local p=Blade1:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=Color2
- p.Anchored=true
- p.CanCollide=false
- p.Parent=workspace
- Delay(0.75,function() p:remove() end)
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- w2.C0=Wr
- end
- function Bl(mouse)
- pcall(function() Pi:disconnect() end)
- for i=0,0.4,0.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2)
- end
- wait(0.75)
- for i=0.95,0,-.05 do
- wait()
- w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2)
- end
- function Check(d)
- for _,v in pairs(game.Players:children()) do
- if (v.Character.Torso.Position-Tor.Position).magnitude<d then
- Delay(0,function() Hit(v.Character.Torso) end)
- end
- end
- end
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=BrickColor:Black()
- Tor.Reflectance=0
- Tor.Anchored=true
- Tor.Transparency=0.65
- Tor.CanCollide=false
- Tor.Parent=workspace
- Tor.TopSurface="Weld"
- Star=Tor
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(3,1.2,3)
- Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
- Delay(0.1,function()
- for i=1,20*5 do
- wait()
- Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5)
- Dist=Mesh.Scale.x/2…
Advertisement
Add Comment
Please, Sign In to add comment