--// UI + Remote Loop Template with Rainbow Border local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Rainbow Border Color Function local function updateRainbowBorder(frame) local t = 0 while frame:IsDescendantOf(game) do local r = math.sin(t) * 127 + 128 local g = math.sin(t + 2) * 127 + 128 local b = math.sin(t + 4) * 127 + 128 frame.BorderColor3 = Color3.fromRGB(r, g, b) t += 0.05 task.wait(0.05) end end -- UI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "SimpleRemoteLooper" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 220, 0, 120) Frame.Position = UDim2.new(0.5, -110, 0.5, -60) Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Frame.BorderSizePixel = 3 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 12) task.spawn(function() updateRainbowBorder(Frame) end) -- Title local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 30) Title.BackgroundTransparency = 1 Title.Text = "🔁 Remote Looper" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 18 Title.Parent = Frame -- Toggle Button local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(0, 200, 0, 50) ToggleButton.Position = UDim2.new(0, 10, 0, 50) ToggleButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.Text = "Start Remote Loop" ToggleButton.Font = Enum.Font.SourceSansBold ToggleButton.TextSize = 18 ToggleButton.Parent = Frame Instance.new("UICorner", ToggleButton).CornerRadius = UDim.new(0, 10) -- Toggle State local enabled = false ToggleButton.MouseButton1Click:Connect(function() enabled = not enabled ToggleButton.Text = enabled and "Stop Remote Loop" or "Start Remote Loop" ToggleButton.BackgroundColor3 = enabled and Color3.fromRGB(30, 130, 30) or Color3.fromRGB(60, 60, 60) end) -- Remote Loop Handler task.spawn(function() while true do if enabled then pcall(function() -- 🔁 PASTE YOUR REMOTE BELOW -- Example with args: -- local args = { "DoneTeleport", 1 } -- game:GetService("ReplicatedStorage").Signal.Car:FireServer(unpack(args)) -- Or a no-args remote: -- game:GetService("ReplicatedStorage").SomeRemote:FireServer() end) end task.wait(0.1) end end)