---
title: "Trident Survival Script for Roblox: 5 Head and Esp - ScriptBlox"
description: "Trident Survival Roblox script: 5 Head and Esp. if (not _G.Flags) then _G.Flags = { ESP = { NotVisibleColor = Color3.fromRGB(255,0,0); VisibleColor =..."
canonical_url: "https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315"
meta:
  "og:description": "Trident Survival Roblox script: 5 Head and Esp. if (not _G.Flags) then _G.Flags = { ESP = { NotVisibleColor = Color3.fromRGB(255,0,0); VisibleColor =..."
  "og:image": "https://tr.rbxcdn.com/180DAY-018886973a2f8281fa95b5ccc5424be5/500/280/Image/Jpeg/noFilter"
  "og:title": "Trident Survival Script for Roblox: 5 Head and Esp - ScriptBlox"
  "twitter:description": "Trident Survival Roblox script: 5 Head and Esp. if (not _G.Flags) then _G.Flags = { ESP = { NotVisibleColor = Color3.fromRGB(255,0,0); VisibleColor =..."
  "twitter:image": "https://tr.rbxcdn.com/180DAY-018886973a2f8281fa95b5ccc5424be5/500/280/Image/Jpeg/noFilter"
  "twitter:title": "Trident Survival Script for Roblox: 5 Head and Esp - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![\[NEW 🗺️\] Trident Survival](https://tr.rbxcdn.com/180DAY-018886973a2f8281fa95b5ccc5424be5/500/280/Image/Jpeg/noFilter)

# **5 Head and Esp**

[**Trident Survival**](https://scriptblox.com/game/13253735473-trident-survival "[NEW 🗺️] Trident Survival")**![3571559572](https://scriptblox.com/images/user-default.webp) [3571559572](https://scriptblox.com/u/3571559572)First script**

2 years ago

[**Play game **](roblox://placeId=13253735473) [**Game Link **](https://roblox.com/games/13253735473)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

5 Head and Esp is a Trident Survival script for Roblox, uploaded to ScriptBlox on Nov 29, 2024.

## **Does it work? **

**No reports yet **

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

Also noticed:

## Description

if (not \_G.Flags) then \_G.Flags = { ESP = { NotVisibleColor = Color3.fromRGB(255,0,0); VisibleColor = Color3.fromRGB(0,255,0); DistanceLimit = 1500; Box = true; Name = true; Weapon = true; Distance = true; VisibleCheck = true; Sleepers = false; }; HitboxExpander = { Size = 3; Enabled = true; Transparency = .7; -- 1 = invisible, 0 = fully visible (0 not recommended) Part = "Head"; -- {"Torso","Head","rest of the body parts"} }; }; end if (not \_G.Loaded) then \_G.Loaded = true; local ReplicatedStorage = game:GetService("ReplicatedStorage"); local RunService = game:GetService("RunService"); local Items = ReplicatedStorage:WaitForChild("HandModels"); local CoreGui = game:GetService("CoreGui"); local CurrentCamera = workspace.CurrentCamera; local IgnoreFolder = workspace:WaitForChild("Ignore"); local OriginalSizes = {}; local WeaponInfo = {}; local SleepAnimationId = "rbxassetid://13280887764" for i,v in pairs(ReplicatedStorage.Shared.entities.Player.Model:GetChildren()) do if v:IsA("BasePart") then OriginalSizes\[v.Name] = v.Size; end end for i,v in pairs(Items:GetChildren()) do v:SetAttribute("RealName",v.Name);--\[v.DataCost] = v.Name; end function IsSleeping(Player) local Animations = Player.AnimationController:GetPlayingAnimationTracks(); for i,v in pairs(Animations) do if (v.IsPlaying and v.Animation.AnimationId == SleepAnimationId) then return true; end end return false; end function CreateESP() local BillboardGui = Instance.new("BillboardGui") local Box = Instance.new("Frame") local PlayerName = Instance.new("TextLabel") local PlayerWeapon = Instance.new("TextLabel") local PlayerDistance = Instance.new("TextLabel") local UIStroke = Instance.new("UIStroke") --Properties: BillboardGui.Parent = CoreGui; BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling BillboardGui.Active = true BillboardGui.AlwaysOnTop = true BillboardGui.LightInfluence = 1.000 BillboardGui.Size = UDim2.new(500, 0, 800, 0) Box.Name = "Box" Box.Parent = BillboardGui Box.AnchorPoint = Vector2.new(0.5, 0.5) Box.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Box.BackgroundTransparency = 1.000 Box.BorderColor3 = Color3.fromRGB(0, 0, 0) Box.BorderSizePixel = 0 Box.Position = UDim2.new(0.5, 0, 0.5, 0) Box.Size = UDim2.new(0.00899999961, 0, 0.00899999961, 0) UIStroke.Name = "UIStroke" UIStroke.Parent = Box; UIStroke.Thickness = 1; UIStroke.Color = Color3.fromRGB(0,255,0); UIStroke.LineJoinMode = Enum.LineJoinMode.Miter; PlayerName.Name = "PlayerName" PlayerName.Parent = BillboardGui PlayerName.AnchorPoint = Vector2.new(0.5, 1) PlayerName.BackgroundColor3 = Color3.fromRGB(255, 255, 255) PlayerName.BackgroundTransparency = 1.010 PlayerName.BorderColor3 = Color3.fromRGB(0, 0, 0) PlayerName.BorderSizePixel = 0 PlayerName.Position = UDim2.new(0.5, 0, 0.495499998, 0) PlayerName.Size = UDim2.new(0, 100, 0, 10) PlayerName.Font = Enum.Font.SourceSans PlayerName.Text = "Player" PlayerName.TextColor3 = Color3.fromRGB(0, 255, 8) PlayerName.TextSize = 14.000 PlayerName.TextYAlignment = Enum.TextYAlignment.Bottom PlayerWeapon.Name = "PlayerWeapon" PlayerWeapon.Parent = BillboardGui PlayerWeapon.BackgroundColor3 = Color3.fromRGB(255, 255, 255) PlayerWeapon.BackgroundTransparency = 1.010 PlayerWeapon.BorderColor3 = Color3.fromRGB(0, 0, 0) PlayerWeapon.BorderSizePixel = 0 PlayerWeapon.Position = UDim2.new(0.504499972, 0, 0.495499998, 0) PlayerWeapon.Size = UDim2.new(0, 100, 0, 10) PlayerWeapon.Font = Enum.Font.SourceSans PlayerWeapon.Text = "Weapon" PlayerWeapon.TextColor3 = Color3.fromRGB(0, 255, 8) PlayerWeapon.TextSize = 14.000 PlayerWeapon.TextXAlignment = Enum.TextXAlignment.Left PlayerWeapon.TextYAlignment = Enum.TextYAlignment.Bottom PlayerWeapon.Visible = false; PlayerDistance.Name = "PlayerDistance" PlayerDistance.Parent = BillboardGui PlayerDistance.AnchorPoint = Vector2.new(0.5, 0) PlayerDistance.BackgroundColor3 = Color3.fromRGB(255, 255, 255) PlayerDistance.BackgroundTransparency = 1.010 PlayerDistance.BorderColor3 = Color3.fromRGB(0, 0, 0) PlayerDistance.BorderSizePixel = 0 PlayerDistance.Position = UDim2.new(0.5, 0, 0.504999995, 5) PlayerDistance.Size = UDim2.new(0, 100, 0, 10) PlayerDistance.Font = Enum.Font.SourceSans PlayerDistance.Text = "500" PlayerDistance.TextColor3 = Color3.fromRGB(0, 255, 8) PlayerDistance.TextSize = 14.000 PlayerDistance.TextYAlignment = Enum.TextYAlignment.Bottom return BillboardGui; end function PlayerWeapon(Player) local Model = Player:FindFirstChildOfClass("Model"); return Model and Model:GetAttribute("RealName") or "None"; end function IsPlayer(Model) return Model.ClassName == "Model" and Model:FindFirstChild("Head") and Model.PrimaryPart\~=nil; end function SetColor(Billboard,Color) Billboard.PlayerName.TextColor3 = Color; Billboard.PlayerDistance.TextColor3 = Color; Billboard.PlayerWeapon.TextColor3 = Color; Billboard.Box.UIStroke.Color = Color; end function HitboxExpander(Model,Size,Hitbox) if (Hitbox.Enabled) then local Part = Model\[Hitbox.Part]; Part.Size = Vector3.new(Size,Size,Size); Part.Transparency = Hitbox.Transparency; Part.CanCollide = false; else local Part = Model\[Hitbox.Part]; Part.Size = OriginalSizes\[Hitbox.Part]; Part.Transparency = 0; Part.CanCollide = true; end end local HasESP = {}; RunService.Heartbeat:Connect(function() local ESP = \_G.Flags.ESP; local Hitbox = \_G.Flags.HitboxExpander; for i,v in pairs(workspace:GetChildren()) do if (HasESP\[v] or IsPlayer(v)) then if (HasESP\[v] == nil) then local Billboard = CreateESP(); HasESP\[v] = Billboard; Billboard.Adornee = v.PrimaryPart; elseif (HasESP\[v] \~= nil) then local Billboard = HasESP\[v]; local PrimaryPosition = v.PrimaryPart.Position; local Origin = CurrentCamera.CFrame.Position; local Distance = (Origin-PrimaryPosition).Magnitude; HitboxExpander(v,Hitbox.Size,Hitbox); local Sleeping = IsSleeping(v); if ((Distance > ESP.DistanceLimit) or (not ESP.Sleepers and Sleeping)) then Billboard.Enabled = false; continue; end Billboard.Enabled = true; Billboard.Adornee = v.PrimaryPart; Billboard.Box.Visible = ESP.Box; Billboard.PlayerDistance.Visible = ESP.Distance; Billboard.PlayerName.Visible = ESP.Name; Billboard.PlayerWeapon.Visible = ESP.Weapon; Billboard.PlayerDistance.Text = math.round(Distance) .. "s"; Billboard.PlayerWeapon.Text = PlayerWeapon(v); if (v.Head.Nametag.tag.Text \~= "") then Billboard.PlayerName.Text = v.Head.Nametag.tag.Text; end local Params = RaycastParams.new(); Params.FilterDescendantsInstances = {IgnoreFolder,v}; local Direction = PrimaryPosition - Origin; local Raycast = workspace:Raycast(Origin,Direction,Params); SetColor(Billboard, if (not Raycast or not ESP.VisibleCheck) then ESP.VisibleColor else ESP.NotVisibleColor); end end end end) end

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Update script
2. Nov 30, 2024

   ****Script edited:**** Update script
3. Nov 30, 2024

   ****Script edited:**** Update script
4. Nov 29, 2024

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/FLARES-Trident-Survival-5-Head-and-Esp-23315)

```


```

## **Comments **

**3**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/FLARES-Trident-Survival-5-Head-and-Esp-23315)

![Splais's profile picture](https://scriptblox.com/images/photo/677a5841126015f7ebde6a87-1736071319883.png)

[**Splais**](https://scriptblox.com/u/Splais)2 years ago(edited)

the script worked yesterday, but it doesn't work now

1

![krekde92's profile picture](https://scriptblox.com/images/user-default.webp)

[**krekde92**](https://scriptblox.com/u/krekde92)2 years ago(edited)

working for solara

1

![Coolvibes5000's profile picture](https://scriptblox.com/images/user-default.webp)

[**Coolvibes5000**](https://scriptblox.com/u/Coolvibes5000)2 years ago(edited)

its not working for me

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315#script","url":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315","name":"5 Head and Esp","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"3571559572","url":"https://scriptblox.com/u/3571559572"},"datePublished":"2024-11-29T05:15:39.841Z","image":"https://tr.rbxcdn.com/180DAY-018886973a2f8281fa95b5ccc5424be5/500/280/Image/Jpeg/noFilter","about":{"@type":"VideoGame","name":"Trident Survival","gamePlatform":"Roblox"},"isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315#webpage","@type":"WebPage","description":"Trident Survival Roblox script: 5 Head and Esp. if (not _G.Flags) then _G.Flags = { ESP = { NotVisibleColor = Color3.fromRGB(255,0,0); VisibleColor =...","name":"Trident Survival Script for Roblox: 5 Head and Esp - ScriptBlox","url":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315","breadcrumb":{"@id":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315"]}]},{"@id":"https://scriptblox.com/script/FLARES-Trident-Survival-5-Head-and-Esp-23315#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Trident Survival","item":"https://scriptblox.com/game/13253735473-trident-survival","position":2},{"@type":"ListItem","name":"5 Head and Esp","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
