firebudgy

ring

Jul 9th, 2018
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Converted with ttyyuu12345's model to script plugin v4
  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].roblox)
  106. end)
  107. end
  108. 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
  109. Parts[X]:Clone().Parent = NewPlayer
  110. if Parts[X]:FindFirstChild("Handle") ~= nil then
  111. Parts[X].Handle.Transparency = 1
  112. Delay(6.5, function()
  113. Visible(Parts[X].Handle)
  114. end)
  115. end
  116. end
  117. end
  118. game:GetService("Debris"):AddItem(NewPlayer, 5)
  119. Delay(13, function()
  120. Watch.Handle.Mesh.VertexColor = Vector3.new(1, 1, 1)
  121. Enabled = true
  122. end)
  123. local Player = game.Players:GetPlayerFromCharacter(Human.Parent)
  124. if Player and Player:FindFirstChild("Backpack") then
  125. Watch.Parent = Player.Backpack
  126. Unequipped()
  127. end
  128. else
  129. LastHP = Human.Health
  130. end
  131. end
  132. function Equipped()
  133. if Watch.Parent:FindFirstChild("Humanoid") ~= nil then
  134. Human = Watch.Parent.Humanoid
  135. LastHP = Human.Health
  136. Connection = Human.HealthChanged:connect(Feign)
  137. end
  138. end
  139. function Unequipped()
  140. Human = nil
  141. LastHP = 0
  142. if Connection ~= nil then
  143. Connection:disconnect()
  144. end
  145. Connection = nil
  146. end
  147. Watch.Equipped:connect(Equipped)
  148. Watch.Unequipped:connect(Unequipped)
  149. end))
  150. Camera6.Name = "ThumbnailCamera"
  151. Camera6.Parent = Tool0
  152. 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)
  153. 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)
  154. Camera6.Focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  155. Camera6.focus = CFrame.new(-0.00199890137, 1.94999981, 0.0490002632, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  156. for i,v in pairs(mas:GetChildren()) do
  157. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  158. pcall(function() v:MakeJoints() end)
  159. end
  160. mas:Destroy()
  161. for i,v in pairs(cors) do
  162. spawn(function()
  163. pcall(v)
  164. end)
  165. end
Add Comment
Please, Sign In to add comment