Advertisement
DimowForback

mymomisgay :c

Jun 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.46 KB | None | 0 0
  1. - Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextLabel = Instance.new("TextLabel")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.CoreGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  15. Frame.BorderColor3 = Color3.new(0.160784, 0.25098, 0.317647)
  16. Frame.Position = UDim2.new(0.748549342, 0, 0.655712068, 0)
  17. Frame.Size = UDim2.new(0, 244, 0, 220)
  18.  
  19. TextButton.Parent = Frame
  20. TextButton.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  21. TextButton.BackgroundTransparency = 0.40000000596046
  22. TextButton.Position = UDim2.new(0.0898072124, 0, 0.386235595, 0)
  23. TextButton.Size = UDim2.new(0, 200, 0, 50)
  24. TextButton.Font = Enum.Font.SourceSans
  25. TextButton.Text = "lol auto arrest xD"
  26. TextButton.TextColor3 = Color3.new(0, 0, 0)
  27. TextButton.TextSize = 14
  28. TextButton.MouseButton1Down:connect(function()
  29. local loc = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
  30. local list = game:GetService('Teams').Criminal:GetPlayers()
  31. wait(0.5)
  32. for i,v in pairs(list) do
  33.     repeat wait()
  34.     loc.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1) until v.Team.Name ~= 'Criminal'
  35. end
  36. end)
  37. TextButton_2.Parent = Frame
  38. TextButton_2.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  39. TextButton_2.BackgroundTransparency = 0.40000000596046
  40. TextButton_2.Position = UDim2.new(0.0898072124, 0, 0.0544174016, 0)
  41. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  42. TextButton_2.Font = Enum.Font.SourceSans
  43. TextButton_2.Text = "lamo speed is sucks."
  44. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  45. TextButton_2.TextSize = 14
  46. TextButton_2.MouseButton1Down:connect(function()
  47. -- << K1LL0X >> --
  48.  
  49. --This may be a little buggy, so beware.
  50. --Hold "Q" to speed up
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. down = false
  58. velocity = Instance.new("BodyVelocity")
  59. velocity.maxForce = Vector3.new(100000, 0, 100000)
  60. local speed = 150
  61. gyro = Instance.new("BodyGyro")
  62. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  63.  
  64. local hum = game.Players.LocalPlayer.Character.Humanoid
  65.  
  66. function onButton1Down(mouse)
  67.     down = true
  68.     velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  69.     velocity.velocity = (hum.MoveDirection) * speed
  70.     gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  71.     while down do
  72.         if not down then break end
  73.         velocity.velocity = (hum.MoveDirection) * speed
  74.         local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  75.         gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  76.         wait(0.1)
  77.     end
  78. end
  79.  
  80. function onButton1Up(mouse)
  81.     velocity.Parent = nil
  82.     gyro.Parent = nil
  83.     down = false
  84. end
  85.  
  86. function onSelected(mouse)
  87.     mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  88.     mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  89. end
  90.  
  91. onSelected(game.Players.LocalPlayer:GetMouse())
  92. end)
  93. TextLabel.Parent = Frame
  94. TextLabel.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  95. TextLabel.BorderColor3 = Color3.new(0.286275, 0.45098, 0.564706)
  96. TextLabel.Position = UDim2.new(-1.53278685, 0, -1.85909092, 0)
  97. TextLabel.Size = UDim2.new(0, 267, 0, 22)
  98. TextLabel.Font = Enum.Font.SourceSans
  99. TextLabel.Text = "lol noob this damit gui, this veriosn alpha shitty"
  100. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  101. TextLabel.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement