Advertisement
TehLy

PF Aimbot

Sep 2nd, 2016
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. _G.TeleportTeammates=false -- i should just make a global TeammatesAreEnemies and use that for esp, aimbot, etc. that's why im using globals for this anyway... why'd i even name it this.
  2. _G.ClipCharacters=true -- im pretty sure i named this improperly tbh
  3.  
  4. local key = "t"
  5. local key_that_sets_position="="
  6. local LocalPlayer = game:service("Players").LocalPlayer
  7. local running = false
  8. local mouse = LocalPlayer:GetMouse()
  9.  
  10. _G.TeleportOffset=Vector3.new(0,5,0)
  11. _G.TeleportPosition=Vector3.new(0,0,0)
  12.  
  13. local keydown = mouse.KeyDown:connect(function(k)
  14. if (k == key) then
  15. running = not running
  16. print("[FE-TP] FilterTP ".. (running and "activated." or "deactivated."))
  17. end
  18. end)
  19.  
  20. local setposition = mouse.KeyDown:connect(function(pressed_key)
  21. if (pressed_key==key_that_sets_position) then
  22. _G.TeleportPosition=mouse.Hit.p+_G.TeleportOffset
  23. print("[FE-TP] Coordinates updated to: " ..tostring(_G.TeleportPosition))
  24. end
  25. end)
  26.  
  27. game:GetService("RunService"):BindToRenderStep("Camera", Enum.RenderPriority.Camera.Value, function()
  28. if running==false then return end
  29. for i,v in pairs(game:service("Players"):GetChildren()) do
  30. if(v ~= LocalPlayer and v.Character and (v.TeamColor ~= LocalPlayer.TeamColor or _G.TeleportTeammates)) then
  31. if _G.ClipCharacters == false then
  32. v.Character:MoveTo(_G.TeleportPosition)
  33. else
  34. v.Character.HumanoidRootPart.CFrame=CFrame.new(_G.TeleportPosition)
  35. end
  36. end
  37. end
  38. end)
  39.  
  40. _G.FETP_disconnect = function()
  41. running = false;
  42. keydown:disconnect()
  43. _G.FETP_disconnect = nil
  44. warn"[FE-TP] globally deactivated."
  45. end
  46.  
  47. print"[FE-TP] loaded."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement