Universal Script 📌
994 Views
778 Executions

Emote freezer

Universal Script 📌
busya8488
busya8488First script
3 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

Скрипт сделан мной и гемими пока я его делал я съел:2 творожка даниссимо / script by Gemimi and me FE

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

-- Удаляем старую кнопку, если она уже была создана ранее
for _, oldGui in ipairs({player:FindFirstChild("PlayerGui"), game:GetService("CoreGui")}) do
    if oldGui then
        local existing = oldGui:FindFirstChild("FreezeAnimGui_Ultra")
        if existing then existing:Destroy() end
    end
end

-- ================= 1. МГНОВЕННОЕ СОЗДАНИЕ КНОПКИ =================
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FreezeAnimGui_Ultra"
screenGui.ResetOnSpawn = false
screenGui.DisplayOrder = 999999

-- Самый надежный метод добавления GUI на экран
local targetParent = nil
if gethui then
    pcall(function() targetParent = gethui() end)
end
if not targetParent then
    pcall(function() targetParent = game:GetService("CoreGui") end)
end
if not targetParent then
    targetParent = player:WaitForChild("PlayerGui", 3) or player:FindFirstChildOfClass("PlayerGui")
end

screenGui.Parent = targetParent

local toggleBtn = Instance.new("TextButton")
toggleBtn.Name = "FreezeBtn"
toggleBtn.Size = UDim2.new(0, 150, 0, 50)
-- Позиция: Центр экрана в верхней части
toggleBtn.Position = UDim2.new(0.5, -75, 0.15, 0)
toggleBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)


Comments

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

Tags

More universal scripts

See all
Universal Script 📌
48.5k
46.5k
Bumped 2 hours ago
Universal Script 📌
1.4k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago