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