Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BorderColor3 = Color3.new(1, 0, 0)
- Frame.BorderSizePixel = 10
- Frame.Position = UDim2.new(0, 36, 0, 119)
- Frame.Size = UDim2.new(0, 257, 0, 301)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BorderColor3 = Color3.new(1, 0, 0)
- TextLabel.BorderSizePixel = 10
- TextLabel.Size = UDim2.new(0, 257, 0, 22)
- TextLabel.Font = Enum.Font.Code
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Killstrikebrody's ADMIN Menu"
- TextLabel.TextColor3 = Color3.new(1, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BorderColor3 = Color3.new(1, 0, 0)
- TextButton.BorderSizePixel = 10
- TextButton.Position = UDim2.new(0, 0, 0, 100)
- TextButton.Size = UDim2.new(0, 62, 0, 22)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "MSG"
- TextButton.TextColor3 = Color3.new(1, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:connect(function()
- function enter(player)
- pcall(function()
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "[OWNER OF GUI] killstrikebrody]: " ..game.Players.LocalPlayer.Name.. " Hello! This is a new gui. ";
- Color = Color3.new(0,128,0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- end)
- game.Players.ChildAdded:connect(function(player)
- if not pcall(function()
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "[OWNER OF GUI] killstrikebrody]: " ..player.Name.. " Hello! This is a new gui. https://pastebin.com/raw/AK0GyUFY";
- Color = Color3.new(0,128,0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- end) then
- print("Error")
- end
- end)
- game.Players.ChildRemoved:connect(function(player)
- if not pcall (function()
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "[Server]: " ..player.Name.. " Has left the server!";
- Color = Color3.new(255,0,0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- end) then
- print("Error")
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement