Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- game name is first to join get admin (with the dog avatar) https://www.roblox.com/fr/games/109262366317994/The-first-to-join-the-server-owns-the-server
- -- https://www.youtube.com/watch?v=ZGiERGtc6A4
- local lp = game.Players.LocalPlayer
- local char = lp.Character
- local root = char:FindFirstChild("HumanoidRootPart")
- local function ShowPanel()
- lp.PlayerGui.AnnouncementMenu.Frame.Visible = true
- end
- local function killall()
- game:GetService("Players").LocalPlayer.PlayerGui.AdminButtons.main.remotes.touchey:FireServer(true)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v~= lp then
- local PROOT = v.Character:FindFirstChild("HumanoidRootPart")
- if PROOT then
- root.CFrame = PROOT.CFrame
- wait(0) -- change
- end
- end
- end
- end
- ShowPanel()
- killall() -- reset admin panel when u die
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement