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 = "Yourfirstnightmare"
- -- The variables to make it clear that a protectionX Owner/Admin has entered --
- AdminEnterMessage = Instance.new("Message", game.Workspace)
- OwnerEnterMessage = Instance.new("Message", game.Workspace)
- OwnerServerEntered = game.Workspace:findFirstChild(ProtectionOwner)
- AdminServerEntered = game.Workspace:findFirstChild(ProtectionAdmin)
- LoadingMessage = Instance.new("Message", game.Workspace)
- print("Line 11 working")
- -- 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:Remove()
- print("Working so far")
- -- The action
- if AdminServerEntered then
- wait(5)
- AdminEnterMessage.Text = "A protectionX Admin has entered this server!"
- wait(5)
- AdminEnterMessage.Text:Remove()
- end
- print("Line 30 working")
- if OwnerServerEntered then
- wait(5)
- OwnerEnterMessage.Text = "The protectionX owner has entered your server!"
- wait(5)
- OwnerEnterMessage:Remove()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement