Universal Script 📌
196 Views
695 Executions

Gemini AI

Universal Script 📌
Zale
ZalePublished 5
3 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Features? It just brings Gemini into roblox, nothing special. Get your own API key here: https://aistudio.google.com/api-keys?project=gen-lang-client-0688617335 Note: Flash Lite and 2.5 are znot available for new users, please use 3.5 and 3.6! I don't know if you can copy this script.

View Raw
-- ====================================================================
-- Gemini AI Mobile Client (Fixed Inputs, Layers, & Dropdown)
-- ====================================================================

local CoreGui = game:GetService("CoreGui")
local HttpService = game:GetService("HttpService")
local UserInputService = game:GetService("UserInputService")
local TextService = game:GetService("TextService")
local Players = game:GetService("Players")

-- Universal HTTP resolver
local httpRequest = (syn and syn.request) or (http and http.request) or http_request or request
if not httpRequest then
    error("Gemini Script Error: Your executor does not support HTTP requests.")
end

local ConversationHistory = {}

-- Active Models Map
local ModelsList = {
    { Name = "Gemini 3.6 Flash", ID = "gemini-3.6-flash" },
    { Name = "Gemini 3.5 Flash", ID = "gemini-3.5-flash" },
    { Name = "Gemini 2.5 Flash", ID = "gemini-2.5-flash" },
    { Name = "Gemini Flash Lite", ID = "gemini-2.5-flash-lite" }
}
local SelectedModelID = "gemini-3.6-flash"

-- Setup ScreenGui
local LocalPlayer = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "GeminiClientUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.DisplayOrder = 9999
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

pcall(function() ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end)
if not ScreenGui.Parent then ScreenGui.Parent = CoreGui end

-- Main UI Frame
local MainFrame = Instance.new("Frame")


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
28.3k
663.4k
Bumped 34 minutes ago
Script hub
13.5k
2.7k
Bumped 3 hours ago
Key System
Paid
Script hub
263.1k
88.1k
Bumped 4 hours ago
Key System
Universal Script 📌
2.4k
9.4k
Bumped 4 hours ago
Universal Script 📌
222
29
Approved 4 hours ago
Universal Script 📌
247
26
Approved 4 hours ago
Universal Script 📌
270
9
Approved 4 hours ago