Universal Script 📌
623 Views
2.7k Executions

Copy game name[OPEN SOURCE]

Universal Script 📌
OBBYman353
OBBYman353First script
1 month ago

Reviewed by QueueSherlockPaid revieweron How review works

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

Copy game name

View Raw
-- copy game name
local MarketPlaceService = game:GetService("MarketplaceService")
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

local success, placeInfo = pcall(function()
    return MarketPlaceService:GetProductInfo(game.PlaceId)
end)

local gameName = success and placeInfo.Name or "Unknown Game"

if setclipboard then
    setclipboard(gameName)
else
    warn("your executor does not support setclipboard function")
end

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CopyGreenFlashGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.Parent = PlayerGui

local greenFrame = Instance.new("Frame")
greenFrame.Size = UDim2.new(1, 0, 1, 0)
greenFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 100)
greenFrame.BackgroundTransparency = 1
greenFrame.BorderSizePixel = 0
greenFrame.Parent = screenGui

local tweenInfoIn = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
local tweenInfoOut = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In)

local fadeIn = TweenService:Create(greenFrame, tweenInfoIn, {BackgroundTransparency = 0.5})
local fadeOut = TweenService:Create(greenFrame, tweenInfoOut, {BackgroundTransparency = 1})

fadeIn:Play()


Comments

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

Tags

More universal scripts

See all
Script hub
55.5k
17.0k
Bumped 13 minutes ago
Key System
Paid
Script hub
43
2
Approved 50 minutes ago

Script hub

Kitty menu

Universal Script 📌
2.2k
24.3k
Bumped 2 hours ago
Script hub
35
2
Approved 2 hours ago
Universal Script 📌
1.4M
697.2k
Bumped 2 hours ago
Universal Script 📌
50
13
Approved 2 hours ago