Run it
Copy the script and paste it into your executor.
-- Create a GUI for the key system
local keyGui = Instance.new("ScreenGui")
keyGui.Name = "KeyGui"
keyGui.Parent = game.Players.LocalPlayer:()
keyFrame = .()
keyFrame.Parent = keyGui
keyFrame.Size = .(, , , )
keyFrame.Position = .(, , , )
keyFrame.BackgroundTransparency =
keyLabel = .()
keyLabel.Parent = keyFrame
keyLabel.Size = .(, , , )
keyLabel.Position = .(, , , )
keyLabel.Text =
keyTextBox = .()
keyTextBox.Parent = keyFrame
keyTextBox.Size = .(, , , )
keyTextBox.Position = .(, , , )
keyTextBox.BackgroundTransparency =
keyButton = .()
keyButton.Parent = keyFrame
keyButton.Size = .(, , , )
keyButton.Position = .(, , , )
keyButton.BackgroundTransparency =
keyButton.Text =
keyUnlocked = .()
keyUnlocked.Name =
keyUnlocked.Parent = keyGui
keyUnlocked.Value =
keyButton.MouseButton1Click:(()
keyTextBox.Text ==
keyUnlocked.Value =
keyFrame:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quad, )
()
keyTextBox.Text =
()
)
openScriptEvent = .()
openScriptEvent.Name =
openScriptEvent.Parent = .ReplicatedStorage
keyUnlocked.ValueChanged:((value)
value ==
openScriptEvent:()
)
.ServerScriptService.OpenScriptServer.Script:(()
()
)
(player, message)
.StarterGui:(, {
Title = ;
Text = message;
Duration = ;
})
Key system script for all of you who need a key system script

Universal