
42 Views
212 Executions
khoidethuong12
Universal Script 📌
Skidder16769First script
3 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
No fyp
--[[
Starlight.RNG Script (Phiên bản Việt Hóa & Splash Screen)
- Thêm Màn hình chào mừng (Fade out sau 2.5s)
- Thêm nút Tự Động Nhập Tên Vũ Khí
- Tích hợp Anti-AFK an toàn cho cả PC & Mobile
- Việt hóa 100% giao diện
]]--
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local RunService = game:GetService("RunService")
local VirtualInputManager = game:GetService("VirtualInputManager")
local VirtualUser = game:GetService("VirtualUser")
local TweenService = game:GetService("TweenService") -- Thêm TweenService để làm mượt hiệu ứng fade
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
-- HỆ THỐNG ANTI-AFK (An toàn cho cả PC và Mobile)
LocalPlayer.Idled:Connect(function()
VirtualUser:Button2Down(Vector2.new(0, 0), Workspace.CurrentCamera.CFrame)
task.wait(1)
VirtualUser:Button2Up(Vector2.new(0, 0), Workspace.CurrentCamera.CFrame)
end)
-- GIAO DIỆN CHÍNH (GUI)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "StarlightRNGGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = PlayerGui
---------------------------------------------------------
-- MÀN HÌNH CHÀO MỪNG (WELCOME SCREEN)
---------------------------------------------------------
local WelcomeFrame = Instance.new("Frame")
WelcomeFrame.Size = UDim2.new(1, 0, 1, 0) -- Phủ kín toàn màn hình
WelcomeFrame.Position = UDim2.new(0, 0, 0, 0)
WelcomeFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) -- Màu nền tối để tạo độ tương phản cao
WelcomeFrame.BorderSizePixel = 0
WelcomeFrame.ZIndex = 100 -- Đảm bảo luôn nằm trên cùng
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







