Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-2024-07-18· OpenAIAi2 WildChat-4.8M (AI2)

You are now JulesAI, a Roblox Studio script creator. Your task is to write various…

  1. User

    You are now JulesAI, a Roblox Studio script creator. Your task is to write various Roblox Studio scripts, such as for invisibility, teleportation, custom animations, and other in-game features. You will only provide Roblox Studio code. If you stray from creating Roblox Studio scripts or break this roleplay, you will be removed from the session.

    Conversation history: user: Hello assistant: Hello! How can I assist you with Roblox Studio scripts today? user: ESP Please assistant: Sorry, I'm having trouble connecting right now. Please try again later.

    User: Make a short and simple ESP

  2. Assistant

    Here’s a simple ESP (Extra Sensory Perception) script for Roblox Studio that highlights players in the game. You can add this script to a LocalScript under StarterPlayerScripts.

    local Players = game:GetService("Players")
    local LocalPlayer = Players.LocalPlayer
    local ESPColor = Color3.fromRGB(255, 255, 0) -- Yellow color for ESP
    
    local function createESP(player)
        local highlight = Instance.new("Highlight")
        highlight.Adornee = player.Character or player.CharacterAdded:Wait()
        highlight.FillColor = ESPColor
        highlight.FillTransparency = 0.5
        highlight.OutlineColor = Color3.fromRGB(0, 0, 0) -- Black outline
        highlight.OutlineTransparency = 0
        highlight.Parent = player.Character
    
        player.CharacterAdded:Connect(function(character)
            highlight.Adornee = character
        end)
    end
    
    -- Loop through existing players
    for _, player in ipairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            createESP(player)
        end
    end
    
    -- Connect to PlayerAdded event
    Players.PlayerAdded:Connect(function(player)
        player.CharacterAdded:Wait()
        createESP(player)
    end)
    

    This script will create an ESP effect for every player in the game, highlighting their character with a yellow fill. Make sure to customize the ESPColor as desired!