RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a gui that shares your screen"
-- local script local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Parent = player.PlayerGui local frame = Instance.new("Frame") frame.Parent = screenGui frame.Size = UDim2.new(1,0,1,0) local shareButton = Instance.new("TextButton") shareButton.Parent = frame shareButton.Size = UDim2.new(0.2,0,0.2,0) shareButton.Position = UDim2.new(0.4,0,0.4,0) shareButton.Text = "Share" shareButton.MouseButton1Click:Connect(function() game.Players.LocalPlayer:ShareScreenshot() end)