
33 Views
6 Executions
Rayfield universal script best
Universal Script 📌
Cursed_guyFirst script
3 days ago · Updated
Reviewed by MatttsPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
So many to try out
-- Wait for the game to fully load
if not game:IsLoaded() then
game.Loaded:Wait()
end
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local Camera = workspace.CurrentCamera
-- Helper function to get GUI Parent safely
local function getParentGui()
if gethui then
return gethui()
end
local success, res = pcall(function() return CoreGui end)
if success and res then
return res
end
return LocalPlayer:WaitForChild("PlayerGui")
end
-- 1. INSTANT LOADING SCREEN
local LoadGui = Instance.new("ScreenGui")
LoadGui.Name = "CustomLoadGui"
LoadGui.ResetOnSpawn = false
LoadGui.IgnoreGuiInset = true
LoadGui.Parent = getParentGui()
local LoadFrame = Instance.new("Frame")
LoadFrame.Size = UDim2.new(1, 0, 1, 0)
LoadFrame.BackgroundColor3 = Color3.fromRGB(8, 8, 8)
LoadFrame.Parent = LoadGui
local CenterFrame = Instance.new("Frame")
CenterFrame.Size = UDim2.new(0, 450, 0, 200)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







