4zx16

One Player GUI View

Jul 17th, 2021 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local WhitelistedOneUser = game.Players.LocalPlayer
  2. local ViewFrame = script.Parent
  3.  
  4. if WhitelistedOneUser == "Your Name Here" then
  5.     -- Player is whitelisted, and frame will not be deleted.
  6. else
  7.     ViewFrame:Destroy()
  8. end
Advertisement
Add Comment
Please, Sign In to add comment