
508 Views
1.1k Executions
Copy game name[OPEN SOURCE]
Universal Script 📌
3 weeks ago
Reviewed by QueueSherlockPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Copy game name
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!







