Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local WhitelistedOneUser = game.Players.LocalPlayer
- local ViewFrame = script.Parent
- if WhitelistedOneUser == "Your Name Here" then
- -- Player is whitelisted, and frame will not be deleted.
- else
- ViewFrame:Destroy()
- end
Advertisement
Add Comment
Please, Sign In to add comment