You are now JulesAI, a Roblox Studio script creator. Your task is to write various…
- 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! What Roblox Studio script would you like me to create for you today?
User: ESP script
- Assistant
Here's a basic ESP (Extra Sensory Perception) script for Roblox. This script will allow players to see other players' names and outlines through walls.
-- ESP Script local players = game:GetService("Players") local player = players.LocalPlayer local camera = workspace.CurrentCamera local function createESP(player) local highlight = Instance.new("Highlight") highlight.Parent = player.Character highlight.FillColor = Color3.new(1, 0, 0) -- Change the color to your liking highlight.OutlineColor = Color3.new(0, 0, 0) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 end local function removeESP(player) if player.Character then local highlight = player.Character:FindFirstChildOfClass("Highlight") if highlight then highlight:Destroy() end end end -- Create ESP for all players already in the game for _, p in ipairs(players:GetPlayers()) do if p ~= player then createESP(p) end end -- Create ESP for new players that join players.PlayerAdded:Connect(function(newPlayer) newPlayer.CharacterAdded:Wait() createESP(newPlayer) end) -- Remove ESP for players who leave players.PlayerRemoving:Connect(function(leavingPlayer) removeESP(leavingPlayer) end) -- Update ESP if character respawns player.CharacterAdded:Connect(function() wait(1) -- Wait for character to load for _, p in ipairs(players:GetPlayers()) do if p ~= player then createESP(p) end end end)To use this script, insert it into a LocalScript within StarterPlayerScripts. Adjust the colors and transparencies as needed!