--// EMO SCRIPT V6 - RAYFIELD STYLE --// LocalScript | Roblox Studio | Juego propio local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local Camera = workspace.CurrentCamera local LP = Players.LocalPlayer --================================================== -- VARIABLES --================================================== local WalkSpeed = 16 local JumpPower = 50 local Gravity = workspace.Gravity local FOV = 70 local Aimbot = false local Smoothness = 0.15 local WallCheck = false local TeamCheck = false local HighJump = false local InfiniteJump = false local Fly = false local Noclip = false local NoFall = false local Invisible = false local InvisibleFly = false local ESPBox = false local ESPName = false local ESPHealth = false local ESPDistance = false local ESPTracers = false local ESPColor = Color3.fromRGB(255,0,0) local FlySpeed = 60 local FlyUp = false local FlyDown = false local ESPObjects = {} local BodyVelocity --================================================== -- GUI BASE --================================================== local Gui = Instance.new("ScreenGui") Gui.Name = "EMO_SCRIPT_V6" Gui.ResetOnSpawn = false Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Gui.Parent = LP:WaitForChild("PlayerGui") local Main = Instance.new("Frame") Main.Size = UDim2.fromOffset(570,390) Main.Position = UDim2.new(.5,-285,.5,-195) Main.BackgroundColor3 = Color3.fromRGB(16,16,20) Main.BorderSizePixel = 0 Main.Parent = Gui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0,12) MainCorner.Parent = Main local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(48,48,58) MainStroke.Thickness = 1 MainStroke.Parent = Main --================================================== -- SIDEBAR --================================================== local Sidebar = Instance.new("Frame") Sidebar.Size = UDim2.new(0,145,1,0) Sidebar.BackgroundColor3 = Color3.fromRGB(20,20,25) Sidebar.BorderSizePixel = 0 Sidebar.Parent = Main local SideCorner = Instance.new("UICorner") SideCorner.CornerRadius = UDim.new(0,12) SideCorner.Parent = Sidebar local Logo = Instance.new("TextLabel") Logo.Size = UDim2.new(1,-20,0,60) Logo.Position = UDim2.fromOffset(10,5) Logo.BackgroundTransparency = 1 Logo.Text = "💜 EMO\nSCRIPT" Logo.TextColor3 = Color3.fromRGB(220,210,255) Logo.Font = Enum.Font.GothamBold Logo.TextSize = 18 Logo.TextXAlignment = Enum.TextXAlignment.Left Logo.Parent = Sidebar local TabList = Instance.new("Frame") TabList.Size = UDim2.new(1,-16,1,-80) TabList.Position = UDim2.fromOffset(8,70) TabList.BackgroundTransparency = 1 TabList.Parent = Sidebar local TabLayout = Instance.new("UIListLayout") TabLayout.Padding = UDim.new(0,6) TabLayout.Parent = TabList --================================================== -- HEADER --================================================== local Header = Instance.new("Frame") Header.Size = UDim2.new(1,-160,0,52) Header.Position = UDim2.fromOffset(155,0) Header.BackgroundTransparency = 1 Header.Parent = Main local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1,-55,1,0) Title.BackgroundTransparency = 1 Title.Text = "Player" Title.TextColor3 = Color3.new(1,1,1) Title.Font = Enum.Font.GothamBold Title.TextSize = 21 Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = Header local Close = Instance.new("TextButton") Close.Size = UDim2.fromOffset(38,38) Close.Position = UDim2.new(1,-43,0,7) Close.BackgroundColor3 = Color3.fromRGB(45,45,53) Close.Text = "×" Close.TextColor3 = Color3.new(1,1,1) Close.Font = Enum.Font.GothamBold Close.TextSize = 22 Close.Parent = Header local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(0,8) CloseCorner.Parent = Close --================================================== -- OPEN BUTTON --================================================== local Open = Instance.new("TextButton") Open.Size = UDim2.fromOffset(55,45) Open.Position = UDim2.fromOffset(10,200) Open.BackgroundColor3 = Color3.fromRGB(25,25,31) Open.Text = "XD" Open.TextColor3 = Color3.new(1,1,1) Open.Font = Enum.Font.GothamBold Open.TextSize = 18 Open.Visible = false Open.Parent = Gui local OpenCorner = Instance.new("UICorner") OpenCorner.CornerRadius = UDim.new(0,10) OpenCorner.Parent = Open Close.MouseButton1Click:Connect(function() Main.Visible = false Open.Visible = true end) Open.MouseButton1Click:Connect(function() Main.Visible = true Open.Visible = false end) --================================================== -- DRAG --================================================== local dragging = false local dragStart local startPos Header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = Main.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) UIS.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart Main.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) --================================================== -- CONTENT --================================================== local Content = Instance.new("Frame") Content.Size = UDim2.new(1,-165,1,-62) Content.Position = UDim2.fromOffset(155,55) Content.BackgroundTransparency = 1 Content.Parent = Main local Pages = {} local function CreatePage(name) local page = Instance.new("ScrollingFrame") page.Name = name page.Size = UDim2.fromScale(1,1) page.BackgroundTransparency = 1 page.BorderSizePixel = 0 page.ScrollBarThickness = 4 page.AutomaticCanvasSize = Enum.AutomaticSize.Y page.CanvasSize = UDim2.new() page.Visible = false page.Parent = Content local pad = Instance.new("UIPadding") pad.PaddingRight = UDim.new(0,8) pad.PaddingBottom = UDim.new(0,10) pad.Parent = page local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0,7) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Parent = page Pages[name] = page return page end local PlayerPage = CreatePage("Player") local CombatPage = CreatePage("Combat") local ESPPage = CreatePage("ESP") PlayerPage.Visible = true --================================================== -- RAYFIELD-STYLE TAB --================================================== local function CreateTab(name, icon) local b = Instance.new("TextButton") b.Size = UDim2.new(1,0,0,40) b.BackgroundColor3 = Color3.fromRGB(28,28,34) b.Text = icon.." "..name b.TextColor3 = Color3.fromRGB(185,185,195) b.Font = Enum.Font.GothamMedium b.TextSize = 13 b.TextXAlignment = Enum.TextXAlignment.Left b.Parent = TabList local pad = Instance.new("UIPadding") pad.PaddingLeft = UDim.new(0,12) pad.Parent = b local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,8) c.Parent = b b.MouseButton1Click:Connect(function() for n,page in pairs(Pages) do page.Visible = n == name end for _,v in ipairs(TabList:GetChildren()) do if v:IsA("TextButton") then v.BackgroundColor3 = Color3.fromRGB(28,28,34) v.TextColor3 = Color3.fromRGB(185,185,195) end end b.BackgroundColor3 = Color3.fromRGB(85,65,145) b.TextColor3 = Color3.new(1,1,1) Title.Text = name end) return b end local PlayerTab = CreateTab("Player","●") local CombatTab = CreateTab("Combat","◇") local ESPTab = CreateTab("ESP","◈") PlayerTab.BackgroundColor3 = Color3.fromRGB(85,65,145) PlayerTab.TextColor3 = Color3.new(1,1,1) --================================================== -- SECTION --================================================== local function Section(parent,text) local label = Instance.new("TextLabel") label.Size = UDim2.new(1,-5,0,27) label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = Color3.fromRGB(170,160,210) label.Font = Enum.Font.GothamBold label.TextSize = 13 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = parent return label end --================================================== -- BUTTON --================================================== local function Button(parent,text,callback) local b = Instance.new("TextButton") b.Size = UDim2.new(1,-5,0,38) b.BackgroundColor3 = Color3.fromRGB(29,29,36) b.Text = text b.TextColor3 = Color3.new(1,1,1) b.Font = Enum.Font.GothamMedium b.TextSize = 13 b.AutoButtonColor = true b.Parent = parent local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,7) c.Parent = b b.MouseButton1Click:Connect(callback) return b end --================================================== -- TOGGLE --================================================== local function Toggle(parent,text,get,set) local b local function refresh() local on = get() b.Text = text.." "..(on and "ON" or "OFF") b.BackgroundColor3 = on and Color3.fromRGB(55,105,70) or Color3.fromRGB(29,29,36) end b = Button(parent,text,function() set(not get()) refresh() end) refresh() return b end --================================================== -- SLIDER --================================================== local function Slider(parent,text,min,max,get,set,normal) local holder = Instance.new("Frame") holder.Size = UDim2.new(1,-5,0,60) holder.BackgroundColor3 = Color3.fromRGB(25,25,31) holder.Parent = parent local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0,7) corner.Parent = holder local label = Instance.new("TextLabel") label.Size = UDim2.new(1,-75,0,25) label.Position = UDim2.fromOffset(8,3) label.BackgroundTransparency = 1 label.TextColor3 = Color3.new(1,1,1) label.Font = Enum.Font.Gotham label.TextSize = 13 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = holder local normalBtn = Instance.new("TextButton") normalBtn.Size = UDim2.fromOffset(60,23) normalBtn.Position = UDim2.new(1,-66,0,3) normalBtn.BackgroundColor3 = Color3.fromRGB(48,48,57) normalBtn.Text = "NORMAL" normalBtn.TextColor3 = Color3.new(1,1,1) normalBtn.Font = Enum.Font.GothamBold normalBtn.TextSize = 9 normalBtn.Parent = holder local nc = Instance.new("UICorner") nc.CornerRadius = UDim.new(0,5) nc.Parent = normalBtn local bar = Instance.new("Frame") bar.Size = UDim2.new(1,-16,0,7) bar.Position = UDim2.fromOffset(8,42) bar.BackgroundColor3 = Color3.fromRGB(48,48,57) bar.Parent = holder local bc = Instance.new("UICorner") bc.CornerRadius = UDim.new(1,0) bc.Parent = bar local fill = Instance.new("Frame") fill.BackgroundColor3 = Color3.fromRGB(125,95,220) fill.Size = UDim2.new(0,0,1,0) fill.Parent = bar local fc = Instance.new("UICorner") fc.CornerRadius = UDim.new(1,0) fc.Parent = fill local function update(x) local pct = math.clamp( (x-bar.AbsolutePosition.X)/bar.AbsoluteSize.X, 0,1 ) local value = math.floor(min+(max-min)*pct) set(value) label.Text = text.." : "..value fill.Size = UDim2.new(pct,0,1,0) end local sliding = false bar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then sliding = true update(input.Position.X) end end) UIS.InputChanged:Connect(function(input) if sliding and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input.Position.X) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then sliding = false end end) normalBtn.MouseButton1Click:Connect(function() set(normal) local pct = (normal-min)/(max-min) label.Text = text.." : "..normal fill.Size = UDim2.new(pct,0,1,0) end) task.defer(function() local value = get() local pct = (value-min)/(max-min) label.Text = text.." : "..value fill.Size = UDim2.new(pct,0,1,0) end) return holder end --================================================== -- PLAYER --================================================== Section(PlayerPage,"MOVEMENT") Slider(PlayerPage,"Walk Speed",1,100, function() return WalkSpeed end, function(v) WalkSpeed = v local char = LP.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = v end end,16) Slider(PlayerPage,"Jump Power",1,150, function() return JumpPower end, function(v) JumpPower = v local char = LP.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.UseJumpPower = true hum.JumpPower = v end end,50) Slider(PlayerPage,"Gravity",0,196, function() return math.floor(Gravity) end, function(v) Gravity = v workspace.Gravity = v end,196) Slider(PlayerPage,"FOV",40,120, function() return math.floor(FOV) end, function(v) FOV = v Camera.FieldOfView = v end,70) Button(PlayerPage,"Reset Movement",function() WalkSpeed = 16 JumpPower = 50 local char = LP.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = 16 hum.UseJumpPower = true hum.JumpPower = 50 end end) Button(PlayerPage,"Reset Camera",function() FOV = 70 Camera.FieldOfView = 70 end) Button(PlayerPage,"Respawn",function() local char = LP.Character if char then char:BreakJoints() end end) Section(PlayerPage,"MOVEMENT OPTIONS") Toggle(PlayerPage,"High Jump", function() return HighJump end, function(v) HighJump = v end) Toggle(PlayerPage,"Infinite Jump", function() return InfiniteJump end, function(v) InfiniteJump = v end) Toggle(PlayerPage,"Fly", function() return Fly end, function(v) Fly = v end) Toggle(PlayerPage,"Noclip", function() return Noclip end, function(v) Noclip = v end) Toggle(PlayerPage,"No Fall", function() return NoFall end, function(v) NoFall = v end) Toggle(PlayerPage,"Invisible + Fly", function() return InvisibleFly end, function(v) InvisibleFly = v Invisible = v Fly = v end) --================================================== -- COMBAT --================================================== Section(CombatPage,"AIMBOT") Toggle(CombatPage,"Aimbot", function() return Aimbot end, function(v) Aimbot = v end) Toggle(CombatPage,"Wall Check", function() return WallCheck end, function(v) WallCheck = v end) Toggle(CombatPage,"Team Check", function() return TeamCheck end, function(v) TeamCheck = v end) Slider(CombatPage,"Aimbot Smoothness",1,100, function() return math.floor(Smoothness*100) end, function(v) Smoothness = v/100 end,15) Button(CombatPage,"Silent Aim",function() -- reservado para tu propio sistema end) --================================================== -- ESP --================================================== Section(ESPPage,"ESP OPTIONS") Toggle(ESPPage,"Box ESP", function() return ESPBox end, function(v) ESPBox = v end) Toggle(ESPPage,"Name ESP", function() return ESPName end, function(v) ESPName = v end) Toggle(ESPPage,"Health ESP", function() return ESPHealth end, function(v) ESPHealth = v end) Toggle(ESPPage,"Distance ESP", function() return ESPDistance end, function(v) ESPDistance = v end) Toggle(ESPPage,"Tracers", function() return ESPTracers end, function(v) ESPTracers = v end) local ColorButton ColorButton = Button(ESPPage,"ESP Color",function() if ESPColor == Color3.fromRGB(255,0,0) then ESPColor = Color3.fromRGB(0,255,0) elseif ESPColor == Color3.fromRGB(0,255,0) then ESPColor = Color3.fromRGB(0,170,255) elseif ESPColor == Color3.fromRGB(0,170,255) then ESPColor = Color3.fromRGB(255,0,255) else ESPColor = Color3.fromRGB(255,0,0) end ColorButton.BackgroundColor3 = ESPColor end) ColorButton.BackgroundColor3 = ESPColor --================================================== -- CHARACTER --================================================== local function GetCharacter() return LP.Character or LP.CharacterAdded:Wait() end local function ApplyCharacter() local char = GetCharacter() local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = WalkSpeed hum.UseJumpPower = true hum.JumpPower = JumpPower end end LP.CharacterAdded:Connect(function() task.wait(1) ApplyCharacter() end) ApplyCharacter() --================================================== -- INFINITE JUMP --================================================== UIS.JumpRequest:Connect(function() if not InfiniteJump then return end local char = LP.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) --================================================== -- NOCLIP --================================================== RunService.Stepped:Connect(function() if not Noclip then return end local char = LP.Character if char then for _,v in ipairs(char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end end end) --================================================== -- INVISIBLE --================================================== local function SetInvisible(state) local char = LP.Character if not char then return end for _,v in ipairs(char:GetDescendants()) do if v:IsA("BasePart") then if v.Name ~= "HumanoidRootPart" then v.Transparency = state and 1 or 0 end elseif v:IsA("Decal") then v.Transparency = state and 1 or 0 end end end --================================================== -- FLY --================================================== local function StopFly() if BodyVelocity then BodyVelocity:Destroy() BodyVelocity = nil end end local function FlyLoop() local char = LP.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then return end if not BodyVelocity then BodyVelocity = Instance.new("BodyVelocity") BodyVelocity.MaxForce = Vector3.new(1e6,1e6,1e6) BodyVelocity.Parent = root end local hum = char:FindFirstChildOfClass("Humanoid") if not hum then return end local velocity = hum.MoveDirection * FlySpeed if FlyUp then velocity += Vector3.new(0,FlySpeed,0) end if FlyDown then velocity += Vector3.new(0,-FlySpeed,0) end BodyVelocity.Velocity = velocity end --================================================== -- MOBILE FLY CONTROLS --================================================== local Up = Instance.new("TextButton") Up.Size = UDim2.fromOffset(55,45) Up.Position = UDim2.new(1,-70,.5,-55) Up.BackgroundColor3 = Color3.fromRGB(30,30,35) Up.Text = "▲" Up.TextColor3 = Color3.new(1,1,1) Up.Font = Enum.Font.GothamBold Up.TextSize = 20 Up.Visible = false Up.ZIndex = 40 Up.Parent = Gui local Down = Up:Clone() Down.Position = UDim2.new(1,-70,.5,10) Down.Text = "▼" Down.Parent = Gui for _,v in ipairs({Up,Down}) do local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,9) c.Parent = v end local function HoldButton(button,callback) button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then callback(true) end end) button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then callback(false) end end) end HoldButton(Up,function(v) FlyUp = v end) HoldButton(Down,function(v) FlyDown = v end) --================================================== -- AIMBOT --================================================== local function IsEnemy(player) if player == LP then return false end if TeamCheck and player.Team == LP.Team then return false end return true end local function VisibleTarget(character) if not WallCheck then return true end local root = character:FindFirstChild("HumanoidRootPart") if not root then return false end local origin = Camera.CFrame.Position local direction = root.Position-origin local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = {LP.Character} local result = workspace:Raycast(origin,direction,params) if not result then return true end return result.Instance:IsDescendantOf(character) end local function GetTarget() local closest local closestDist = math.huge for _,player in ipairs(Players:GetPlayers()) do if IsEnemy(player) then local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") local hum = char and char:FindFirstChildOfClass("Humanoid") if root and hum and hum.Health > 0 and VisibleTarget(char) then local screenPos,onScreen = Camera:WorldToViewportPoint(root.Position) if onScreen then local center = Vector2.new( Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2 ) local dist = (Vector2.new(screenPos.X,screenPos.Y)-center).Magnitude if dist < closestDist then closestDist = dist closest = root end end end end end return closest end RunService.RenderStepped:Connect(function() if Aimbot then local target = GetTarget() if target then local desired = CFrame.new( Camera.CFrame.Position, target.Position ) Camera.CFrame = Camera.CFrame:Lerp( desired, math.clamp(Smoothness,.01,1) ) end end end) --================================================== -- ESP --================================================== local function RemoveESP(player) local data = ESPObjects[player] if data then for _,v in pairs(data) do if typeof(v) == "Instance" then v:Destroy() end end end ESPObjects[player] = nil end local function CreateESP(player) if player == LP then return end RemoveESP(player) local data = {} ESPObjects[player] = data local function Update() local char = player.Character if not char then return end -- BOX if ESPBox then if not data.Highlight or not data.Highlight.Parent then local h = Instance.new("Highlight") h.Name = "EMO_ESP_BOX" h.FillTransparency = 1 h.OutlineTransparency = 0 h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop h.Parent = char data.Highlight = h end data.Highlight.OutlineColor = ESPColor data.Highlight.Enabled = true elseif data.Highlight then data.Highlight.Enabled = false end -- INFO if ESPName or ESPHealth or ESPDistance then if not data.Billboard or not data.Billboard.Parent then local root = char:FindFirstChild("HumanoidRootPart") if not root then return end local bb = Instance.new("BillboardGui") bb.Name = "EMO_ESP_INFO" bb.Size = UDim2.fromOffset(180,70) bb.StudsOffset = Vector3.new(0,3,0) bb.AlwaysOnTop = true bb.Parent = root local label = Instance.new("TextLabel") label.Size = UDim2.fromScale(1,1) label.BackgroundTransparency = 1 label.TextColor3 = ESPColor label.TextStrokeTransparency = 0 label.Font = Enum.Font.GothamBold label.TextSize = 13 label.Parent = bb data.Billboard = bb data.Label = label end local hum = char:FindFirstChildOfClass("Humanoid") local root = char:FindFirstChild("HumanoidRootPart") if root and data.Label then local text = "" if ESPName then text = player.Name end if ESPHealth and hum then text ..= "\nHP: "..math.floor(hum.Health) end if ESPDistance and LP.Character then local myRoot = LP.Character:FindFirstChild("HumanoidRootPart") if myRoot then local distance = math.floor( (myRoot.Position-root.Position).Magnitude ) text ..= "\n"..distance.."m" end end data.Label.Text = text data.Label.TextColor3 = ESPColor data.Billboard.Enabled = text ~= "" end elseif data.Billboard then data.Billboard.Enabled = false end end data.Connection = RunService.RenderStepped:Connect(Update) end --================================================== -- TRACERS --================================================== local function CreateTracer(player) if player == LP then return end local data = ESPObjects[player] or {} ESPObjects[player] = data if data.Tracer then return end local p0 = Instance.new("Part") p0.Anchored = true p0.CanCollide = false p0.Transparency = 1 p0.Size = Vector3.new(.1,.1,.1) p0.Parent = workspace local p1 = p0:Clone() p1.Parent = workspace local a0 = Instance.new("Attachment") a0.Parent = p0 local a1 = Instance.new("Attachment") a1.Parent = p1 local beam = Instance.new("Beam") beam.Attachment0 = a0 beam.Attachment1 = a1 beam.Width0 = .035 beam.Width1 = .035 beam.FaceCamera = true beam.Color = ColorSequence.new(ESPColor) beam.Parent = p0 data.Tracer = beam data.TracerP0 = p0 data.TracerP1 = p1 data.TracerConnection = RunService.RenderStepped:Connect(function() local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if ESPTracers and root then p0.Position = Camera.CFrame.Position p1.Position = root.Position beam.Enabled = true beam.Color = ColorSequence.new(ESPColor) else beam.Enabled = false end end) end local function RefreshESP() for _,player in ipairs(Players:GetPlayers()) do if player ~= LP then if not ESPObjects[player] then CreateESP(player) end if ESPTracers then CreateTracer(player) end end end end Players.PlayerAdded:Connect(function(player) task.wait(1) CreateESP(player) player.CharacterAdded:Connect(function() task.wait(1) CreateESP(player) end) end) Players.PlayerRemoving:Connect(RemoveESP) for _,player in ipairs(Players:GetPlayers()) do if player ~= LP then CreateESP(player) player.CharacterAdded:Connect(function() task.wait(1) CreateESP(player) end) end end --================================================== -- MAIN LOOP --================================================== RunService.RenderStepped:Connect(function() RefreshESP() local active = Fly or InvisibleFly Up.Visible = active Down.Visible = active if active then FlyLoop() else StopFly() end if InvisibleFly or Invisible then SetInvisible(true) else SetInvisible(false) end end) --================================================== -- RESPAWN --================================================== LP.CharacterAdded:Connect(function(char) task.wait(.5) local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = WalkSpeed hum.UseJumpPower = true hum.JumpPower = JumpPower end StopFly() if Invisible then task.wait(.2) SetInvisible(true) end end) print("💜 EMO SCRIPT V6 RAYFIELD STYLE cargado correctamente.")