Advertisement
Rufus14

Content Cop v2 (LOCALSIDED)

Dec 25th, 2018
1,471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.32 KB | None | 0 0
  1. --By Rufus14
  2. for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
  3.     if v.Name == "CopBegin" or v.Name == "CopWalk" or v.Name == "CopBust" or v.Name == "CopTaunt" then
  4.         v:destroy()
  5.     end
  6. end
  7. local RunTheServersided = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. --Properties:
  11. RunTheServersided.Name = "RunTheServersided"
  12. RunTheServersided.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13.  
  14. Frame.Parent = RunTheServersided
  15. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  16. Frame.BackgroundTransparency = 0.64999997615814
  17. Frame.Size = UDim2.new(1, 0, 1, 0)
  18.  
  19. TextLabel.Parent = Frame
  20. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  21. TextLabel.BackgroundTransparency = 1
  22. TextLabel.Position = UDim2.new(0.427, 0, 0.427, 0)
  23. TextLabel.Size = UDim2.new(0, 464, 0, 117)
  24. TextLabel.Font = Enum.Font.SourceSans
  25. TextLabel.Text = "Run the serversided script now."
  26. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  27. TextLabel.TextSize = 39
  28. mouse = game.Players.LocalPlayer:GetMouse()
  29. local walkevent = game.ReplicatedStorage:WaitForChild("CopWalk")
  30. local startevent = game.ReplicatedStorage:WaitForChild("CopBegin")
  31. local bustevent = game.ReplicatedStorage:WaitForChild("CopBust")
  32. startevent:FireServer()
  33. local content = game.Players.LocalPlayer.Character.Head:WaitForChild("iDubbbzTV Content Cop Theme song")
  34. RunTheServersided:destroy()
  35. local humanoid = game.Players.LocalPlayer.Character.Humanoid
  36. function walk(speed)
  37.     if speed > 5 then
  38.         walkevent:FireServer(true)
  39.     else
  40.         walkevent:FireServer(false)
  41.     end
  42. end
  43. humanoid.Running:connect(walk)
  44. function die()
  45.     workspace.CurrentCamera.FieldOfView = 70
  46.     script:Remove()
  47. end
  48. humanoid.Died:connect(die)
  49. function busted()
  50.     local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
  51.     if humanoid then
  52.         print("Busting "..humanoid.Parent.Name)
  53.         bustevent:FireServer(humanoid.Parent)
  54.     end
  55. end
  56. mouse.Button1Down:connect(busted)
  57. while content.PlaybackLoudness < 600 do
  58.     game:GetService("RunService").RenderStepped:wait()
  59. end
  60. workspace.CurrentCamera.FieldOfView = 110
  61. for i = 1,20 do
  62.     wait()
  63.     workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 2
  64. end
  65. while game:GetService("RunService").RenderStepped:wait() do
  66.     workspace.CurrentCamera.FieldOfView = 70 + content.PlaybackLoudness / 200
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement