Advertisement
Samuel1234

Roblox Fling Script

May 31st, 2018
2,402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.  
  3. repeat wait() until Player.Character
  4.  
  5. local StoredCF = Player.Character:WaitForChild('Head').CFrame
  6. local IsTPing = false
  7.  
  8. local function GetPlayer(String)
  9. String = String or 'N/A'
  10.  
  11. for i,v in pairs(game.Players:GetPlayers()) do
  12. if v.Name:lower():match('^'..String:lower()) then
  13. return v
  14. end
  15. end
  16.  
  17. return false
  18. end
  19.  
  20. Player.CharacterAdded:connect(function(Char)
  21. if IsTPing then
  22. IsTPing = false
  23. Char:WaitForChild('Head').CFrame = StoredCF
  24. end
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement