Advertisement
Guest User

Untitled

a guest
Jan 6th, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local require = GLOBAL.require
  2.  
  3. function DisableMovementPrediction(wrld, player)
  4. if player == GLOBAL.ThePlayer then
  5. player:EnableMovementPrediction(false)
  6. end
  7. end
  8.  
  9. function WaitPlayerActivated(wrld)
  10. wrld:ListenForEvent("playeractivated", DisableMovementPrediction)
  11. end
  12.  
  13. AddPrefabPostInit("world", WaitPlayerActivated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement