Advertisement
Kaemi

COP

Dec 30th, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 32.54 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --By Rufus14
  88. --Converted with ttyyuu12345's model to script plugin v4
  89. owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  90. local txtfag = Instance.new("BillboardGui", owner.Character.Head)
  91. txtfag.Adornee = suckadick
  92. txtfag.Name = "kys nigga"
  93. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  94. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  95. local textfag = Instance.new("TextLabel", txtfag)
  96. textfag.Size = UDim2.new(6, 0, 1, 0)
  97. textfag.FontSize = "Size8"
  98. textfag.TextScaled = true
  99. textfag.TextTransparency = 0
  100. textfag.BackgroundTransparency = 1
  101. textfag.TextTransparency = 0
  102. textfag.TextStrokeTransparency = 0
  103. textfag.Font = "Cartoon"
  104. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  105. v = Instance.new("Part")
  106. v.Name = "ColorBrick"
  107. v.Parent = part
  108. v.FormFactor = "Symmetric"
  109. v.Anchored = true
  110. v.CanCollide = false
  111. v.BottomSurface = "Smooth"
  112. v.TopSurface = "Smooth"
  113. v.Size = Vector3.new(10, 5, 3)
  114. v.Transparency = 0.7
  115. v.BrickColor = owner.Character.Torso.BrickColor
  116. v.Transparency = 1
  117. textfag.TextColor3 = v.BrickColor.Color
  118. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  119. v.Shape = "Block"
  120. textfag.Text = ""
  121. wait(2)
  122. textfag.Text = ""
  123. wait(0.3)
  124. textfag.Text = "The Bad Cop"
  125. local music = Instance.new("Sound", owner.Character.Head)
  126. music.Volume = 1
  127. music.SoundId = "rbxassetid://515347026"
  128. music:Play()
  129. music.Looped = true
  130. alert = Instance.new("Sound", owner.Character.Head)
  131. alert.Volume = 1
  132. alert.SoundId = "rbxassetid://1011639456"
  133. owner.Character.Humanoid.WalkSpeed = 20
  134. --Converted with ttyyuu12345's model to script plugin v4
  135. function sandbox(var,func)
  136.     local env = getfenv(func)
  137.     local newenv = setmetatable({},{
  138.         __index = function(self,k)
  139.             if k=="script" then
  140.                 return var
  141.             else
  142.                 return env[k]
  143.             end
  144.         end,
  145.     })
  146.     setfenv(func,newenv)
  147.     return func
  148. end
  149. cors = {}
  150. mas = Instance.new("Model",game:GetService("Lighting"))
  151. Model0 = Instance.new("Model")
  152. Part1 = Instance.new("Part")
  153. Part2 = Instance.new("Part")
  154. Part3 = Instance.new("Part")
  155. Part4 = Instance.new("Part")
  156. Part5 = Instance.new("Part")
  157. Part6 = Instance.new("Part")
  158. Part7 = Instance.new("Part")
  159. Part8 = Instance.new("Part")
  160. Part9 = Instance.new("Part")
  161. Model0.Name = "Jailol"
  162. Model0.Parent = mas
  163. Part1.Parent = Model0
  164. Part1.Material = Enum.Material.Brick
  165. Part1.BrickColor = BrickColor.new("Crimson")
  166. Part1.Size = Vector3.new(27.2409039, 20.9545422, 4.19090843)
  167. Part1.CFrame = CFrame.new(-14.9545441, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  168. Part1.BottomSurface = Enum.SurfaceType.Smooth
  169. Part1.TopSurface = Enum.SurfaceType.Smooth
  170. Part1.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  171. Part1.Position = Vector3.new(-14.9545441, 10.4772959, -87.8842926)
  172. Part1.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  173. Part2.Parent = Model0
  174. Part2.Material = Enum.Material.Brick
  175. Part2.BrickColor = BrickColor.new("Crimson")
  176. Part2.Size = Vector3.new(27.2409039, 20.9545422, 4.19090843)
  177. Part2.CFrame = CFrame.new(26.9545403, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  178. Part2.BottomSurface = Enum.SurfaceType.Smooth
  179. Part2.TopSurface = Enum.SurfaceType.Smooth
  180. Part2.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  181. Part2.Position = Vector3.new(26.9545403, 10.4772959, -87.8842926)
  182. Part2.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  183. Part3.Name = "GlassDoor"
  184. Part3.Parent = Model0
  185. Part3.Material = Enum.Material.Glass
  186. Part3.BrickColor = BrickColor.new("Dark stone grey")
  187. Part3.Transparency = 0.55000001192093
  188. Part3.Size = Vector3.new(14.6681786, 20.9545422, 4.19090843)
  189. Part3.CFrame = CFrame.new(5.99999619, 10.4772959, -87.8842926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  190. Part3.BottomSurface = Enum.SurfaceType.Smooth
  191. Part3.TopSurface = Enum.SurfaceType.Smooth
  192. Part3.Color = Color3.new(0.392157, 0.392157, 0.392157)
  193. Part3.Position = Vector3.new(5.99999619, 10.4772959, -87.8842926)
  194. Part3.Color = Color3.new(0.392157, 0.392157, 0.392157)
  195. Part4.Parent = Model0
  196. Part4.Material = Enum.Material.Brick
  197. Part4.BrickColor = BrickColor.new("Crimson")
  198. Part4.Rotation = Vector3.new(0, -90, 0)
  199. Part4.Size = Vector3.new(53.4340782, 20.9545422, 4.19090843)
  200. Part4.CFrame = CFrame.new(38.4795341, 10.4772959, -116.696777, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  201. Part4.BottomSurface = Enum.SurfaceType.Smooth
  202. Part4.TopSurface = Enum.SurfaceType.Smooth
  203. Part4.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  204. Part4.Position = Vector3.new(38.4795341, 10.4772959, -116.696777)
  205. Part4.Orientation = Vector3.new(0, -90, 0)
  206. Part4.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  207. Part5.Parent = Model0
  208. Part5.Material = Enum.Material.Brick
  209. Part5.BrickColor = BrickColor.new("Crimson")
  210. Part5.Rotation = Vector3.new(0, -90, 0)
  211. Part5.Size = Vector3.new(53.4340782, 20.9545422, 4.19090843)
  212. Part5.CFrame = CFrame.new(-26.4795418, 10.4772959, -116.696777, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  213. Part5.BottomSurface = Enum.SurfaceType.Smooth
  214. Part5.TopSurface = Enum.SurfaceType.Smooth
  215. Part5.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  216. Part5.Position = Vector3.new(-26.4795418, 10.4772959, -116.696777)
  217. Part5.Orientation = Vector3.new(0, -90, 0)
  218. Part5.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  219. Part6.Parent = Model0
  220. Part6.Material = Enum.Material.Brick
  221. Part6.BrickColor = BrickColor.new("Crimson")
  222. Part6.Rotation = Vector3.new(-180, 0, -180)
  223. Part6.Size = Vector3.new(60.7681732, 20.9545422, 4.19090843)
  224. Part6.CFrame = CFrame.new(5.99999619, 10.4772959, -141.318375, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  225. Part6.BottomSurface = Enum.SurfaceType.Smooth
  226. Part6.TopSurface = Enum.SurfaceType.Smooth
  227. Part6.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  228. Part6.Position = Vector3.new(5.99999619, 10.4772959, -141.318375)
  229. Part6.Orientation = Vector3.new(0, 180, 0)
  230. Part6.Color = Color3.new(0.584314, 0.0470588, 0.0470588)
  231. Part7.Parent = Model0
  232. Part7.Material = Enum.Material.Glass
  233. Part7.BrickColor = BrickColor.new("Really black")
  234. Part7.Transparency = 0.55000001192093
  235. Part7.Size = Vector3.new(61.1681786, 0.0900000036, 49.6909103)
  236. Part7.CFrame = CFrame.new(5.91590881, 0.0546672344, -114.696777, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  237. Part7.BottomSurface = Enum.SurfaceType.Smooth
  238. Part7.TopSurface = Enum.SurfaceType.Smooth
  239. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  240. Part7.Position = Vector3.new(5.91590881, 0.0546672344, -114.696777)
  241. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  242. Part7.Name = "Floor"
  243. function parttouchedddd(part)
  244.     local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  245.     if humanoid then
  246.         if humanoid.Parent.Name ~= owner.Name then
  247.             for i,v in pairs(humanoid.Parent:GetChildren()) do
  248.                 if v.ClassName == "LocalScript" or v.ClassName == "Script" or v.ClassName == "Sound" then
  249.                     v:Remove()
  250.                 end
  251.                 for q,w in pairs(v:GetChildren()) do
  252.                     if w.ClassName == "LocalScript" or w.ClassName == "Script" or w.ClassName == "Sound" then
  253.                         w:Remove()
  254.                     end
  255.                 end
  256.             end
  257.         end
  258.     end
  259. end
  260. Part7.Touched:connect(parttouchedddd)
  261. Part8.Parent = Model0
  262. Part8.Material = Enum.Material.Glass
  263. Part8.BrickColor = BrickColor.new("Teal")
  264. Part8.Transparency = 0.55000001192093
  265. Part8.Size = Vector3.new(69.1681824, 0.45454216, 57.6909103)
  266. Part8.CFrame = CFrame.new(5.915905, 21.1818428, -114.696777, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  267. Part8.BottomSurface = Enum.SurfaceType.Smooth
  268. Part8.TopSurface = Enum.SurfaceType.Smooth
  269. Part8.Color = Color3.new(0.0784314, 1, 0.862745)
  270. Part8.Position = Vector3.new(5.915905, 21.1818428, -114.696777)
  271. Part8.Color = Color3.new(0.0784314, 1, 0.862745)
  272. Part9.Name = "wow"
  273. Part9.Parent = Model0
  274. Part9.Material = Enum.Material.Concrete
  275. Part9.BrickColor = BrickColor.new("Lime green")
  276. Part9.Rotation = Vector3.new(-180, 0, -165)
  277. Part9.Anchored = true
  278. Part9.Size = Vector3.new(14.7681732, 6.70454216, 0.190908432)
  279. Part9.CFrame = CFrame.new(2.99999595, 11.2613897, -139.068375, -0.965925872, 0.258818984, 0, 0.258818984, 0.965925872, 0, 0, 0, -1)
  280. Part9.BottomSurface = Enum.SurfaceType.Smooth
  281. Part9.TopSurface = Enum.SurfaceType.Smooth
  282. Part9.Color = Color3.new(0.054902, 1, 0.0392157)
  283. Part9.Position = Vector3.new(2.99999595, 11.2613897, -139.068375)
  284. Part9.Orientation = Vector3.new(0, 180, 15)
  285. Part9.Color = Color3.new(0.054902, 1, 0.0392157)
  286. for i,v in pairs(mas:GetChildren()) do
  287.     v.Parent = owner.Character
  288.     pcall(function() v:MakeJoints() end)
  289. end
  290. mas:Destroy()
  291. for i,v in pairs(cors) do
  292.     spawn(function()
  293.         pcall(v)
  294.     end)
  295. end
  296. --Converted with ttyyuu12345's model to script plugin v4
  297. function sandbox(var,func)
  298.     local env = getfenv(func)
  299.     local newenv = setmetatable({},{
  300.         __index = function(self,k)
  301.             if k=="script" then
  302.                 return var
  303.             else
  304.                 return env[k]
  305.             end
  306.         end,
  307.     })
  308.     setfenv(func,newenv)
  309.     return func
  310. end
  311. cors = {}
  312. mas = Instance.new("Model",game:GetService("Lighting"))
  313. Part0 = Instance.new("Part")
  314. Part0.Name = "Posof"
  315. Part0.Parent = mas
  316. Part0.Material = Enum.Material.Glass
  317. Part0.BrickColor = BrickColor.new("Dark stone grey")
  318. Part0.Transparency = 0.55000001192093
  319. Part0.Anchored = true
  320. Part0.CanCollide = false
  321. Part0.Size = Vector3.new(14.6681786, 0.0500000007, 4.19090843)
  322. Part0.CFrame = Part3.CFrame * CFrame.new(0,-10,3)
  323. Part0.BottomSurface = Enum.SurfaceType.Smooth
  324. Part0.TopSurface = Enum.SurfaceType.Smooth
  325. Part0.Color = Color3.new(0.392157, 0.392157, 0.392157)
  326. Part0.Color = Color3.new(0.392157, 0.392157, 0.392157)
  327. for i,v in pairs(mas:GetChildren()) do
  328.     v.Parent = Model0
  329.     pcall(function() v:MakeJoints() end)
  330. end
  331. mas:Destroy()
  332. for i,v in pairs(cors) do
  333.     spawn(function()
  334.         pcall(v)
  335.     end)
  336. end
  337. for i,v in pairs(Model0:GetChildren()) do
  338.     if v.ClassName == "Part" then
  339.         v.Anchored = true
  340.     end
  341. end
  342. -- Objects
  343.  
  344. local SurfaceGui = Instance.new("SurfaceGui")
  345. local TextBox = Instance.new("TextBox")
  346.  
  347. -- Properties
  348.  
  349. SurfaceGui.Parent = owner.Character.Jailol.wow
  350.  
  351. TextBox.Parent = SurfaceGui
  352. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  353. TextBox.BackgroundTransparency = 1
  354. TextBox.Size = UDim2.new(1, 0, 1, 0)
  355. TextBox.Font = Enum.Font.Cartoon
  356. TextBox.FontSize = Enum.FontSize.Size14
  357. TextBox.Text = "Jail"
  358. TextBox.TextScaled = true
  359. TextBox.TextSize = 14
  360. TextBox.TextWrapped = true
  361. for i,v in pairs(owner.Character:GetChildren()) do
  362.     if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  363.         v:destroy()
  364.     end
  365. end
  366. --Converted with ttyyuu12345's model to script plugin v4
  367. function sandbox(var,func)
  368.     local env = getfenv(func)
  369.     local newenv = setmetatable({},{
  370.         __index = function(self,k)
  371.             if k=="script" then
  372.                 return var
  373.             else
  374.                 return env[k]
  375.             end
  376.         end,
  377.     })
  378.     setfenv(func,newenv)
  379.     return func
  380. end
  381. cors = {}
  382. mas = Instance.new("Model",game:GetService("Lighting"))
  383. Part0hat = Instance.new("Part")
  384. SpecialMesh1 = Instance.new("SpecialMesh")
  385. Part0hat.Name = "Police Cap"
  386. Part0hat.Parent = mas
  387. Part0hat.Rotation = Vector3.new(0, -90, 0)
  388. Part0hat.Anchored = false
  389. Part0hat.FormFactor = Enum.FormFactor.Plate
  390. Part0hat.Size = Vector3.new(2, 0.400000006, 1)
  391. Part0hat.CFrame = CFrame.new(-6.5, 0.599538267, -62, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  392. Part0hat.BottomSurface = Enum.SurfaceType.Weld
  393. Part0hat.TopSurface = Enum.SurfaceType.Smooth
  394. Part0hat.Position = Vector3.new(-6.5, 0.599538267, -62)
  395. Part0hat.Orientation = Vector3.new(0, -90, 0)
  396. SpecialMesh1.Parent = Part0hat
  397. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1028788"
  398. SpecialMesh1.Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  399. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=1028787"
  400. SpecialMesh1.VertexColor = Vector3.new(2, 1, 1)
  401. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  402. SpecialMesh1.Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  403. for i,v in pairs(mas:GetChildren()) do
  404.     v.Parent = owner.Character
  405.     pcall(function() v:MakeJoints() end)
  406. end
  407. mas:Destroy()
  408. for i,v in pairs(cors) do
  409.     spawn(function()
  410.         pcall(v)
  411.     end)
  412. end
  413. local weldofcap = Instance.new("Weld", Part0hat)
  414. weldofcap.Part0 = owner.Character.Head
  415. weldofcap.Part1 = Part0hat
  416. weldofcap.C0 = CFrame.new(0,0.5,0)
  417. canwalk = true
  418. using = false
  419. local rhandclone = owner.Character.Torso["Right Shoulder"]:Clone()
  420. local rhandweld = Instance.new("Weld", owner.Character.Torso)
  421. rhandweld.Part0 = owner.Character.Torso
  422. rhandweld.Part1 = owner.Character["Right Arm"]
  423. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  424. local lhandclone = owner.Character.Torso["Left Shoulder"]:Clone()
  425. local lhandweld = Instance.new("Weld", owner.Character.Torso)
  426. lhandweld.Part0 = owner.Character.Torso
  427. lhandweld.Part1 = owner.Character["Left Arm"]
  428. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  429. local llegclone = owner.Character.Torso["Left Hip"]:Clone()
  430. owner.Character.Torso["Left Hip"]:Remove()
  431. local llegweld = Instance.new("Weld", owner.Character.Torso)
  432. llegweld.Part0 = owner.Character.Torso
  433. llegweld.Part1 = owner.Character["Left Leg"]
  434. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  435. local rlegclone = owner.Character.Torso["Right Hip"]:Clone()
  436. owner.Character.Torso["Right Hip"]:Remove()
  437. local rlegweld = Instance.new("Weld", owner.Character.Torso)
  438. rlegweld.Part0 = owner.Character.Torso
  439. rlegweld.Part1 = owner.Character["Right Leg"]
  440. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  441. local rootjointclone = owner.Character.HumanoidRootPart.RootJoint:Clone()
  442. owner.Character.HumanoidRootPart.RootJoint:Remove()
  443. local humanoidrootpart = Instance.new("Weld", owner.Character.Torso)
  444. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  445. humanoidrootpart.Part1 = owner.Character.Torso
  446. local heed = owner.Character.Torso["Neck"]:Clone()
  447. local headweld = Instance.new("Weld", owner.Character.Torso)
  448. headweld.Part0 = owner.Character.Torso
  449. headweld.Part1 = owner.Character.Head
  450. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  451. owner.Character.Torso.Neck:Remove()
  452. owner.Character.Humanoid.MaxHealth = 450
  453. owner.Character.Humanoid.Health = 450
  454. function clicked()
  455.     local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
  456.     if humanoid and not using then
  457.         using = true
  458.         canwalk = false
  459.         humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  460.         for i,v in pairs(humanoid.Parent:GetChildren()) do
  461.             if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  462.                 v:Remove()
  463.             end
  464.         end
  465.         --Converted with ttyyuu12345's model to script plugin v4
  466.         function sandbox(var,func)
  467.             local env = getfenv(func)
  468.             local newenv = setmetatable({},{
  469.                 __index = function(self,k)
  470.                     if k=="script" then
  471.                         return var
  472.                     else
  473.                         return env[k]
  474.                     end
  475.                 end,
  476.             })
  477.             setfenv(func,newenv)
  478.             return func
  479.         end
  480.         cors = {}
  481.         mas = Instance.new("Model",game:GetService("Lighting"))
  482.         local Sound0 = Instance.new("Sound")
  483.         Sound0.Name = "crybabi"
  484.         Sound0.Parent = mas
  485.         Sound0.SoundId = "rbxassetid://553084572"
  486.         Sound0.Volume = 10
  487.         for i,v in pairs(mas:GetChildren()) do
  488.             v.Parent = owner.Character
  489.             pcall(function() v:MakeJoints() end)
  490.         end
  491.         mas:Destroy()
  492.         for i,v in pairs(cors) do
  493.             spawn(function()
  494.                 pcall(v)
  495.             end)
  496.         end
  497.         humanoid.Name = "ContentCOPP'D"
  498.         owner.Character.Humanoid.WalkSpeed = 0
  499.         owner.Character.Humanoid.JumpPower = 0
  500.         alert:Play()
  501.         music.Volume = 5
  502.         textfag.Text = "HEY!"
  503.         for i = 0,1 , 0.05 do
  504.             owner.Character.Torso.CFrame = owner.Character.Torso.CFrame:lerp(CFrame.new(owner.Character.Torso.Position,humanoid.Parent.Torso.Position),i)
  505.             --humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i)
  506.             game:GetService("RunService").Stepped:wait()
  507.         end
  508.         wait(0.5)
  509.         humanoid.WalkSpeed = 0
  510.         humanoid.JumpPower = 0
  511.         textfag.Text = "Stop!"
  512.         for i = 0,1 , 0.05 do
  513.             owner.Character.Torso.CFrame = owner.Character.Torso.CFrame:lerp(CFrame.new(owner.Character.Torso.Position,humanoid.Parent.Torso.Position),i)
  514.             humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i)
  515.             game:GetService("RunService").Stepped:wait()
  516.         end
  517.         for i = 0,1 , 0.08 do
  518.             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0):inverse(),i)
  519.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.436240673, -0.959949374, 1, -5.23747954e-22, -2.65673535e-22, -2.65673535e-22, 3.13253081e-22, -1, 5.23747954e-22, 1, 3.13253081e-22),i)
  520.             game:GetService("RunService").Stepped:wait()
  521.         end
  522.         wait(1)
  523.         textfag.Text = "STOP THERE RIGHT HERE"
  524.         wait(2)
  525.         textfag.Text = "GO TO JAIL!"
  526.         wait(2)
  527.         Sound0:Play()
  528.         local path = game:GetService("PathfindingService"):ComputeRawPathAsync(humanoid.Parent.Torso.Position,owner.Character.Jailol.Posof.Position,200)
  529.         local go = path:GetPointCoordinates()
  530.         Sound0:Play()
  531.         canwalk = true
  532.         textfag.Text = "The Cop"
  533.         owner.Character.Humanoid.WalkSpeed = 20
  534.         owner.Character.Humanoid.JumpPower = 80
  535.         for i = 1, #go do
  536.             local pos = Instance.new("Part", humanoid.Parent)
  537.             pos.Name = "GoTo1"
  538.             pos.TopSurface = "Smooth"
  539.             pos.BottomSurface = "Smooth"
  540.             pos.Transparency = 1
  541.             pos.CanCollide = false
  542.             pos.Size = Vector3.new(0.4,0.4,0.4)
  543.             pos.Anchored = true
  544.             pos.Position = go[i] + Vector3.new(0,2.8,0)
  545.             for i = 0,0.5 , 0.04 do
  546.                 humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(pos.CFrame,i)
  547.                 game:GetService("RunService").Stepped:wait()
  548.             end
  549.             pos:destroy()
  550.             --humanoid.Parent.Torso.CFrame = CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Jailol.GlassDoor.Position)
  551.         end
  552.         using = false
  553.         humanoid.Parent.Torso.Anchored = true
  554.         for i = 0,1 , 0.03 do
  555.             humanoid.Parent.Torso.CFrame = Part3.CFrame:lerp(humanoid.Parent.Torso.CFrame * CFrame.new(0,-1,-1.5),i)
  556.             game:GetService("RunService").Stepped:wait()
  557.         end
  558.         local torposit = humanoid.Parent.Torso.CFrame
  559.         local txtfage = Instance.new("BillboardGui", humanoid.Parent.Head)
  560.         txtfage.Adornee = oboi
  561.         txtfage.Name = "time"
  562.         txtfage.Size = UDim2.new(2, 0, 1.2, 0)
  563.         txtfage.StudsOffset = Vector3.new(-5, 3, 0)
  564.         local textfag = Instance.new("TextLabel", txtfage)
  565.         textfag.Size = UDim2.new(6, 0, 1, 0)
  566.         textfag.FontSize = "Size8"
  567.         textfag.TextScaled = true
  568.         textfag.TextTransparency = 0
  569.         textfag.BackgroundTransparency = 1
  570.         textfag.TextTransparency = 0
  571.         textfag.TextStrokeTransparency = 0
  572.         textfag.Font = "Arial"
  573.         textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  574.         v = Instance.new("Part")
  575.         v.Name = "ColorBrick"
  576.         v.Parent = part
  577.         v.FormFactor = "Symmetric"
  578.         v.Anchored = true
  579.         v.CanCollide = false
  580.         v.BottomSurface = "Smooth"
  581.         v.TopSurface = "Smooth"
  582.         v.Size = Vector3.new(10, 5, 3)
  583.         v.Transparency = 0.7
  584.         v.BrickColor = humanoid.Parent.Torso.BrickColor
  585.         v.Transparency = 1
  586.         textfag.TextColor3 = v.BrickColor.Color
  587.         textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  588.         v.Shape = "Block"
  589.         local numberfag = Instance.new("NumberValue", txtfage)
  590.         numberfag.Name = "TimeValue"
  591.         numberfag.Value = math.random(500,1000)
  592.         textfag.Text = humanoid.Parent.Name.." (Time: "..numberfag.Value..")"
  593.         humanoid.Parent.Torso.Anchored = false
  594.         humanoid.WalkSpeed = 16
  595.         humanoid.JumpPower = 80
  596.         wait(2)
  597.         humanoid.Parent.Torso.CFrame = torposit
  598.     end
  599. end
  600. mouse.Button1Down:connect(clicked)
  601. function stop(part)
  602.     local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  603.     if humanoid and not using then
  604.         using = true
  605.         canwalk = false
  606.         humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  607.         for i,v in pairs(humanoid.Parent:GetChildren()) do
  608.             if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  609.                 v:Remove()
  610.             end
  611.         end
  612.         --Converted with ttyyuu12345's model to script plugin v4
  613.         function sandbox(var,func)
  614.             local env = getfenv(func)
  615.             local newenv = setmetatable({},{
  616.                 __index = function(self,k)
  617.                     if k=="script" then
  618.                         return var
  619.                     else
  620.                         return env[k]
  621.                     end
  622.                 end,
  623.             })
  624.             setfenv(func,newenv)
  625.             return func
  626.         end
  627.         cors = {}
  628.         mas = Instance.new("Model",game:GetService("Lighting"))
  629.         local Sound0 = Instance.new("Sound")
  630.         Sound0.Name = "crybabi"
  631.         Sound0.Parent = mas
  632.         Sound0.SoundId = "rbxassetid://553084572"
  633.         Sound0.Volume = 10
  634.         for i,v in pairs(mas:GetChildren()) do
  635.             v.Parent = owner.Character
  636.             pcall(function() v:MakeJoints() end)
  637.         end
  638.         mas:Destroy()
  639.         for i,v in pairs(cors) do
  640.             spawn(function()
  641.                 pcall(v)
  642.             end)
  643.         end
  644.         humanoid.Name = "ContentCOPP'D"
  645.         owner.Character.Humanoid.WalkSpeed = 0
  646.         owner.Character.Humanoid.JumpPower = 0
  647.         alert:Play()
  648.         music.Volume = 5
  649.         textfag.Text = "HEY!!"
  650.         for i = 0,1 , 0.05 do
  651.             owner.Character.Torso.CFrame = owner.Character.Torso.CFrame:lerp(CFrame.new(owner.Character.Torso.Position,humanoid.Parent.Torso.Position),i)
  652.             --humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i)
  653.             game:GetService("RunService").Stepped:wait()
  654.         end
  655.         wait(0.5)
  656.         humanoid.WalkSpeed = 0
  657.         humanoid.JumpPower = 0
  658.         textfag.Text = "Stop!"
  659.         for i = 0,1 , 0.05 do
  660.             owner.Character.Torso.CFrame = owner.Character.Torso.CFrame:lerp(CFrame.new(owner.Character.Torso.Position,humanoid.Parent.Torso.Position),i)
  661.             humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i)
  662.             game:GetService("RunService").Stepped:wait()
  663.         end
  664.         for i = 0,1 , 0.08 do
  665.             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0):inverse(),i)
  666.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.436240673, -0.959949374, 1, -5.23747954e-22, -2.65673535e-22, -2.65673535e-22, 3.13253081e-22, -1, 5.23747954e-22, 1, 3.13253081e-22),i)
  667.             game:GetService("RunService").Stepped:wait()
  668.         end
  669.         wait(1)
  670.         textfag.Text = "You are arrested by The Police!"
  671.         wait(2)
  672.         textfag.Text = "GO TO JAIL"
  673.         wait(2)
  674.         Sound0:Play()
  675.         local path = game:GetService("PathfindingService"):ComputeRawPathAsync(humanoid.Parent.Torso.Position,owner.Character.Jailol.Posof.Position,200)
  676.         local go = path:GetPointCoordinates()
  677.         Sound0:Play()
  678.         canwalk = true
  679.         textfag.Text = owner.Character.Name.." the Bad Cop"
  680.         owner.Character.Humanoid.WalkSpeed = 20
  681.         owner.Character.Humanoid.JumpPower = 80
  682.         for i = 1, #go do
  683.             local pos = Instance.new("Part", humanoid.Parent)
  684.             pos.Name = "GoTo1"
  685.             pos.TopSurface = "Smooth"
  686.             pos.BottomSurface = "Smooth"
  687.             pos.Transparency = 1
  688.             pos.CanCollide = false
  689.             pos.Size = Vector3.new(0.4,0.4,0.4)
  690.             pos.Anchored = true
  691.             pos.Position = go[i] + Vector3.new(0,2.8,0)
  692.             for i = 0,0.5 , 0.04 do
  693.                 humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(pos.CFrame,i)
  694.                 game:GetService("RunService").Stepped:wait()
  695.             end
  696.             pos:destroy()
  697.             --humanoid.Parent.Torso.CFrame = CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Jailol.GlassDoor.Position)
  698.         end
  699.         using = false
  700.         humanoid.Parent.Torso.Anchored = true
  701.         for i = 0,1 , 0.03 do
  702.             humanoid.Parent.Torso.CFrame = Part3.CFrame:lerp(humanoid.Parent.Torso.CFrame * CFrame.new(0,-1,-1.5),i)
  703.             game:GetService("RunService").Stepped:wait()
  704.         end
  705.         local torposit = humanoid.Parent.Torso.CFrame
  706.         local txtfage = Instance.new("BillboardGui", humanoid.Parent.Head)
  707.         txtfage.Adornee = oboi
  708.         txtfage.Name = "time"
  709.         txtfage.Size = UDim2.new(2, 0, 1.2, 0)
  710.         txtfage.StudsOffset = Vector3.new(-5, 3, 0)
  711.         local textfag = Instance.new("TextLabel", txtfage)
  712.         textfag.Size = UDim2.new(6, 0, 1, 0)
  713.         textfag.FontSize = "Size8"
  714.         textfag.TextScaled = true
  715.         textfag.TextTransparency = 0
  716.         textfag.BackgroundTransparency = 1
  717.         textfag.TextTransparency = 0
  718.         textfag.TextStrokeTransparency = 0
  719.         textfag.Font = "Arial"
  720.         textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  721.         v = Instance.new("Part")
  722.         v.Name = "ColorBrick"
  723.         v.Parent = part
  724.         v.FormFactor = "Symmetric"
  725.         v.Anchored = true
  726.         v.CanCollide = false
  727.         v.BottomSurface = "Smooth"
  728.         v.TopSurface = "Smooth"
  729.         v.Size = Vector3.new(10, 5, 3)
  730.         v.Transparency = 0.7
  731.         v.BrickColor = humanoid.Parent.Torso.BrickColor
  732.         v.Transparency = 1
  733.         textfag.TextColor3 = v.BrickColor.Color
  734.         textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  735.         v.Shape = "Block"
  736.         local numberfag = Instance.new("NumberValue", txtfage)
  737.         numberfag.Name = "TimeValue"
  738.         numberfag.Value = math.random(500,1000)
  739.         textfag.Text = humanoid.Parent.Name.." (Time: "..numberfag.Value..")"
  740.         humanoid.Parent.Torso.Anchored = false
  741.         humanoid.WalkSpeed = 16
  742.         humanoid.JumpPower = 80
  743.         wait(2)
  744.         humanoid.Parent.Torso.CFrame = torposit
  745.     end
  746. end
  747. owner.Character.Torso.Touched:connect(stop)
  748. while true do
  749.     for i,v in pairs(game.Players:GetChildren()) do
  750.         if v.Character then
  751.             if v.Character:findFirstChild("Head") then
  752.                 local timebillboard = v.Character.Head:findFirstChild("time")
  753.                 if timebillboard then
  754.                     local timetxt = timebillboard:findFirstChild("TimeValue")
  755.                     if timetxt then
  756.                         for q,w in pairs(v.Character:GetChildren()) do
  757.                             if w.ClassName == "LocalScript" or w.ClassName == "Script" or w.ClassName == "Sound" then
  758.                                 w:Remove()
  759.                             end
  760.                         end
  761.                         timetxt.Value = timetxt.Value - 1
  762.                         timebillboard.TextLabel.Text = v.Character.Name.." (Time: "..timetxt.Value..")"
  763.                     end
  764.                     if timetxt.Value < 1 then
  765.                         v.Character.Torso.CFrame = owner.Character.Jailol.Posof.CFrame * CFrame.new(0,2,0)
  766.                         timebillboard:destroy()
  767.                         local humm = v.Character:findFirstChildOfClass("Humanoid")
  768.                         if humm then
  769.                             humm.Name = "Humanoid"
  770.                             humm:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
  771.                         end
  772.                     end
  773.                 end
  774.             end
  775.         end
  776.     end
  777.     if canwalk then
  778.         if owner.Character.Torso.Velocity.x < -0.5 or owner.Character.Torso.Velocity.x > 0.5 or owner.Character.Torso.Velocity.z < -0.5 or owner.Character.Torso.Velocity.z > 0.5 then
  779.             for i = 0,0.45 , 0.035 do
  780.                 if canwalk then
  781.                     headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i)
  782.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1.00000024, -2.65673585e-22, 0, 2.61637394e-22, 0.984807849, -0.17364803, 4.61336744e-23, 0.173647985, 0.984808087):inverse(),i)
  783.                     rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86566889, 0.695530891, 1.00000024, 2.03517657e-22, 1.70771776e-22, -2.65673585e-22, 0.76604414, 0.642788053, 0, -0.642788231, 0.766044319),i)
  784.                     llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.530218601, -1.82889962, -0.714493513, 0.992945731, -0.0400093496, -0.111618601, -0.0400080197, 0.773099542, -0.633021653, 0.111619085, 0.633021772, 0.766045153),i)
  785.                     lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.64980125, 0.0399148464, 0.717731237, 0.984808087, 0.133022189, 0.111618683, -0.173647985, 0.754407108, 0.633021653, 5.43957649e-23, -0.642787218, 0.766045153),i)
  786.                     rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.136151552, -0.559810162, 0.984808087, -0.173648104, -2.98209869e-07, 0.133021981, 0.754406869, -0.642787337, 0.111619018, 0.63302213, 0.766044855),i)
  787.                     game:GetService("RunService").Stepped:wait()
  788.                 end
  789.             end
  790.             for i = 0,0.45 , 0.035 do
  791.                 if canwalk then
  792.                     headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i)
  793.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0726344585, -2.38418579e-07, 1.00000024, -2.65673585e-22, 0, 2.6163742e-22, 0.984807968, -0.173648044, 4.61336838e-23, 0.173648, 0.984808207):inverse(),i)
  794.                     rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86078393, -0.713530302, 1.00000024, 2.03517695e-22, -1.70771801e-22, -2.65673585e-22, 0.766044259, -0.642788112, 0, 0.642788291, 0.766044438),i)
  795.                     llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.70853138, -1.75833619, 0.89703536, 0.992945731, 0.102975316, -0.0587838776, -0.0400080234, 0.757652104, 0.651431441, 0.111619093, -0.644484162, 0.756427169),i)
  796.                     lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.66348219, 0.137681007, -0.535534859, 0.984808087, 0.133022189, -0.111618683, -0.173648, 0.754407227, -0.633021653, 0, 0.642787278, 0.766045332),i)
  797.                     rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.118935108, 0.435078144, 0.984808207, -0.173647344, -9.4095941e-07, 0.111619018, 0.63302201, 0.766044796, -0.133021042, -0.754407227, 0.642787576),i)
  798.                     game:GetService("RunService").Stepped:wait()
  799.                 end
  800.             end
  801.         else
  802.             if canwalk then
  803.                 for i = 0,0.5 , 0.03 do
  804.                     if canwalk then
  805.                         --macheteweld.C0 = macheteweld.C0:lerp(CFrame.new(-0.0285909176, -0.964775562, -1.62501633, 2.65673535e-22, 1, 5.23747954e-22, 1, -2.65673535e-22, -3.13253081e-22, -3.13253081e-22, 5.23747954e-22, -1),i)
  806.                         headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.939692736, 2.65673535e-22, -0.342019886, -1.42512683e-22, 1, 3.85227261e-22, 0.342019916, -3.13253081e-22, 0.939692736),i)
  807.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i)
  808.                         rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  809.                         llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  810.                         lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.65210819, 0.0268206596, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  811.                         rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805298, 0.00370526314, -0.166603565, 0.984807849, -0.173648134, -3.13053391e-07, 0.171009988, 0.969846368, -0.173648238, 0.0301539954, 0.171010062, 0.984807789),i)
  812.                         game:GetService("RunService").Stepped:wait()
  813.                     end
  814.                 end
  815.             end
  816.         end
  817.     end
  818.     wait()
  819. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement