Universal Script 📌
168 Views
94 Executions

SOIHUB

Universal Script 📌
soisuke
soisukeFirst script
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

お楽しみ

View Raw
-- Roblox LocalScript
local Player = game.Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")

-- 1. GUIの作成
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SoiSpecialGui"
screenGui.Parent = PlayerGui

-- 2. 画像表示(ImageLabel)の設定
local imageLabel = Instance.new("ImageLabel")
imageLabel.Size = UDim2.new(0.5, 0, 0.5, 0) -- 画面の半分のサイズ
imageLabel.Position = UDim2.new(0.25, 0, 0.25, 0) -- 真ん中に配置
imageLabel.Image = "rbxassetid://14220389331" -- 指定の画像ID
imageLabel.Parent = screenGui

-- 3. 閉じるボタン(画像を消すためのボタン)
local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0.1, 0, 0.05, 0)
closeButton.Position = UDim2.new(0.45, 0, 0.76, 0)
closeButton.Text = "閉じる"
closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.Parent = screenGui

-- 4. メッセージ表示用のテキスト
local messageLabel = Instance.new("TextLabel")
messageLabel.Size = UDim2.new(0.6, 0, 0.2, 0)
messageLabel.Position = UDim2.new(0.2, 0, 0.4, 0)
messageLabel.Text = "そいだよーwwwww"
messageLabel.TextSize = 50
messageLabel.TextColor3 = Color3.fromRGB(255, 255, 0) -- 黄色
messageLabel.BackgroundTransparency = 1 -- 背景透明
messageLabel.Visible = false -- 最初は隠しておく
messageLabel.Parent = screenGui

-- 5. ボタンを押した時の処理
closeButton.MouseButton1Click:Connect(function()
    imageLabel.Visible = false -- 画像を消す
    closeButton.Visible = false -- ボタンを消す


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
144
987
Bumped 29 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 47 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High Quality Offering
Universal Script 📌
306
977
Bumped 5 hours ago