SHOW:
|
|
- or go back to the newest paste.
| 1 | - | |
| 1 | + | |
| 2 | function sandbox(var,func) | |
| 3 | local env = getfenv(func) | |
| 4 | local newenv = setmetatable({},{
| |
| 5 | __index = function(self,k) | |
| 6 | if k=="script" then | |
| 7 | return var | |
| 8 | else | |
| 9 | return env[k] | |
| 10 | end | |
| 11 | end, | |
| 12 | }) | |
| 13 | setfenv(func,newenv) | |
| 14 | return func | |
| 15 | end | |
| 16 | cors = {}
| |
| 17 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 18 | Tool0 = Instance.new("Tool")
| |
| 19 | Part1 = Instance.new("Part")
| |
| 20 | SpecialMesh2 = Instance.new("SpecialMesh")
| |
| 21 | Sound3 = Instance.new("Sound")
| |
| 22 | Sound4 = Instance.new("Sound")
| |
| 23 | Script5 = Instance.new("Script")
| |
| 24 | Camera6 = Instance.new("Camera")
| |
| 25 | Tool0.Name = "Dead Ringer" | |
| 26 | Tool0.Parent = mas | |
| 27 | Tool0.TextureId = "http://www.roblox.com/asset/?id=81148927 " | |
| 28 | Tool0.Grip = CFrame.new(0, -0.5, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 29 | Tool0.GripPos = Vector3.new(0, -0.5, 0.100000001) | |
| 30 | Tool0.ToolTip = "Allows One to Feign Death" | |
| 31 | Part1.Name = "Handle" | |
| 32 | Part1.Parent = Tool0 | |
| 33 | Part1.CFrame = CFrame.new(-63.5499992, 0.25, 27.4500008, 1, 0, 0, 0, 0, 1, 0, -1, 0) | |
| 34 | Part1.Orientation = Vector3.new(-90, 0, 0) | |
| 35 | Part1.Position = Vector3.new(-63.5499992, 0.25, 27.4500008) | |
| 36 | Part1.Rotation = Vector3.new(-90, 0, 0) | |
| 37 | Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 38 | Part1.Size = Vector3.new(1.10000002, 1.10000002, 0.5) | |
| 39 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 40 | Part1.BrickColor = BrickColor.new("Really black")
| |
| 41 | Part1.Elasticity = 0 | |
| 42 | Part1.Friction = 1 | |
| 43 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 44 | Part1.brickColor = BrickColor.new("Really black")
| |
| 45 | Part1.FormFactor = Enum.FormFactor.Custom | |
| 46 | Part1.formFactor = Enum.FormFactor.Custom | |
| 47 | SpecialMesh2.Parent = Part1 | |
| 48 | SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=101060412 " | |
| 49 | SpecialMesh2.Scale = Vector3.new(-2, 2, -2) | |
| 50 | SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=119121670" | |
| 51 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
| 52 | Sound3.Name = "DeadRing" | |
| 53 | Sound3.Parent = Part1 | |
| 54 | Sound3.SoundId = "http://www.roblox.com/asset/?id=143938746" | |
| 55 | Sound4.Name = "Recharge" | |
| 56 | Sound4.Parent = Part1 | |
| 57 | Sound4.SoundId = "http://www.roblox.com/asset/?id=1079801" | |
| 58 | Sound4.Volume = 0.25 | |
| 59 | Script5.Name = "Program" | |
| 60 | Script5.Parent = Tool0 | |
| 61 | table.insert(cors,sandbox(Script5,function() | |
| 62 | Watch = script.Parent | |
| 63 | Enabled = true | |
| 64 | Human = nil | |
| 65 | LastHP = 0 | |
| 66 | Connection = nil | |
| 67 | function Visible(Part) | |
| 68 | if Part ~= nil then | |
| 69 | for X = 1, 50 do | |
| 70 | wait() | |
| 71 | Part.Transparency = 1 - X * 2 / 100 | |
| 72 | end | |
| 73 | end | |
| 74 | end | |
| 75 | function Feign() | |
| 76 | if Enabled == true and Human.Health < LastHP then | |
| 77 | Enabled = false | |
| 78 | Watch.Handle.Mesh.VertexColor = Vector3.new(0.5, 0.5, 0.5) | |
| 79 | Human.Health = math.max(Human.MaxHealth / 100, Human.Health) | |
| 80 | local NewPlayer = Instance.new("Model", Workspace)
| |
| 81 | NewPlayer.Name = Human.Parent.Name | |
| 82 | local Parts = Human.Parent:GetChildren() | |
| 83 | for X = 1, #Parts do | |
| 84 | if Parts[X].ClassName == "Part" then | |
| 85 | Parts[X]:Clone().Parent = NewPlayer | |
| 86 | Parts[X].Transparency = 1 | |
| 87 | Delay(6.5, function() | |
| 88 | script.Parent.Handle.DeadRing:Play() | |
| 89 | Visible(Parts[X]) | |
| 90 | script.Parent.Enabled = false | |
| 91 | script.Parent.Handle.Transparency = 1 | |
| 92 | wait(16) | |
| 93 | script.Parent.Handle.Recharge:Play() | |
| 94 | script.Parent.Handle.Transparency = 0 | |
| 95 | script.Parent.Enabled = true | |
| 96 | end) | |
| 97 | if Parts[X]:FindFirstChild("face") ~= nil then
| |
| 98 | Parts[X].face.Transparency = 1 | |
| 99 | Delay(6.5, function() | |
| 100 | Visible(Parts[X].face) | |
| 101 | end) | |
| 102 | elseif Parts[X]:FindFirstChild("roblox") ~= nil then
| |
| 103 | Parts[X].roblox.Transparency = 1 | |
| 104 | Delay(6.5, function() | |
| 105 | Visible(Parts[X].Torso) | |
| 106 | - | Visible(Parts[X].roblox) |
| 106 | + | if Parts[X]:FindFirstChild("Head") ~= nil then
|
| 107 | Parts[X].face.Transparency = 1 | |
| 108 | Delay(6.5, function() | |
| 109 | - | elseif Parts[X].ClassName == "Humanoid" or Parts[X].ClassName == "Hat" or Parts[X].ClassName == "Pants" or Parts[X].ClassName == "Shirt" or Parts[X].ClassName == "ShirtGraphic" or Parts[X].ClassName == "BodyColors" or (Parts[X].Name == "Sound" and Parts[X].ClassName == "Script") then |
| 109 | + | Visible(Parts[X].Torso) |
| 110 | if Parts[X]:FindFirstChild("Head") ~= nil then
| |
| 111 | Parts[X].face.Transparency = 1 | |
| 112 | Delay(6.5, function() | |
| 113 | Visible(Parts[X].Head) | |
| 114 | end) | |
| 115 | end | |
| 116 | elseif Parts[X].ClassName == "Humanoid" or Parts[X].ClassName == "Accessory" or Parts[X].ClassName == "Pants" or Parts[X].ClassName == "Shirt" or Parts[X].ClassName == "ShirtGraphic" or Parts[X].ClassName == "BodyColors" or (Parts[X].Name == "Sound" and Parts[X].ClassName == "Script") then | |
| 117 | Parts[X]:Clone().Parent = NewPlayer | |
| 118 | if Parts[X]:FindFirstChild("Handle") ~= nil then
| |
| 119 | Parts[X].Handle.Transparency = 1 | |
| 120 | Delay(6.5, function() | |
| 121 | Visible(Parts[X].Handle) | |
| 122 | end) | |
| 123 | end | |
| 124 | end | |
| 125 | end | |
| 126 | game:GetService("Debris"):AddItem(NewPlayer, 5)
| |
| 127 | Delay(13, function() | |
| 128 | Watch.Handle.Mesh.VertexColor = Vector3.new(1, 1, 1) | |
| 129 | Enabled = true | |
| 130 | end) | |
| 131 | local Player = game.Players:GetPlayerFromCharacter(Human.Parent) | |
| 132 | if Player and Player:FindFirstChild("Backpack") then
| |
| 133 | Watch.Parent = Player.Backpack | |
| 134 | Unequipped() | |
| 135 | end | |
| 136 | else | |
| 137 | LastHP = Human.Health | |
| 138 | end | |
| 139 | end | |
| 140 | function Equipped() | |
| 141 | if Watch.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 142 | Human = Watch.Parent.Humanoid | |
| 143 | LastHP = Human.Health | |
| 144 | Connection = Human.HealthChanged:connect(Feign) | |
| 145 | end | |
| 146 | end | |
| 147 | function Unequipped() | |
| 148 | Human = nil | |
| 149 | LastHP = 0 | |
| 150 | if Connection ~= nil then | |
| 151 | Connection:disconnect() | |
| 152 | end | |
| 153 | Connection = nil | |
| 154 | end | |
| 155 | Watch.Equipped:connect(Equipped) | |
| 156 | Watch.Unequipped:connect(Unequipped) | |
| 157 | end)) | |
| 158 | Camera6.Name = "ThumbnailCamera" | |
| 159 | Camera6.Parent = Tool0 | |
| 160 | Camera6.CFrame = CFrame.new(0.196502686, 2.65699577, 1.90931034, 0.994355321, -0.0375065655, 0.0992507935, 3.72529074e-09, 0.935435236, 0.353497982, -0.1061012, -0.351502597, 0.930155039) | |
| 161 | Camera6.CoordinateFrame = CFrame.new(0.196502686, 2.65699577, 1.90931034, 0.994355321, -0.0375065655, 0.0992507935, 3.72529074e-09, 0.935435236, 0.353497982, -0.1061012, -0.351502597, 0.930155039) | |
| 162 | Camera6.Focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 163 | Camera6.focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 164 | for i,v in pairs(mas:GetChildren()) do | |
| 165 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 166 | pcall(function() v:MakeJoints() end) | |
| 167 | end | |
| 168 | mas:Destroy() | |
| 169 | for i,v in pairs(cors) do | |
| 170 | spawn(function() | |
| 171 | pcall(v) | |
| 172 | end) | |
| 173 | end |