Version / Update: v1.0.0
- Download / Script Link
- local P=game:GetService("Players")
local UIS=game:GetService("UserInputService")
local TS=game:GetService("TweenService")
local LP=P.LocalPlayer
local SG=Instance.new("ScreenGui")
SG.Name="MP"
SG.Parent=LP:WaitForChild("PlayerGui")
local keyCorrect="guipremium"
local keyEntered=false
local keyFrame=Instance.new("Frame")
keyFrame.Size=UDim2.new(0,260,0,200)
keyFrame.Position=UDim2.new(0.5,-130,0.5,-100)
keyFrame.BackgroundColor3=Color3.fromRGB(8,8,18)
keyFrame.BackgroundTransparency=0.05
keyFrame.BorderSizePixel=0
keyFrame.Parent=SG
local kCorner=Instance.new("UICorner")
kCorner.CornerRadius=UDim.new(0,20)
kCorner.Parent=keyFrame
local kTitle=Instance.new("TextLabel")
kTitle.Size=UDim2.new(1,0,0,45)
kTitle.Position=UDim2.new(0,0,0,10)
kTitle.BackgroundTransparency=1
kTitle.Text=" script name"
kTitle.TextColor3=Color3.fromRGB(210,170,255)
kTitle.Font=Enum.Font.GothamBlack
kTitle.TextSize=14
kTitle.Parent=keyFrame
local kSub=Instance.new("TextLabel")
kSub.Size=UDim2.new(1,0,0,22)
kSub.Position=UDim2.new(0,0,0,52)
kSub.BackgroundTransparency=1
kSub.Text="ENTER SYSTEM KEY"
kSub.TextColor3=Color3.fromRGB(140,140,190)
kSub.Font=Enum.Font.Gotham
kSub.TextSize=9
kSub.Parent=keyFrame
local kBox=Instance.new("TextBox")
kBox.Size=UDim2.new(0.7,0,0,42)
kBox.Position=UDim2.new(0.15,0,0,82)
kBox.BackgroundColor3=Color3.fromRGB(18,18,28)
kBox.Text=""
kBox.PlaceholderText="────────"
kBox.TextColor3=Color3.fromRGB(255,255,255)
kBox.Font=Enum.Font.GothamBlack
kBox.TextSize=12
kBox.BorderSizePixel=0
kBox.Parent=keyFrame
local kBoxCorner=Instance.new("UICorner")
kBoxCorner.CornerRadius=UDim.new(0,12)
kBoxCorner.Parent=kBox
local confirmBtn=Instance.new("TextButton")
confirmBtn.Size=UDim2.new(0.28,0,0,38)
confirmBtn.Position=UDim2.new(0.05,0,0,138)
confirmBtn.BackgroundColor3=Color3.fromRGB(130,0,180)
confirmBtn.Text="CONFIRM"
confirmBtn.TextColor3=Color3.fromRGB(255,255,255)
confirmBtn.Font=Enum.Font.GothamBlack
confirmBtn.TextSize=10
confirmBtn.BorderSizePixel=0
confirmBtn.Parent=keyFrame
local confCorner=Instance.new("UICorner")
confCorner.CornerRadius=UDim.new(0,10)
confCorner.Parent=confirmBtn
local getBtn=Instance.new("TextButton")
getBtn.Size=UDim2.new(0.28,0,0,38)
getBtn.Position=UDim2.new(0.36,0,0,138)
getBtn.BackgroundColor3=Color3.fromRGB(60,60,90)
getBtn.Text="GET KEY"
getBtn.TextColor3=Color3.fromRGB(220,220,220)
getBtn.Font=Enum.Font.GothamBlack
getBtn.TextSize=10
getBtn.BorderSizePixel=0
getBtn.Parent=keyFrame
local getCorner=Instance.new("UICorner")
getCorner.CornerRadius=UDim.new(0,10)
getCorner.Parent=getBtn
local cancelBtn=Instance.new("TextButton")
cancelBtn.Size=UDim2.new(0.28,0,0,38)
cancelBtn.Position=UDim2.new(0.67,0,0,138)
cancelBtn.BackgroundColor3=Color3.fromRGB(60,60,90)
cancelBtn.Text="CANCEL"
cancelBtn.TextColor3=Color3.fromRGB(220,220,220)
cancelBtn.Font=Enum.Font.GothamBlack
cancelBtn.TextSize=10
cancelBtn.BorderSizePixel=0
cancelBtn.Parent=keyFrame
local cancelCorner=Instance.new("UICorner")
cancelCorner.CornerRadius=UDim.new(0,10)
cancelCorner.Parent=cancelBtn
-- NOTIFICATION POPUP
local notifFrame=Instance.new("Frame")
notifFrame.Size=UDim2.new(0,0,0,0)
notifFrame.Position=UDim2.new(0.5,0,0.3,0)
notifFrame.BackgroundColor3=Color3.fromRGB(5,5,12)
notifFrame.BackgroundTransparency=0.1
notifFrame.BorderSizePixel=0
notifFrame.Visible=false
notifFrame.Parent=SG
local nCorner=Instance.new("UICorner")
nCorner.CornerRadius=UDim.new(0,14)
nCorner.Parent=notifFrame
local nIcon=Instance.new("TextLabel")
nIcon.Size=UDim2.new(0,35,0,35)
nIcon.Position=UDim2.new(0,12,0,12)
nIcon.BackgroundTransparency=1
nIcon.Text="✨"
nIcon.TextColor3=Color3.fromRGB(255,200,100)
nIcon.Font=Enum.Font.GothamBlack
nIcon.TextSize=22
nIcon.Parent=notifFrame
local nText=Instance.new("TextLabel")
nText.Size=UDim2.new(1,-60,0,25)
nText.Position=UDim2.new(0,55,0,12)
nText.BackgroundTransparency=1
nText.Text=""
nText.TextColor3=Color3.fromRGB(255,255,255)
nText.Font=Enum.Font.GothamBlack
nText.TextSize=12
nText.TextXAlignment=Enum.TextXAlignment.Left
nText.Parent=notifFrame
local nSub=Instance.new("TextLabel")
nSub.Size=UDim2.new(1,-60,0,20)
nSub.Position=UDim2.new(0,55,0,37)
nSub.BackgroundTransparency=1
nSub.Text=""
nSub.TextColor3=Color3.fromRGB(160,160,200)
nSub.Font=Enum.Font.Gotham
nSub.TextSize=9
nSub.TextXAlignment=Enum.TextXAlignment.Left
nSub.Parent=notifFrame
local function showNotif(title,msg)
notifFrame.Visible=true
nText.Text=title
nSub.Text=msg
notifFrame.Size=UDim2.new(0,0,0,0)
TS:Create(notifFrame,TweenInfo.new(0.25,Enum.EasingStyle.Back),{Size=UDim2.new(0,240,0,65),Position=UDim2.new(0.5,-120,0.3,0)}):Play()
TS:Create(notifFrame,TweenInfo.new(0.2),{BackgroundTransparency=0.05}):Play()
wait(2.5)
TS:Create(notifFrame,TweenInfo.new(0.2),{Size=UDim2.new(0,0,0,0),BackgroundTransparency=1}):Play()
wait(0.2)
notifFrame.Visible=false
end
local main=Instance.new("Frame")
main.Size=UDim2.new(0,250,0,340)
main.Position=UDim2.new(0.5,-125,0.5,-170)
main.BackgroundColor3=Color3.fromRGB(6,6,16)
main.BackgroundTransparency=0.1
main.BorderSizePixel=0
main.Visible=false
main.Parent=SG
local mCorner=Instance.new("UICorner")
mCorner.CornerRadius=UDim.new(0,18)
mCorner.Parent=main
local head=Instance.new("Frame")
head.Size=UDim2.new(1,0,0,38)
head.BackgroundColor3=Color3.fromRGB(18,16,30)
head.BorderSizePixel=0
head.Parent=main
local hCorner=Instance.new("UICorner")
hCorner.CornerRadius=UDim.new(0,18)
hCorner.Parent=head
local mTitle=Instance.new("TextLabel")
mTitle.Size=UDim2.new(1,-45,1,0)
mTitle.Position=UDim2.new(0,10,0,0)
mTitle.BackgroundTransparency=1
mTitle.Text="cr : FoyagerScripterteXm"
mTitle.TextColor3=Color3.fromRGB(210,170,255)
mTitle.Font=Enum.Font.GothamBlack
mTitle.TextSize=12
mTitle.TextXAlignment=Enum.TextXAlignment.Left
mTitle.Parent=head
local minBtn=Instance.new("TextButton")
minBtn.Size=UDim2.new(0,28,0,28)
minBtn.Position=UDim2.new(1,-36,0,5)
minBtn.BackgroundColor3=Color3.fromRGB(45,45,65)
minBtn.Text="−"
minBtn.TextColor3=Color3.fromRGB(255,255,255)
minBtn.Font=Enum.Font.GothamBlack
minBtn.TextSize=18
minBtn.BorderSizePixel=0
minBtn.Parent=head
local minCorner=Instance.new("UICorner")
minCorner.CornerRadius=UDim.new(0,14)
minCorner.Parent=minBtn
local btnBar=Instance.new("Frame")
btnBar.Size=UDim2.new(1,0,0,34)
btnBar.Position=UDim2.new(0,0,0,38)
btnBar.BackgroundColor3=Color3.fromRGB(10,10,20)
btnBar.BorderSizePixel=0
btnBar.Parent=main
local menuList={"CMBT","VIS","MSC","STG"}
local menuBtns={}
local menuInd={}
for i,n in ipairs(menuList)do
local b=Instance.new("TextButton")
b.Size=UDim2.new(0.25,0,1,0)
b.Position=UDim2.new((i-1)*0.25,0,0,0)
b.BackgroundTransparency=1
b.Text=n
b.TextColor3=Color3.fromRGB(140,140,170)
b.Font=Enum.Font.GothamBlack
b.TextSize=10
b.Parent=btnBar
menuBtns[n]=b
local ind=Instance.new("Frame")
ind.Size=UDim2.new(0.5,0,0,2)
ind.Position=UDim2.new(0.25,0,1,-4)
ind.BackgroundColor3=Color3.fromRGB(170,0,210)
ind.BackgroundTransparency=1
ind.BorderSizePixel=0
ind.Parent=b
menuInd[n]=ind
end
local cont=Instance.new("Frame")
cont.Size=UDim2.new(1,0,1,-72)
cont.Position=UDim2.new(0,0,0,72)
cont.BackgroundTransparency=1
cont.Parent=main
local pages={}
for _,n in ipairs(menuList)do
local p=Instance.new("Frame")
p.Size=UDim2.new(1,0,1,0)
p.BackgroundTransparency=1
p.Visible=false
p.Parent=cont
local txt=Instance.new("TextLabel")
txt.Size=UDim2.new(1,0,1,0)
txt.BackgroundTransparency=1
txt.Text="◈ "..n.." ◈\n\n[ EMPTY ]"
txt.TextColor3=Color3.fromRGB(120,120,160)
txt.Font=Enum.Font.Gotham
txt.TextSize=10
txt.TextWrapped=true
txt.Parent=p
pages[n]=p
end
local curPage="CMBT"
pages[curPage].Visible=true
menuBtns[curPage].TextColor3=Color3.fromRGB(255,255,255)
menuInd[curPage].BackgroundTransparency=0
for n,b in pairs(menuBtns)do
b.MouseButton1Click:Connect(function()
if curPage==n then return end
pages[curPage].Visible=false
menuBtns[curPage].TextColor3=Color3.fromRGB(140,140,170)
menuInd[curPage].BackgroundTransparency=1
curPage=n
pages[curPage].Visible=true
menuBtns[curPage].TextColor3=Color3.fromRGB(255,255,255)
menuInd[curPage].BackgroundTransparency=0
TS:Create(pages[curPage],TweenInfo.new(0.12),{BackgroundTransparency=0}):Play()
end)
end
local minimized=false
local origSize=main.Size
local origPos=main.Position
local minSize=UDim2.new(0,45,0,45)
local minPos=UDim2.new(1,-53,1,-53)
minBtn.MouseButton1Click:Connect(function()
if minimized then
TS:Create(main,TweenInfo.new(0.35,Enum.EasingStyle.Elastic),{Size=origSize,Position=origPos}):Play()
TS:Create(btnBar,TweenInfo.new(0.2),{BackgroundTransparency=0}):Play()
TS:Create(cont,TweenInfo.new(0.2),{BackgroundTransparency=0}):Play()
minBtn.Text="−"
minimized=false
else
TS:Create(main,TweenInfo.new(0.25,Enum.EasingStyle.Back),{Size=minSize,Position=minPos}):Play()
TS:Create(btnBar,TweenInfo.new(0.15),{BackgroundTransparency=1}):Play()
TS:Create(cont,TweenInfo.new(0.15),{BackgroundTransparency=1}):Play()
minBtn.Text="+"
minimized=true
end
end)
local dragging=false
local dStart,sPos
head.InputBegan:Connect(function(i)
if i.UserInputType==Enum.UserInputType.Touch then
dragging=true
dStart=i.Position
sPos=main.Position
end
end)
UIS.InputChanged:Connect(function(i)
if dragging and i.UserInputType==Enum.UserInputType.Touch then
local delta=i.Position-dStart
main.Position=UDim2.new(sPos.X.Scale,sPos.X.Offset+delta.X,sPos.Y.Scale,sPos.Y.Offset+delta.Y)
end
end)
UIS.InputEnded:Connect(function(i)
if i.UserInputType==Enum.UserInputType.Touch then dragging=false end
end)
local function showError()
TS:Create(kBox,TweenInfo.new(0.08),{BackgroundColor3=Color3.fromRGB(80,20,30)}):Play()
wait(0.12)
TS:Create(kBox,TweenInfo.new(0.08),{BackgroundColor3=Color3.fromRGB(18,18,28)}):Play()
end
local function successUnlock()
keyEntered=true
TS:Create(keyFrame,TweenInfo.new(0.3,Enum.EasingStyle.Back),{Size=UDim2.new(0,0,0,0),BackgroundTransparency=1}):Play()
wait(0.25)
keyFrame.Visible=false
main.Visible=true
main.Size=UDim2.new(0,0,0,0)
TS:Create(main,TweenInfo.new(0.4,Enum.EasingStyle.Elastic),{Size=origSize,Position=origPos}):Play()
showNotif("✦ SUCCESS ✦","Hi "..LP.Name..")
end
confirmBtn.MouseButton1Click:Connect(function()
if kBox.Text:lower()==keyCorrect then
successUnlock()
else
showError()
end
end)
getBtn.MouseButton1Click:Connect(function()
showNotif("✦ GET KEY ✦","Key: guipremium")
end)
cancelBtn.MouseButton1Click:Connect(function()
SG:Destroy()
end)
kBox.FocusLost:Connect(function(e)
if e then confirmBtn.MouseButton1Click:Fire() end
end)
print("Fps Optimizer On.. ")
print("Credit:Mijustice")[ View More ]
a simple GUI created by me, key guipremium, Enjoy!
- Has Key System
- Yes
- Works on mobile
- Yes