Advertisement
sahdudelol123

Untitled

Mar 28th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. local char = game.Players.LocalPlayer.Character;
  2. mouse = game.Players.LocalPlayer:getMouse()
  3. mouse.Button1Down:connect(function()
  4. if game.Players:GetPlayerFromCharacter(mouse.Target.Parent) then
  5. local selected = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  6. if game.Players.LocalPlayer.Character:findFirstChildOfClass("Tool") then
  7. local tool = game.Players.LocalPlayer.Character:findFirstChildOfClass("Tool")
  8. if char:findFirstChild("cr") then
  9. if selected ~= nil then
  10. char.cr:FireServer(selected.Character.Torso.CFrame)
  11. if char.fv.Value==true then
  12. wait(0.08)
  13. char.fv.Value = false
  14. end
  15. if char.cd.Value==true then
  16. wait(0.08)
  17. char.cd.Value = false
  18. end
  19. if char.rv.Value==true then
  20. wait(0.2)
  21. char.rv.Value = false
  22. end
  23. end
  24. end
  25. end
  26. end
  27. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement