Advertisement
Guest User

Arrest Em No Sound

a guest
May 27th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. Character = game.Players.LocalPlayer.Character
  2. Player = game.Players.LocalPlayer
  3. char = Character
  4. hum = Character.Humanoid
  5. Torso = Character.Torso
  6. Head = Character.Head
  7.  
  8. char.Shirt.ShirtTemplate = "rbxassetid://1073211165"
  9. char.Pants.PantsTemplate = "rbxassetid://997496591"
  10.  
  11.  
  12. local BC = char["Body Colors"]
  13. BC.HeadColor = BrickColor.new("Pastel brown")
  14. BC.LeftArmColor = BrickColor.new("Pastel brown")
  15. BC.LeftLegColor = BrickColor.new("Pastel brown")
  16. BC.RightArmColor = BrickColor.new("Pastel brown")
  17. BC.RightLegColor = BrickColor.new("Pastel brown")
  18. BC.TorsoColor = BrickColor.new("Pastel brown")
  19.  
  20. char.Head.face.Texture = "rbxassetid://42070872"
  21.  
  22. hum.MaxHealth = math.huge
  23.  
  24.  
  25.  
  26.  
  27. for i,v in pairs(char:children()) do
  28. if v:IsA("Hat") then
  29. v:Destroy()
  30. end
  31. end
  32. for i,v in pairs(char:children()) do
  33. if v:IsA("Accessory") then
  34. v:Destroy()
  35. end
  36. end
  37. for i,v in pairs(char:children()) do
  38. if v:IsA("Hair") then
  39. v:Destroy()
  40. end
  41. end
  42. --141378828
  43. Reaper = Instance.new("Model")
  44. Reaper.Parent = Player.Character
  45. Reaper.Name = "Reaper"
  46. rh = Instance.new("Part")
  47. rh.Parent = Reaper
  48. rh.BrickColor = BrickColor.new("Really red")
  49. rh.Locked = true
  50. rh.CanCollide = false
  51. mesh = Instance.new("SpecialMesh")
  52. rh.formFactor = "Symmetric"
  53. mesh.MeshType = "FileMesh"
  54. mesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
  55. mesh.TextureId = "http://www.roblox.com/asset/?id=1081380"
  56. mesh.Parent = rh
  57. local weld = Instance.new("Weld")
  58. weld.Parent = rh
  59. rh.Transparency = 0
  60. weld.Part0 = rh
  61. weld.Part1 = Player.Character.Head
  62. weld.C0 = weld.C0 * CFrame.new(0,-0.70,0.10)
  63.  
  64. local s = Instance.new("Sound",char)
  65. s.SoundId = "http://www.roblox.com/asset/?id=458157165"
  66. s.Pitch = 1
  67. s.Volume = 2
  68. s.Looped = true
  69. wait(1)
  70. s:play()
  71.  
  72.  
  73. function sandbox(var,func)
  74. local env = getfenv(func)
  75. local newenv = setmetatable({},{
  76. __index = function(self,k)
  77. if k=="script" then
  78. return var
  79. else
  80. return env[k]
  81. end
  82. end,
  83. })
  84. setfenv(func,newenv)
  85. return func
  86. end
  87. cors = {}
  88. mas = Instance.new("Model",game:GetService("Lighting"))
  89. Tool0 = Instance.new("Tool")
  90. Part1 = Instance.new("Part")
  91. SpecialMesh2 = Instance.new("SpecialMesh")
  92. Script3 = Instance.new("Script")
  93. Tool0.Name = "Arrest"
  94. Tool0.Parent = mas
  95. Tool0.GripForward = Vector3.new(-0.77155745, 0.462976098, 0.43629396)
  96. Tool0.GripPos = Vector3.new(0.899999976, 0.5, 0.400000006)
  97. Tool0.GripRight = Vector3.new(0.632408082, 0.63257581, 0.447110623)
  98. Tool0.GripUp = Vector3.new(0.0689874813, -0.620887339, 0.780858338)
  99. Tool0.ToolTip = "Take those skids to gulag!"
  100. Tool0.CanBeDropped = false
  101. Part1.Name = "Handle"
  102. Part1.Parent = Tool0
  103. Part1.FormFactor = Enum.FormFactor.Custom
  104. Part1.Size = Vector3.new(2, 2, 2)
  105. Part1.CFrame = CFrame.new(1.70000003e-05, 1.00001395, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  106. Part1.Position = Vector3.new(1.70000003e-05, 1.00001395, 0)
  107. SpecialMesh2.Parent = Part1
  108. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=88046657"
  109. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  110. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=88046679"
  111. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  112. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  113. Script3.Parent = Part1
  114. debounce = false
  115.  
  116. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  117.  
  118. table.insert(cors,sandbox(Script3,function()
  119. function arrest(hit)
  120. if hit.Parent ~= nil and hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and debounce ~= true and hit.Parent.Head:FindFirstChild("ArrestedGui") == nil then
  121. debounce = true
  122. num = math.random(1,99)
  123. local message = Instance.new("Hint",workspace)
  124. message.Text = hit.Parent.Name.." Has been arrested by "..game.Players.LocalPlayer.Name.."! He or she has to spend "..num.." years in jail!"
  125. --hit.Parent:Destroy()
  126.  
  127. hit.Parent.Humanoid.MaxHealth = math.huge
  128. print("Godded!")
  129. a = Instance.new("ForceField", hit.Parent)
  130. a.Visible = false
  131. print("FFed!")
  132.  
  133. BillboardGui0 = Instance.new("BillboardGui")
  134. TextLabel1 = Instance.new("TextLabel")
  135. BillboardGui0.Name = "ArrestedGui"
  136. BillboardGui0.Parent = hit.Parent.Head
  137. BillboardGui0.Size = UDim2.new(10, 0, 2, 0)
  138. BillboardGui0.StudsOffset = Vector3.new(0, 3, 0)
  139. TextLabel1.Name = "Text"
  140. TextLabel1.Parent = BillboardGui0
  141. TextLabel1.Transparency = 1
  142. TextLabel1.Size = UDim2.new(1, 0, 1, 0)
  143. TextLabel1.Text = hit.Parent.Name.."| Arrested | "..num.. " Years until release"
  144. TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  145. TextLabel1.BackgroundTransparency = 1
  146. TextLabel1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  147. TextLabel1.Font = Enum.Font.ArialBold
  148. TextLabel1.FontSize = Enum.FontSize.Size48
  149. TextLabel1.TextColor3 = Color3.new(1, 1, 1)
  150. TextLabel1.TextScaled = true
  151. TextLabel1.TextStrokeTransparency = 0
  152. TextLabel1.TextWrapped = true
  153. TextLabel1.TextYAlignment = Enum.TextYAlignment.Top
  154. game:GetService("Debris"):AddItem(SOUND,5)
  155. game:GetService("Debris"):AddItem(message,5)
  156. hit.Parent.Humanoid:Destroy()
  157. --jailtime(hit.Parent)
  158. wait(3)
  159. debounce = false
  160. end
  161.  
  162. end
  163.  
  164.  
  165. function jailtime(char)
  166. for i = num, 0, -1 do
  167. wait(1)
  168. TextLabel1.Text = char.Name.."| Arrested | "..i.. " Years until release"
  169. end
  170.  
  171. char.Humanoid.MaxHealth = 100
  172. print("Godded!")
  173. char.ForceField:Destroy()
  174. print("UNFFed!")
  175.  
  176. char.Humanoid.PlatformStand = false
  177.  
  178. BillboardGui0:Destroy()
  179. end
  180.  
  181. script.Parent.Touched:connect(arrest)
  182. end))
  183. for i,v in pairs(mas:GetChildren()) do
  184. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  185. pcall(function() v:MakeJoints() end)
  186. end
  187. mas:Destroy()
  188. for i,v in pairs(cors) do
  189. spawn(function()
  190. pcall(v)
  191. end)
  192. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement