Advertisement
Pl3X

Prison Life One click one kill

Mar 27th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. local Mouse = game:GetService('Players').LocalPlayer:GetMouse()
  2. Mouse.Button1Down:Connect(function()
  3. if game:GetService('UserInputService'):IsKeyDown(Enum.KeyCode.LeftControl) and Mouse.Target then
  4. local a = Mouse.Target.Parent.Name
  5. local p = Instance.new("Part", game.Workspace)
  6. p.Name = "tppart"
  7. p.Anchored = true
  8. p.CanCollide = false
  9. p.Transparency = 1
  10. p.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.Torso.Position)
  11. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Target.Parent.HumanoidRootPart.Position)
  12. wait()
  13. for i=1,15 do
  14. local A_1 = game:GetService("Players")[a]
  15. local Event = game:GetService("ReplicatedStorage").meleeEvent
  16. Event:FireServer(A_1)
  17. wait()
  18. end
  19. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(p.Position)
  20. p:Destroy()
  21. end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement