Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. local AUTOEXECUTE = true;
  2. local AUTOEXECUTE_KEY = "t";
  3. local DISPLAYNAPES = false;
  4. local NAPECOLOR = BrickColor.Red();
  5. local NAPETRANSPARENCY = 0.35;
  6.  
  7. if DISPLAYNAPES then
  8. for i, v in next, workspace.Titans:children() do
  9. if v:FindFirstChild("Nape") then
  10. v.Nape.BrickColor = NAPECOLOR;
  11. v.Nape.Transparency = NAPETRANSPARENCY;
  12. end
  13. end
  14. end
  15.  
  16. local m = game.Players.LocalPlayer:GetMouse();
  17. local char = game.Players.LocalPlayer.Character;
  18.  
  19. if AUTOEXECUTE then
  20. m.KeyDown:connect(function(k)
  21. if k == AUTOEXECUTE_KEY then
  22. local targ = m.Target;
  23.  
  24. if targ and targ.Parent.Parent == workspace.Titans then
  25. targ = targ.Parent;
  26. game.Players.LocalPlayer.Backpack.Input:FireServer("m1", {mousehit = m.Hit})
  27. wait()
  28. coroutine.wrap(function()
  29. for i = 1, 15 do
  30. wait()
  31. char.HumanoidRootPart.CFrame = targ.Nape.CFrame;
  32. end
  33. end)()
  34. game.Players.LocalPlayer.Backpack.Input:FireServer("m|off", {mousehit = m.Hit})
  35. end
  36. end
  37. end)
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement