Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- Script5 = Instance.new("Script")
- Camera6 = Instance.new("Camera")
- Tool0.Name = "Dead Ringer"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=81148927 "
- Tool0.Grip = CFrame.new(0, -0.5, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0, -0.5, 0.100000001)
- Tool0.ToolTip = "Allows One to Feign Death"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(-63.5499992, 0.25, 27.4500008, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part1.Orientation = Vector3.new(-90, 0, 0)
- Part1.Position = Vector3.new(-63.5499992, 0.25, 27.4500008)
- Part1.Rotation = Vector3.new(-90, 0, 0)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Size = Vector3.new(1.10000002, 1.10000002, 0.5)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Elasticity = 0
- Part1.Friction = 1
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Really black")
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=101060412 "
- SpecialMesh2.Scale = Vector3.new(-2, 2, -2)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=119121670"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Sound3.Name = "DeadRing"
- Sound3.Parent = Part1
- Sound3.SoundId = "http://www.roblox.com/asset/?id=143938746"
- Sound4.Name = "Recharge"
- Sound4.Parent = Part1
- Sound4.SoundId = "http://www.roblox.com/asset/?id=1079801"
- Sound4.Volume = 0.25
- Script5.Name = "Program"
- Script5.Parent = Tool0
- table.insert(cors,sandbox(Script5,function()
- Watch = script.Parent
- Enabled = true
- Human = nil
- LastHP = 0
- Connection = nil
- function Visible(Part)
- if Part ~= nil then
- for X = 1, 50 do
- wait()
- Part.Transparency = 1 - X * 2 / 100
- end
- end
- end
- function Feign()
- if Enabled == true and Human.Health < LastHP then
- Enabled = false
- Watch.Handle.Mesh.VertexColor = Vector3.new(0.5, 0.5, 0.5)
- Human.Health = math.max(Human.MaxHealth / 100, Human.Health)
- local NewPlayer = Instance.new("Model", Workspace)
- NewPlayer.Name = Human.Parent.Name
- local Parts = Human.Parent:GetChildren()
- for X = 1, #Parts do
- if Parts[X].ClassName == "Part" then
- Parts[X]:Clone().Parent = NewPlayer
- Parts[X].Transparency = 1
- Delay(6.5, function()
- script.Parent.Handle.DeadRing:Play()
- Visible(Parts[X])
- script.Parent.Enabled = false
- script.Parent.Handle.Transparency = 1
- wait(16)
- script.Parent.Handle.Recharge:Play()
- script.Parent.Handle.Transparency = 0
- script.Parent.Enabled = true
- end)
- if Parts[X]:FindFirstChild("face") ~= nil then
- Parts[X].face.Transparency = 1
- Delay(6.5, function()
- Visible(Parts[X].face)
- end)
- elseif Parts[X]:FindFirstChild("roblox") ~= nil then
- Parts[X].roblox.Transparency = 1
- Delay(6.5, function()
- Visible(Parts[X].roblox)
- end)
- end
- 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
- Parts[X]:Clone().Parent = NewPlayer
- if Parts[X]:FindFirstChild("Handle") ~= nil then
- Parts[X].Handle.Transparency = 1
- Delay(6.5, function()
- Visible(Parts[X].Handle)
- end)
- end
- end
- end
- game:GetService("Debris"):AddItem(NewPlayer, 5)
- Delay(13, function()
- Watch.Handle.Mesh.VertexColor = Vector3.new(1, 1, 1)
- Enabled = true
- end)
- local Player = game.Players:GetPlayerFromCharacter(Human.Parent)
- if Player and Player:FindFirstChild("Backpack") then
- Watch.Parent = Player.Backpack
- Unequipped()
- end
- else
- LastHP = Human.Health
- end
- end
- function Equipped()
- if Watch.Parent:FindFirstChild("Humanoid") ~= nil then
- Human = Watch.Parent.Humanoid
- LastHP = Human.Health
- Connection = Human.HealthChanged:connect(Feign)
- end
- end
- function Unequipped()
- Human = nil
- LastHP = 0
- if Connection ~= nil then
- Connection:disconnect()
- end
- Connection = nil
- end
- Watch.Equipped:connect(Equipped)
- Watch.Unequipped:connect(Unequipped)
- end))
- Camera6.Name = "ThumbnailCamera"
- Camera6.Parent = Tool0
- 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)
- 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)
- Camera6.Focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera6.focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement