
Key Required

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "OmniDroidsTest"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 340, 0, 520)
mainFrame.Position = UDim2.new(0.5, -170, 0.5, -260)
mainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Parent = screenGui
Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 16)
local stroke = Instance.new("UIStroke", mainFrame)
stroke.Color = Color3.fromRGB(255, 0, 120)
stroke.Thickness = 3
local title = Instance.new("TextLabel", mainFrame)
title.Size = UDim2.new(1, 0, 0, 10)
title.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
title.Text = "omnidroids test"
title.TextColor3 = Color3.fromRGB(255, 70, 130)
title.TextScaled = true
title.Font = Enum.Font.GothamBold
Instance.new("UICorner", title).CornerRadius = UDim.new(0, 16)
local positions = {
Frozone = Vector3.new(-296.68, 564.52, -4215.29),
Hypershock = Vector3.new(1693.47, 131.75, -4437.13),
["Gamma Jack"] = Vector3.new(131.10, 60.81, -826.88),
Gazerbeam = Vector3.new(-903.55, 35.15, -2493.11),
Thunderhead = Vector3.new(1392.57, 52.32, 481.39)
}
local yPos = 80
for name, pos in pairs(positions) do
local btn = Instance.new("TextButton", mainFrame)
btn.Size = UDim2.new(0.9, 0, 0, 72)
btn.Position = UDim2.new(0.05, 0, 0, yPos)
btn.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
btn.Text = name:upper()
btn.TextColor3 = Color3.new(1, 1, 1)
btn.TextScaled = true
btn.Font = Enum.Font.GothamBold
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)
btn.MouseEnter:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(255, 50, 120) end)
btn.MouseLeave:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(40, 40, 50) end)
local tp = function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = CFrame.new(pos)
end
end
btn.MouseButton1Click:Connect(tp)
btn.TouchTap:Connect(tp)
yPos = yPos + 82
end
local credits = Instance.new("TextLabel", mainFrame)
credits.Size = UDim2.new(1, 0, 0, 50)
credits.Position = UDim2.new(0, 0, 1, -50)
credits.BackgroundTransparency = 1
credits.Text = "Credits: roblox999ronaldo"
credits.TextColor3 = Color3.fromRGB(180, 180, 200)
credits.TextScaled = true
credits.Font = Enum.Font.Gotham
local close = Instance.new("TextButton", mainFrame)
close.Size = UDim2.new(0, 60, 0, 60)
close.Position = UDim2.new(1, -70, 0, 10)
close.BackgroundColor3 = Color3.fromRGB(255, 30, 30)
close.Text = "X"
close.TextColor3 = Color3.new(1, 1, 1)
close.TextScaled = true
close.Font = Enum.Font.GothamBold
Instance.new("UICorner", close).CornerRadius = UDim.new(0, 30)
close.MouseButton1Click:Connect(function() screenGui:Destroy() end)
close.TouchTap:Connect(function() screenGui:Destroy() end)
local dragging = false
local dragStart, startPos
local function update(input)
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
title.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
end
end)
title.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
update(input)
end
end)No comments yet for this script.



