-- 🌈 Rainbow Admin Menu (Studio / Own Game Only)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
-- GUI
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "RainbowMenu"
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.fromScale(0.25, 0.35)
frame.Position = UDim2.fromScale(0.05, 0.3)
frame.BackgroundColor3 = Color3.fromRGB(255,0,0)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame)
-- Rainbow effect
task.spawn(function()
while task.wait() do
frame.BackgroundColor3 = Color3.fromHSV(tick()%5/5,1,1)
end
end)
-- Button creator
local function button(text, y)
local b = Instance.new("TextButton", frame)
b.Size = UDim2.fromScale(0.9,0.15)
b.Position = UDim2.fromScale(0.05,y)
b.Text = text
b.TextScaled = true
b.BackgroundColor3 = Color3.fromRGB(30,30,30)
b.TextColor3 = Color3.new(1,1,1)
Instance.new("UICorner", b)
return b
end
local flyBtn = button("Fly: OFF", 0.05)
local espBtn = button("ESP: OFF", 0.25)
local tpBtn = button("Teleport To Player", 0.45)
-- ✈️ Fly
local flying = false
local bv
flyBtn.MouseButton1Click:Connect(function()
flying = not flying
flyBtn.Text = "Fly: " .. (flying and "ON" or "OFF")
if flying then
bv = Instance.new("BodyVelocity", hrp)
bv.MaxForce = Vector3.new(1e5,1e5,1e5)
else
if bv then bv:Destroy() end
end
end)
RunService.RenderStepped:Connect(function()
if flying and bv then
bv.Velocity = workspace.CurrentCamera.CFrame.LookVector * 60
end
end)
-- 👁️ ESP
local espEnabled = false
local highlights = {}
espBtn.MouseButton1Click:Connect(function()
espEnabled = not espEnabled
espBtn.Text = "ESP: " .. (espEnabled and "ON" or "OFF")
for _,plr in pairs(Players:GetPlayers()) do
if plr ~= player and plr.Character then
if espEnabled then
local h = Instance.new("Highlight", plr.Character)
h.FillColor = Color3.fromRGB(255,0,255)
highlights[plr] = h
else
if highlights[plr] then
highlights[plr]:Destroy()
end
end
end
end
end)
-- 🚀 Teleport to random player
tpBtn.MouseButton1Click:Connect(function()
for _,plr in pairs(Players:GetPlayers()) do
if plr ~= player and plr.Character then
hrp.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,3)
break
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!