Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ProtectionX v0.1! By EncodedPixels--
- -- This script is by EncodedPixels, however, Feel free to modify the script as much as you like, but put "Modified from ProtectionX" --
- ProtectionOwner = "EncodedPixels" -- Me, the owner. !!!DO NOT CHANGE!!!
- ProtectionAdmin = "NOO_ONEEEEE" -- No one is the admin yet
- -- The variables to make it clear that a protectionX Owner/Admin has entered --
- AdminEnterMessage = Instance.new("Message",Workspace)
- OwnerEnterMessage = Instance.new("Message",Workspace)
- OwnerServerEntered = game.Workspace.findFirstChild(ProtectionOwner)
- AdminServerEntered = game.Workspace:findFirstChild(ProtectionAdmin)
- LoadingMessage = Instance.new("Message")
- -- The loading part
- LoadingMessage.Text = "Loading."
- wait(1)
- LoadingMessage.Text = "Loading.."
- wait(1)
- LoadingMessage.Text = "Loading..."
- wait(0.5)
- LoadingMessage.Text = "ProtectionX has loaded!"
- wait(2.5)
- LoadingMessage.Text:Remove()
- -- The action
- if AdminServerEntered then
- wait(5)
- AdminEnterMessage.Text = "A protectionX Admin has entered this server!"
- wait(5)
- AdminEnterMessage.Text:Remove()
- end
- if OwnerServerEntered then
- wait(5)
- OwnerEnterMessage.Text = "The protectionX owner has entered your server!"
- wait(5)
- OwnerEnterMessage.Text:Remove()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement