Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- if not Players.LocalPlayer then
- Players.PlayerAdded:Wait()
- end
- local Player = Players.LocalPlayer
- local Config = {
- PlaceIDs = {
- ["ember"] = 4601350214;
- ["obelisk"] = 4601350809;
- ["nimbus"] = 4601350656;
- ["haze"] = 4601350760;
- ["dunes"] = 4601350394;
- ["storm"] = 5084678830;
- ["tempest"] = 6901575446;
- ["training"] = 5431071837;
- ["forest of embers"] = 5447073001;
- };
- AlertID = {431839999};
- }
- local Sound = Instance.new("Sound")
- Sound.Volume = 10
- Sound.Looped = _G.AlertLooped
- Sound.SoundId = "rbxassetid://"..Config.AlertID[1]
- Sound.Parent = workspace
- local Script = workspace:WaitForChild("GLOBALTIME")
- local Item_Directory = Script:WaitForChild("clienttell")
- local function Search()
- for _, Obj in pairs(Script:GetChildren()) do
- if Obj:IsA("Model") and Item_Directory:FindFirstChild(Obj.Name) then
- return true
- end
- end
- while Player ~= nil do
- Player:WaitForChild("startevent"):FireServer("createprivateserver", Config.PlaceIDs[string.lower(_G.Village)])
- wait(1)
- end
- end
- if Item_Directory ~= nil then
- if Search() == true then
- Sound:Play()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement