Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(plr)
- if plr.Name == "Admin1" or "Admin2" then -- in the ""s put admin names
- plr.Chatted:Connect(function(msg)
- if msg == "LoadMap" then -- in the ""s put the command
- local obby = game.ServerStorage.Obby1 -- change Obby1 with the map in server storage
- if obby.Parent == game.ServerStorage then
- print("Obbyload Success!")
- obby.Parent = game.Workspace
- elseif obby.Parent == game.workspace then
- print("Obby already Loaded!")
- end
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement