Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CV="Maroon"
- Player = game.Players.LocalPlayer
- Character = Player.Character
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Bodoni"
- text.TextStrokeColor3 = Color3.new(255,255,255)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=Character.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = "C.I Spy"
- -----------------------------------------------------------
- p = game.Players.LocalPlayer
- char = p.Character
- torso = char.Torso
- hed = char.Head
- neck = char.Torso.Neck
- hum = char.Humanoid
- hum.MaxHealth = math.huge
- ypcall(function()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char049.Shirt.ShirtTemplate = "rbxassetid://338740550"
- char049.Pants.PantsTemplate = "rbxassetid://338750779"
- end)
- ----------------------------------------------------------------------------------
- GasMask = true
- xd = Instance.new("Tool")
- xdd = Instance.new("Part")
- xddd = Instance.new("Part")
- xdddd = Instance.new("Part")
- xddddd = Instance.new("Smoke")
- xdddddd = Instance.new("Smoke")
- xddddddd = Instance.new("Smoke")
- xdddddddd = Instance.new("Part")
- xddddddddd = Instance.new("Part")
- xd0 = Instance.new("Part")
- xd.Name = "Mustard Gas Grenade"
- xd.Parent = game.Players.LocalPlayer.Backpack
- xdd.Parent = xd
- xdd.Material = Enum.Material.SmoothPlastic
- xdd.BrickColor = BrickColor.new("Deep orange")
- xdd.Position = Vector3.new(-9.08949184, 0.563135147, 33.200779)
- xdd.Rotation = Vector3.new(-0, 0, -90)
- xdd.CanCollide = false
- xdd.Shape = Enum.PartType.Cylinder
- xdd.Size = Vector3.new(0.26000011, 0.819999993, 1)
- xdd.CFrame = CFrame.new(-9.08949184, 0.563135147, 33.200779, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- xdd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- xdd.Color = Color3.new(1, 0.686275, 0)
- xddd.Parent = xd
- xddd.Material = Enum.Material.SmoothPlastic
- xddd.BrickColor = BrickColor.new("Really black")
- xddd.Position = Vector3.new(-9.09000397, 0.615009904, 33.2000046)
- xddd.Rotation = Vector3.new(-0, 0, 90)
- xddd.CanCollide = false
- xddd.Shape = Enum.PartType.Cylinder
- xddd.Size = Vector3.new(1.21000016, 0.799999952, 1)
- xddd.CFrame = CFrame.new(-9.09000397, 0.615009904, 33.2000046, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- xddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- xddd.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- xdddd.Parent = xd
- xdddd.Material = Enum.Material.SmoothPlastic
- xdddd.BrickColor = BrickColor.new("Dark stone grey")
- xdddd.Position = Vector3.new(-9.09270954, 1.33200657, 33.2021408)
- xdddd.CanCollide = false
- xdddd.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- xdddd.CFrame = CFrame.new(-9.09270954, 1.33200657, 33.2021408, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- xdddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddd.Color = Color3.new(0.388235, 0.372549, 0.384314)
- xddddd.Parent = xdddd
- xddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
- xddddd.Opacity = 1
- xddddd.RiseVelocity = 4
- xdddddd.Parent = xdddd
- xdddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
- xdddddd.Opacity = 1
- xdddddd.RiseVelocity = 4
- xddddddd.Parent = xdddd
- xddddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
- xddddddd.Opacity = 1
- xddddddd.RiseVelocity = 4
- xdddddddd.Parent = xd
- xdddddddd.Material = Enum.Material.SmoothPlastic
- xdddddddd.BrickColor = BrickColor.new("Deep orange")
- xdddddddd.Position = Vector3.new(-9.08949184, 0.899091303, 33.200779)
- xdddddddd.Rotation = Vector3.new(-0, 0, 90)
- xdddddddd.CanCollide = false
- xdddddddd.Shape = Enum.PartType.Cylinder
- xdddddddd.Size = Vector3.new(0.200000003, 0.819999993, 1)
- xdddddddd.CFrame = CFrame.new(-9.08949184, 0.899091303, 33.200779, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- xdddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- xdddddddd.Color = Color3.new(1, 0.686275, 0)
- xddddddddd.Parent = xd
- xddddddddd.Material = Enum.Material.SmoothPlastic
- xddddddddd.BrickColor = BrickColor.new("Black")
- xddddddddd.Position = Vector3.new(-9.09270954, 1.26311076, 33.2003593)
- xddddddddd.Rotation = Vector3.new(-0, 0, 90)
- xddddddddd.CanCollide = false
- xddddddddd.Shape = Enum.PartType.Cylinder
- xddddddddd.Size = Vector3.new(0.200000003, 0.799999952, 0.540000021)
- xddddddddd.CFrame = CFrame.new(-9.09270954, 1.26311076, 33.2003593, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- xddddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- xddddddddd.Color = Color3.new(0.105882, 0.164706, 0.207843)
- xd0.Name = "Handle"
- xd0.Parent = xd
- xd0.BrickColor = BrickColor.new("Earth green")
- xd0.Transparency = 1
- xd0.Position = Vector3.new(-9.11234188, 0.5, 33.1982155)
- xd0.Rotation = Vector3.new(0, 90, 0)
- xd0.CanCollide = false
- xd0.FormFactor = Enum.FormFactor.Custom
- xd0.Size = Vector3.new(0.800000131, 0.920000255, 0.799998164)
- xd0.CFrame = CFrame.new(-9.11234188, 0.5, 33.1982155, -0, 0, 1, 0, 1, 0, -1, 0, 0)
- xd0.BottomSurface = Enum.SurfaceType.Smooth
- xd0.TopSurface = Enum.SurfaceType.Smooth
- xd0.Color = Color3.new(0.152941, 0.27451, 0.176471)
- KILLPART = Instance.new("Part")
- KILLPART.Size = Vector3.new(16,16,16)
- KILLPART.Name = "TOUCHPART"
- KILLPART.Anchored = true
- KILLPART.BrickColor = BrickColor.new("Black")
- KILLPART.Transparency = 1
- KILLPART.CanCollide = false
- KILLPART.CFrame = xd0.CFrame
- KILLPART.Parent = workspace
- KILLPART.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Gas = Instance.new("Sound")
- Gas.Parent = xd0
- Gas.Volume = 0.8
- Gas.Looped = true
- Gas.SoundId = "http://www.roblox.com/asset/?id=137065982"
- Gas.Pitch = 1
- Gas.Name = "Sound"
- ison = false
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(xd.Handle, A)
- A.Anchored = false
- A.CanCollide = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(xd)
- end
- function XDdd ()
- ison = true
- end
- function Xddd ()
- ison = false
- end function lol () xdg = true Gas.Playing = true KILLPART.Parent = workspace while xdg == true do wait() KILLPART.CFrame = xd0.CFrame end end
- function Posijew ()
- KILLPART.CFrame = xd0.CFrame
- end function loln () KILLPART.Parent = game Gas.Playing = false xdg = false end
- xdg = false
- xd.Equipped:connect(XDdd)
- xd.Unequipped:connect(Xddd)
- xd.Equipped:connect(Finale)
- xd.Equipped:connect(lol)
- xd.Unequipped:connect(loln)
- xd.Unequipped:connect(Finale)
- Finale()
- function Kill (Part)
- for i,v in pairs(Part.Parent:GetChildren()) do
- if v:IsA("Humanoid") and v.Parent.Name ~= game.Players.LocalPlayer.Name then
- v:Destroy()
- end end
- end
- KILLPART.Touched:connect(Kill)
- if GasMask == true then
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("SpecialMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("Part")
- o6 = Instance.new("Part")
- o7 = Instance.new("SpecialMesh")
- o8 = Instance.new("Part")
- o9 = Instance.new("Part")
- o10 = Instance.new("SpecialMesh")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("SpecialMesh")
- o14 = Instance.new("Part")
- o15 = Instance.new("Part")
- o16 = Instance.new("Part")
- o17 = Instance.new("Part")
- o1.Name = "MODEL"
- o2.Name = "Middle"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Pastel brown")
- o2.Transparency = 1
- o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
- o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
- o2.Anchored = true
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(1, 0.8, 0.6)
- o3.Parent = o2
- o3.Scale = Vector3.new(6.25, 6.25, 6.25)
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Name = "Lense 1"
- o4.Parent = o1
- o4.Material = Enum.Material.Metal
- o4.Transparency = 0.050000011920929
- o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
- o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
- o4.Anchored = true
- o4.CanCollide = false
- o4.FormFactor = Enum.FormFactor.Custom
- o4.Shape = Enum.PartType.Cylinder
- o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
- o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
- o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.Name = "Lense2"
- o5.Parent = o1
- o5.Material = Enum.Material.Metal
- o5.Transparency = 0.050000011920929
- o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
- o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
- o5.Anchored = true
- o5.CanCollide = false
- o5.FormFactor = Enum.FormFactor.Custom
- o5.Shape = Enum.PartType.Cylinder
- o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
- o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
- o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.Name = "Handle"
- o6.Parent = o1
- o6.Material = Enum.Material.Metal
- o6.BrickColor = BrickColor.new("Really black")
- o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
- o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
- o6.Anchored = true
- o6.CanCollide = false
- o6.FormFactor = Enum.FormFactor.Plate
- o6.Size = Vector3.new(1, 0.400000006, 1)
- o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
- o6.BottomSurface = Enum.SurfaceType.Weld
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o7.Parent = o6
- o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
- o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
- o7.MeshType = Enum.MeshType.FileMesh
- o8.Name = "Straps"
- o8.Parent = o1
- o8.Material = Enum.Material.Fabric
- o8.BrickColor = BrickColor.new("Really black")
- o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
- o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
- o8.Anchored = true
- o8.CanCollide = false
- o8.FormFactor = Enum.FormFactor.Custom
- o8.Shape = Enum.PartType.Cylinder
- o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
- o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
- o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o9.Name = "Ring2"
- o9.Parent = o1
- o9.BrickColor = BrickColor.new("Dark stone grey")
- o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
- o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
- o9.Anchored = true
- o9.CanCollide = false
- o9.FormFactor = Enum.FormFactor.Custom
- o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
- o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
- o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o10.Parent = o9
- o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
- o10.MeshType = Enum.MeshType.FileMesh
- o11.Name = "Straps"
- o11.Parent = o1
- o11.Material = Enum.Material.Fabric
- o11.BrickColor = BrickColor.new("Really black")
- o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
- o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
- o11.Anchored = true
- o11.CanCollide = false
- o11.FormFactor = Enum.FormFactor.Custom
- o11.Shape = Enum.PartType.Cylinder
- o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
- o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
- o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o12.Name = "Ring1"
- o12.Parent = o1
- o12.BrickColor = BrickColor.new("Dark stone grey")
- o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
- o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
- o12.Anchored = true
- o12.CanCollide = false
- o12.FormFactor = Enum.FormFactor.Custom
- o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
- o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
- o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o13.Parent = o12
- o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
- o13.MeshType = Enum.MeshType.FileMesh
- o14.Name = "Breather"
- o14.Parent = o1
- o14.Material = Enum.Material.Metal
- o14.BrickColor = BrickColor.new("Really black")
- o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
- o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
- o14.Anchored = true
- o14.CanCollide = false
- o14.FormFactor = Enum.FormFactor.Custom
- o14.Shape = Enum.PartType.Cylinder
- o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
- o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
- o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o15.Name = "Breather"
- o15.Parent = o1
- o15.Material = Enum.Material.Metal
- o15.BrickColor = BrickColor.new("Really black")
- o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
- o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
- o15.Anchored = true
- o15.CanCollide = false
- o15.FormFactor = Enum.FormFactor.Custom
- o15.Shape = Enum.PartType.Cylinder
- o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
- o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
- o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o16.Name = "Breather"
- o16.Parent = o1
- o16.Material = Enum.Material.Metal
- o16.BrickColor = BrickColor.new("Really black")
- o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
- o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
- o16.Anchored = true
- o16.CanCollide = false
- o16.FormFactor = Enum.FormFactor.Custom
- o16.Shape = Enum.PartType.Cylinder
- o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
- o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
- o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o17.Name = "Breather"
- o17.Parent = o1
- o17.Material = Enum.Material.Metal
- o17.BrickColor = BrickColor.new("Really black")
- o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
- o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
- o17.Anchored = true
- o17.CanCollide = false
- o17.FormFactor = Enum.FormFactor.Custom
- o17.Shape = Enum.PartType.Cylinder
- o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
- o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
- o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- function onTouched(hit)
- local d = hit.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
- local g = o1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- g.Middle.Transparency = 1
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent.Head
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- onTouched(game.Players.LocalPlayer.Character.Head)
- end
- ----------------------------------------------------------------------
- wait(1) --For running in rbx studio
- mee = game.Players.LocalPlayer
- pistol = Instance.new("Tool", mee.Backpack)
- pistol.GripForward = Vector3.new(-0.149, 0.984, -0.099)
- pistol.GripPos = Vector3.new(0.1, -0.55, -0.2)
- pistol.GripRight = Vector3.new(0.989, 0.148, -0.015)
- pistol.GripUp = Vector3.new(0, 0.1, 0.995)
- pistol.ToolTip = "Umm... where did you get that?"
- pistol.Name = "Pistol"
- pistolpart = Instance.new("Part", pistol)
- pistolpart.Name = "Handle"
- pistolpart.BrickColor = BrickColor.new("Black")
- pistolpart.Material = "SmoothPlastic"
- pistolpart.Orientation = Vector3.new(-88.99, 152.78, 135.7)
- pistolpart.Size = Vector3.new(0.2, 1.12, 0.6)
- pistolmesh = Instance.new("SpecialMesh", pistolpart)
- pistolmesh.MeshId = "rbxassetid://430060386"
- pistolmesh.Scale = Vector3.new(1.7, 1.7, 1.7)
- pistolmesh.TextureId = "rbxassetid://430060404"
- pistolmesh.VertexColor = Vector3.new(2, 2, 2)
- gunshotsound = Instance.new("Sound", pistolpart)
- gunshotsound.SoundId = "rbxassetid://213603013"
- mouserotatecharacter = true
- pistol.Equipped:connect(function(mouse)
- mouserotatecharacter = true
- local torso = mee.Character.HumanoidRootPart
- local mouseturning = mee:GetMouse()
- mee.Character.Humanoid.AutoRotate = false
- mouseturning.Move:connect(function()
- if mouserotatecharacter == true then
- torso.CFrame = CFrame.new(torso.Position, mouseturning.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- end
- end)
- mouse.Button1Down:connect(function()
- gunshotsound:Play()
- MakeShell()
- local ray = Ray.new(pistol.Handle.CFrame.p, (mouse.Hit.p - pistol.Handle.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, mee.Character, false, true)
- local beam = Instance.new("Part", workspace)
- beam.BrickColor = BrickColor.new("White")
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.7
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- local distance = (pistol.Handle.CFrame.p - position).magnitude
- beam.Size = Vector3.new(0.3, 0.3, distance)
- beam.CFrame = CFrame.new(pistol.Handle.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- game:GetService("Debris"):AddItem(beam, 0.1)
- if part then
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
- end
- if humanoid then
- plrmodel = humanoid.Parent
- if plrmodel.Humanoid.Health ~= 0 then
- --blood
- plrmodel.Archivable = true
- local Char = plrmodel
- local Hum = Char:FindFirstChild("Humanoid")
- local Tor = Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")
- local Health = Hum.Health
- local M = math.random
- local R = math.rad
- local rates = {.05, .075, .1, .15}
- local smooth = function(P)
- local SM = Enum.SurfaceType.SmoothNoOutlines
- P.TopSurface = SM
- P.BottomSurface = SM
- P.RightSurface = SM
- P.LeftSurface = SM
- P.FrontSurface = SM
- P.BackSurface = SM
- end
- local function BloodPool(Part,Size)
- local Pool = Instance.new("Part",game.Workspace)
- Pool.TopSurface = 0
- Pool.CanCollide = false
- Pool.BrickColor = BrickColor.new("Crimson")
- Pool.Transparency = 0
- Instance.new("CylinderMesh",Pool)
- Pool.Anchored = true
- Pool.Name = "BloodPoolPart"
- smooth(Pool)
- Pool.FormFactor = Enum.FormFactor.Custom
- Pool.Size = Size
- local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
- coroutine.resume(coroutine.create(function()
- local rate = rates[M(1,#rates)]
- game.Debris:AddItem(Pool,15)
- for i = 1,M(25,70) do
- wait()
- Pool.CFrame = c
- Pool.Size = Pool.Size+Vector3.new(rate,0,rate)
- end
- wait(5)
- Pool:Destroy()
- end))
- end
- local function BloodDrops(Size,Area)
- local Blood = Instance.new("Part",game.Workspace)
- Blood.BrickColor = BrickColor.new("Crimson")
- Blood.Parent = plrmodel
- Blood.TopSurface = 0
- Blood.CanCollide = false
- Blood.Anchored = false
- Blood.FormFactor = Enum.FormFactor.Custom
- Blood.Size = Size
- Blood.CFrame = Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
- return Blood
- end
- Hum.Changed:connect(function()
- if Hum.Health < Health then
- Health = Hum.Health
- for i = 1, math.random(4,10)do
- local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
- local Blood = BloodDrops(Size,Tor.CFrame)
- local Stopper = false
- local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
- BloodPool(Tor,Size2)
- end
- end
- end)
- end
- --Ragdoll
- wait()
- function getAttachment0(attachmentName)
- for _,child in next,plrmodel:GetChildren() do
- local attachment = child:FindFirstChild(attachmentName)
- if attachment then
- return attachment
- end
- end
- end
- plrmodel.Humanoid.Died:Connect(function(var)
- local removeHRP = true
- local head = plrmodel["Head"]
- local leftarm = plrmodel["Left Arm"]
- local leftleg = plrmodel["Left Leg"]
- local rightleg = plrmodel["Right Leg"]
- local rightarm = plrmodel["Right Arm"]
- local torso = plrmodel.Torso
- local root = plrmodel.HumanoidRootPart
- if removeHRP == true then
- root:Destroy()
- end
- local rootA =Instance.new("Attachment")
- local HeadA = Instance.new("Attachment")
- local LeftArmA = Instance.new("Attachment")
- local LeftLegA = Instance.new("Attachment")
- local RightArmA = Instance.new("Attachment")
- local RightLegA = Instance.new("Attachment")
- local TorsoA = Instance.new("Attachment")
- local TorsoA1 = Instance.new("Attachment")
- local TorsoA2 = Instance.new("Attachment")
- local TorsoA3 = Instance.new("Attachment")
- local TorsoA4 = Instance.new("Attachment")
- local TorsoA5 = Instance.new("Attachment")
- local function set1()
- HeadA.Name = "HeadA"
- HeadA.Parent = head
- HeadA.Position = Vector3.new(0, -0.5, 0)
- HeadA.Rotation = Vector3.new(0, 0, 0)
- HeadA.Axis = Vector3.new(1, 0, 0)
- HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
- LeftArmA.Name = "LeftArmA"
- LeftArmA.Parent = leftarm
- LeftArmA.Position = Vector3.new(0.5, 1, 0)
- LeftArmA.Rotation = Vector3.new(0, 0, 0)
- LeftArmA.Axis = Vector3.new(1, 0, 0)
- LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
- LeftLegA.Name = "LeftLegA"
- LeftLegA.Parent = leftleg
- LeftLegA.Position = Vector3.new(0, 1, 0)
- LeftLegA.Rotation = Vector3.new(0, 0, 0)
- LeftLegA.Axis = Vector3.new(1, 0, 0)
- LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
- RightArmA.Name = "RightArmA"
- RightArmA.Parent = rightarm
- RightArmA.Position = Vector3.new(-0.5, 1, 0)
- RightArmA.Rotation = Vector3.new(0, 0, 0)
- RightArmA.Axis = Vector3.new(1, 0, 0)
- RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
- RightLegA.Name = "RightLegA"
- RightLegA.Parent = rightleg
- RightLegA.Position = Vector3.new(0, 1, 0)
- RightLegA.Rotation = Vector3.new(0, 0, 0)
- RightLegA.Axis = Vector3.new(1, 0, 0)
- RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
- rootA.Name= "rootA"
- rootA.Parent = root
- rootA.Position = Vector3.new(0, 0, 0)
- rootA.Rotation = Vector3.new(0, 90, 0)
- rootA.Axis = Vector3.new(0, 0, -1)
- rootA.SecondaryAxis = Vector3.new(0, 1, 0)
- end
- local function set2()
- TorsoA.Name = "TorsoA"
- TorsoA.Parent = torso
- TorsoA.Position = Vector3.new(0.5, -1, 0)
- TorsoA.Rotation = Vector3.new(0, 0, 0)
- TorsoA.Axis = Vector3.new(1, 0, 0)
- TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA1.Name = "TorsoA1"
- TorsoA1.Parent = torso
- TorsoA1.Position = Vector3.new(-0.5, -1, 0)
- TorsoA1.Rotation = Vector3.new(0, 0, 0)
- TorsoA1.Axis = Vector3.new(1, 0, 0)
- TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA2.Name = "TorsoA2"
- TorsoA2.Parent = torso
- TorsoA2.Position = Vector3.new(-1, 1, 0)
- TorsoA2.Rotation = Vector3.new(0, 0, 0)
- TorsoA2.Axis = Vector3.new(1, 0, 0)
- TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA3.Name = "TorsoA3"
- TorsoA3.Parent = torso
- TorsoA3.Position = Vector3.new(1, 1, 0)
- TorsoA3.Rotation = Vector3.new(0, 0, 0)
- TorsoA3.Axis = Vector3.new(1, 0, 0)
- TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA4.Name = "TorsoA4"
- TorsoA4.Parent = torso
- TorsoA4.Position = Vector3.new(0, 1, 0)
- TorsoA4.Rotation = Vector3.new(0, 0, 0)
- TorsoA4.Axis = Vector3.new(1, 0, 0)
- TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
- TorsoA5.Name = "TorsoA5"
- TorsoA5.Parent = torso
- TorsoA5.Position = Vector3.new(0, 0, 0)
- TorsoA5.Rotation = Vector3.new(0, 90, 0)
- TorsoA5.Axis = Vector3.new(0, 0, -1)
- TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
- end
- local function set3()
- end
- spawn(set1);
- spawn(set2);
- local HA = Instance.new("HingeConstraint")
- HA.Parent = head
- HA.Attachment0 = HeadA
- HA.Attachment1 = TorsoA4
- HA.Enabled = true
- HA.LimitsEnabled=true
- HA.LowerAngle=0
- HA.UpperAngle=0
- local LAT = Instance.new("BallSocketConstraint")
- LAT.Parent = leftarm
- LAT.Attachment0 = LeftArmA
- LAT.Attachment1 = TorsoA2
- LAT.Enabled = true
- LAT.LimitsEnabled=true
- LAT.UpperAngle=90
- local RAT = Instance.new("BallSocketConstraint")
- RAT.Parent = rightarm
- RAT.Attachment0 = RightArmA
- RAT.Attachment1 = TorsoA3
- RAT.Enabled = true
- RAT.LimitsEnabled=true
- RAT.UpperAngle=90
- local HA = Instance.new("BallSocketConstraint")
- HA.Parent = head
- HA.Attachment0 = HeadA
- HA.Attachment1 = TorsoA4
- HA.Enabled = true
- local TLL = Instance.new("BallSocketConstraint")
- TLL.Parent = torso
- TLL.Attachment0 = TorsoA1
- TLL.Attachment1 = LeftLegA
- TLL.Enabled = true
- TLL.LimitsEnabled=true
- TLL.UpperAngle=90
- local TRL = Instance.new("BallSocketConstraint")
- TRL.Parent = torso
- TRL.Attachment0 = TorsoA
- TRL.Attachment1 = RightLegA
- TRL.Enabled = true
- TRL.LimitsEnabled=true
- TRL.UpperAngle=90
- local RTA = Instance.new("BallSocketConstraint")
- RTA.Parent = root
- RTA.Attachment0 = rootA
- RTA.Attachment1 = TorsoA5
- RTA.Enabled = true
- RTA.LimitsEnabled=true
- RTA.UpperAngle=0
- head.Velocity = head.CFrame.lookVector*30
- for _,child in next,plrmodel:GetChildren() do
- if child:IsA("Accoutrement") then
- for _,part in next,child:GetChildren() do
- if part:IsA("BasePart") then
- part.Parent = plrmodel
- child:remove()
- local attachment1 = part:FindFirstChildOfClass("Attachment")
- local attachment0 = getAttachment0(attachment1.Name)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = plrmodel
- end
- end
- end
- end
- end
- end)
- end
- if humanoid.Health ~= 0 then
- humanoid.Health = 0
- wait(3)
- while true do
- if humanoid.Health ~= 0 then
- humanoid.Health = 0 --This loop is a strange kill system I know, but this prevents doing 99 damage instead of 100 for some reason.s
- else
- break
- end
- wait(0.3)
- end
- end
- end
- end)
- end)
- pistol.Unequipped:connect(function()
- wait(0.2)
- mouserotatecharacter = false
- mee.Character.Humanoid.AutoRotate = true
- end)
- function MakeShell()
- Shell = Instance.new("Part", workspace)
- Shell.Size = Vector3.new(0.2, 0.2, 0.6)
- ShellMesh = Instance.new("SpecialMesh", Shell)
- ShellMesh.MeshId = "http://www.roblox.com/asset/?id=94295100"
- ShellMesh.Scale = Vector3.new(4, 4, 4)
- ShellMesh.TextureId = "http://www.roblox.com/asset/?id=94287792"
- Shell.Position = pistolpart.Position
- end
- ----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement