Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Should I create GUIs on the fly or just clone them from ReplicatedStorage?

Which option is faster?

1 answer

The fastest option is cloning, but if you don't want any exploiters to get easy access to it, use Instances.

local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0,120,0,400)
--In-game instances make the frame insert with the size and position 0,0

3 comments

0

what would exploiters be able to do if they got access to it?

0

If the exploiter can see it, they can steal it.

0

If you use clone and an exploiter has acess to it, he can make the gui visible and use it.

This discussion is preserved as it was. New answers, comments, and votes are closed.