Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local require = GLOBAL.require
- function DisableMovementPrediction(wrld, player)
- if player == GLOBAL.ThePlayer then
- player:EnableMovementPrediction(false)
- end
- end
- function WaitPlayerActivated(wrld)
- wrld:ListenForEvent("playeractivated", DisableMovementPrediction)
- end
- AddPrefabPostInit("world", WaitPlayerActivated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement