Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
player = Players.LocalPlayer
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Parent = screenGui
.(, mainFrame).CornerRadius = .(, )
stroke = .(, mainFrame)
stroke.Color = .(, , )
stroke.Thickness =
title = .(, mainFrame)
title.Size = .(, , , )
title.BackgroundColor3 = .(, , )
title.Text =
title.TextColor3 = .(, , )
title.TextScaled =
title.Font = .Font.GothamBold
.(, title).CornerRadius = .(, )
positions = {
Frozone = .(-, , -),
Hypershock = .(, , -),
[] = .(, , -),
Gazerbeam = .(-, , -),
Thunderhead = .(, , )
}
yPos =
name, pos (positions)
btn = .(, mainFrame)
btn.Size = .(, , , )
btn.Position = .(, , , yPos)
btn.BackgroundColor3 = .(, , )
btn.Text = name:()
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Font = .Font.GothamBold
.(, btn).CornerRadius = .(, )
btn.MouseEnter:(() btn.BackgroundColor3 = .(, , ) )
btn.MouseLeave:(() btn.BackgroundColor3 = .(, , ) )
tp = ()
player.Character player.Character:()
player.Character.HumanoidRootPart.CFrame = .(pos)
btn.MouseButton1Click:(tp)
btn.TouchTap:(tp)
yPos = yPos +
credits = .(, mainFrame)
credits.Size = .(, , , )
credits.Position = .(, , , -)
credits.BackgroundTransparency =
credits.Text =
credits.TextColor3 = .(, , )
credits.TextScaled =
credits.Font = .Font.Gotham
close = .(, mainFrame)
close.Size = .(, , , )
close.Position = .(, -, , )
close.BackgroundColor3 = .(, , )
close.Text =
close.TextColor3 = .(, , )
close.TextScaled =
close.Font = .Font.GothamBold
.(, close).CornerRadius = .(, )
close.MouseButton1Click:(() screenGui:() )
close.TouchTap:(() screenGui:() )
dragging =
dragStart, startPos
(input)
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
)
title.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
(input)
)
Omnidroids Test