Advertisement
Balakyrie

Safe chat disable

Mar 11th, 2016
3,567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. function onPlayerEntered(newPlayer)
  2. if newPlayer.SuperSafeChat then
  3. if newPlayer.Character ~= nil then
  4. local p = newPlayer.Character:GetChildren()
  5. for a = 1, #p do
  6. if p[a].className == "Part" then
  7. p[a].Anchored = true
  8. end
  9. end
  10. msg = Instance.new("Hint")
  11. msg.Parent = newPlayer
  12. msg.Text = "Disabling Super Safe Chat..."
  13. wait(3)
  14. newPlayer.SuperSafeChat = false
  15. msg:remove()
  16. for i = 1, #p do
  17. if p[i].className == "Part" then
  18. p[i].Anchored = false
  19. end
  20. end
  21. end
  22. end
  23. end
  24. game.Players.ChildAdded:connect(onPlayerEntered)
  25.  
  26. --Mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement