SHOW:
|
|
- or go back to the newest paste.
| 1 | --ProtectionX v0.1! By EncodedPixels-- | |
| 2 | -- This script is by EncodedPixels, however, Feel free to modify the script as much as you like, but put "Modified from ProtectionX" -- | |
| 3 | ProtectionOwner = "EncodedPixels" -- Me, the owner. !!!DO NOT CHANGE!!! | |
| 4 | - | ProtectionAdmin = "" -- No one is the admin yet |
| 4 | + | ProtectionAdmin = "NOO_ONEEEEE" -- No one is the admin yet |
| 5 | -- The variables to make it clear that a protectionX Owner/Admin has entered -- | |
| 6 | AdminEnterMessage = Instance.new("Message",Workspace)
| |
| 7 | OwnerEnterMessage = Instance.new("Message",Workspace)
| |
| 8 | OwnerServerEntered = game.Workspace.findFirstChild(ProtectionOwner) | |
| 9 | AdminServerEntered = game.Workspace:findFirstChild(ProtectionAdmin) | |
| 10 | LoadingMessage = Instance.new("Message")
| |
| 11 | ||
| 12 | -- The loading part | |
| 13 | LoadingMessage.Text = "Loading." | |
| 14 | wait(1) | |
| 15 | LoadingMessage.Text = "Loading.." | |
| 16 | wait(1) | |
| 17 | LoadingMessage.Text = "Loading..." | |
| 18 | wait(0.5) | |
| 19 | LoadingMessage.Text = "ProtectionX has loaded!" | |
| 20 | wait(2.5) | |
| 21 | LoadingMessage.Text:Remove() | |
| 22 | ||
| 23 | -- The action | |
| 24 | if AdminServerEntered then | |
| 25 | wait(5) | |
| 26 | AdminEnterMessage.Text = "A protectionX Admin has entered this server!" | |
| 27 | wait(5) | |
| 28 | AdminEnterMessage.Text:Remove() | |
| 29 | end | |
| 30 | ||
| 31 | if OwnerServerEntered then | |
| 32 | wait(5) | |
| 33 | OwnerEnterMessage.Text = "The protectionX owner has entered your server!" | |
| 34 | wait(5) | |
| 35 | OwnerEnterMessage.Text:Remove() | |
| 36 | end |