fork download
  1. import java.util.*
  2.  
  3. fun main(args: Array<String>) {
  4. val sc = Scanner(System.`in`)
  5.  
  6. }
Success #stdin #stdout 0.13s 41808KB
stdin
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "MyImageGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0.7, 0, 0.5, 0)
frame.Position = UDim2.new(0.15, 0, 0.25, 0)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BackgroundTransparency = 0.4
frame.Parent = screenGui

local image = Instance.new("ImageLabel")
image.Size = UDim2.new(1, -20, 1, -70)
image.Position = UDim2.new(0, 10, 0, 10)
image.BackgroundTransparency = 1
image.Image = "rbxassetid://MASUKKAN_ID_GAMBAR"   -- Ganti ID
image.Parent = frame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 50)
title.BackgroundTransparency = 1
title.Text = "Script Buatan Sendiri"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextScaled = true
title.Parent = frame

-- Tombol Close
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 90, 0, 35)
closeBtn.Position = UDim2.new(1, -100, 0, 10)
closeBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
closeBtn.Text = "Tutup"
closeBtn.TextColor3 = Color3.new(1,1,1)
closeBtn.Parent = frame

closeBtn.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)
stdout
Standard output is empty