do local Players=game:GetService("Players");local TweenService=game:GetService("TweenService");local UserInputService=game:GetService("UserInputService");local RunService=game:GetService("RunService");local Workspace=game:GetService("Workspace");local CoreGui=game:GetService("CoreGui");local Lighting=game:GetService("Lighting");local LocalPlayer=Players.LocalPlayer;local PlayerGui=LocalPlayer:WaitForChild("PlayerGui");local MainGui=PlayerGui:FindFirstChild("Main");local COLORS={PRIMARY=Color3.fromRGB(15,15,25),SECONDARY=Color3.fromRGB(25,25,40),TERTIARY=Color3.fromRGB(35,35,55),ACCENT=Color3.fromRGB(138,43,226),ACCENT_LIGHT=Color3.fromRGB(186,85,211),SUCCESS=Color3.fromRGB(46,204,113),DANGER=Color3.fromRGB(231,76,60),TEXT=Color3.fromRGB(255,255,255),TEXT_MUTED=Color3.fromRGB(170,170,190),GOLD=Color3.fromRGB(255,215,0),NEON_BLUE=Color3.fromRGB(0,255,255),BTN_ON=Color3.fromRGB(255,0,100),BTN_OFF=Color3.fromRGB(80,80,100)};local GUI_NAME="GuessTheKillerGUI";local NOTIF_GUI_NAME="GuessKillerNotifications";local LOADING_GUI_NAME="GuessKillerLoading";local TOGGLE_GUI_NAME="GuessKillerToggleGUI";local REFERENCE_HEIGHT=900;local scale=math.clamp(Workspace.CurrentCamera.ViewportSize.Y/REFERENCE_HEIGHT ,0.8,2);local mainGuiContainer;local espEnabled=false;local espObjects={};local espConnection;local lobbyLightsOn=false;local gameLightsOn=false;local gameLightsMode="Normal";local hideGuisEnabled=false;local hiddenGuis={};local tauntsOpen=false;local savedBlinded=nil;local savedNightVision=nil;local NEW_MAIN_GUI_HEIGHT=550 * scale ;local function createTween(obj,props,time,style,dir) return TweenService:Create(obj,TweenInfo.new(time or 0.6 ,style or Enum.EasingStyle.Quint ,dir or Enum.EasingDirection.Out ),props);end local function findInvisWall() for _,descendant in ipairs(Workspace:GetDescendants()) do if (descendant:IsA("BasePart") and (descendant.Name=="InvisWall")) then return descendant;end end return nil;end local function setupNotificationSystem() local playerGui=LocalPlayer:WaitForChild("PlayerGui");if not playerGui:FindFirstChild(NOTIF_GUI_NAME) then local notifGui=Instance.new("ScreenGui");notifGui.Name=NOTIF_GUI_NAME;notifGui.ResetOnSpawn=false;notifGui.IgnoreGuiInset=true;notifGui.Parent=playerGui;local notifContainer=Instance.new("Frame");notifContainer.Size=UDim2.fromOffset(300 * scale ,400 * scale );notifContainer.Position=UDim2.new(1, -20 * scale ,1, -20 * scale );notifContainer.AnchorPoint=Vector2.new(1,1);notifContainer.BackgroundTransparency=1;notifContainer.ClipsDescendants=true;notifContainer.Parent=notifGui;local listLayout=Instance.new("UIListLayout");listLayout.SortOrder=Enum.SortOrder.LayoutOrder;listLayout.FillDirection=Enum.FillDirection.Vertical;listLayout.Padding=UDim.new(0,10 * scale );listLayout.HorizontalAlignment=Enum.HorizontalAlignment.Right;listLayout.Parent=notifContainer;end end local function showBetaNotification(text,color,icon) local playerGui=LocalPlayer:WaitForChild("PlayerGui");local notifGui=playerGui:FindFirstChild(NOTIF_GUI_NAME);if not notifGui then return;end local notifContainer=notifGui:FindFirstChild("Frame");if not notifContainer then return;end color=color or COLORS.ACCENT ;icon=icon or "✨" ;local notif=Instance.new("Frame");notif.BackgroundColor3=color;notif.BorderSizePixel=0;local corner=Instance.new("UICorner");corner.CornerRadius=UDim.new(0,12 * scale );corner.Parent=notif;local gradient=Instance.new("UIGradient");gradient.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,color),ColorSequenceKeypoint.new(1,Color3.fromRGB(math.clamp((color.R * 255) -30 ,0,255),math.clamp((color.G * 255) -30 ,0,255),math.clamp((color.B * 255) -30 ,0,255)))});gradient.Rotation=45;gradient.Parent=notif;local stroke=Instance.new("UIStroke");stroke.Color=COLORS.TEXT;stroke.Thickness=1 * scale ;stroke.Transparency=0.8;stroke.Parent=notif;local iconLabel=Instance.new("TextLabel");iconLabel.Size=UDim2.fromOffset(40 * scale ,40 * scale );iconLabel.Position=UDim2.fromOffset(10 * scale ,10 * scale );iconLabel.BackgroundTransparency=1;iconLabel.Text=icon;iconLabel.TextColor3=COLORS.TEXT;iconLabel.TextSize=24 * scale ;iconLabel.Font=Enum.Font.GothamBold;iconLabel.Parent=notif;local label=Instance.new("TextLabel");label.Size=UDim2.new(1, -70 * scale ,0,0);label.Position=UDim2.fromOffset(60 * scale ,10 * scale );label.BackgroundTransparency=1;label.Text=text;label.TextColor3=COLORS.TEXT;label.TextWrapped=true;label.Font=Enum.Font.GothamBold;label.TextSize=16 * scale ;label.TextXAlignment=Enum.TextXAlignment.Left;label.TextYAlignment=Enum.TextYAlignment.Top;label.AutomaticSize=Enum.AutomaticSize.Y;label.Parent=notif;notif.Visible=false;notif.Parent=notifContainer;task.wait();local requiredHeight=math.max(60 * scale ,label.AbsoluteSize.Y + (20 * scale) );notif.Size=UDim2.new(0,0,0,requiredHeight);notif.Visible=true;createTween(notif,{Size=UDim2.new(1,0,0,requiredHeight)},0.5,Enum.EasingStyle.Back):Play();task.delay(8,function() if (notif and notif.Parent) then local exitTween=createTween(notif,{Size=UDim2.new(0,0,0,requiredHeight),BackgroundTransparency=1},0.5,Enum.EasingStyle.Back,Enum.EasingDirection.In);exitTween.Completed:Connect(function() if notif.Parent then notif:Destroy();end end);exitTween:Play();end end);end local function showLoading() local pg=LocalPlayer:WaitForChild("PlayerGui");local gui=Instance.new("ScreenGui");gui.Name=LOADING_GUI_NAME;gui.ResetOnSpawn=false;gui.IgnoreGuiInset=true;gui.Parent=pg;local bg=Instance.new("Frame");bg.Size=UDim2.fromScale(1,1);bg.BackgroundColor3=COLORS.PRIMARY;bg.BorderSizePixel=0;bg.BackgroundTransparency=1;bg.Parent=gui;createTween(bg,{BackgroundTransparency=0},0.5):Play();local g=Instance.new("UIGradient");g.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.PRIMARY),ColorSequenceKeypoint.new(0.5,COLORS.SECONDARY),ColorSequenceKeypoint.new(1,COLORS.PRIMARY)});g.Rotation=45;g.Parent=bg;spawn(function() while gui.Parent do createTween(g,{Rotation=g.Rotation + 360 },8,Enum.EasingStyle.Linear):Play();task.wait(8);end end);local box=Instance.new("Frame");box.Size=UDim2.fromOffset(500 * scale ,350 * scale );box.Position=UDim2.fromScale(0.5,0.5);box.AnchorPoint=Vector2.new(0.5,0.5);box.BackgroundColor3=COLORS.SECONDARY;box.BorderSizePixel=0;box.BackgroundTransparency=1;box.Parent=bg;local corner=Instance.new("UICorner");corner.CornerRadius=UDim.new(0,25 * scale );corner.Parent=box;box.Position=UDim2.fromScale(0.5,0.3);createTween(box,{BackgroundTransparency=0,Position=UDim2.fromScale(0.5,0.5)},0.8,Enum.EasingStyle.Back):Play();local title=Instance.new("TextLabel");title.Size=UDim2.fromOffset(400 * scale ,80 * scale );title.Position=UDim2.fromScale(0.5,0.25);title.AnchorPoint=Vector2.new(0.5,0.5);title.BackgroundTransparency=1;title.Text="Guess the Killer V1.0";title.TextColor3=COLORS.TEXT;title.TextSize=42 * scale ;title.Font=Enum.Font.GothamBold;title.TextTransparency=1;title.Parent=box;task.wait(0.3);createTween(title,{TextTransparency=0},0.6):Play();local badge=Instance.new("TextLabel");badge.Size=UDim2.fromOffset(180 * scale ,35 * scale );badge.Position=UDim2.fromScale(0.5,0.4);badge.AnchorPoint=Vector2.new(0.5,0.5);badge.BackgroundColor3=COLORS.GOLD;badge.Text="💀 ULTIMATE ESP 💀";badge.TextColor3=COLORS.PRIMARY;badge.TextSize=16 * scale ;badge.Font=Enum.Font.GothamBold;badge.BackgroundTransparency=1;badge.TextTransparency=1;badge.Parent=box;local badgeCorner=Instance.new("UICorner");badgeCorner.CornerRadius=UDim.new(0,15 * scale );badgeCorner.Parent=badge;task.wait(0.2);createTween(badge,{BackgroundTransparency=0,TextTransparency=0},0.6):Play();local barBG=Instance.new("Frame");barBG.Size=UDim2.fromOffset(350 * scale ,8 * scale );barBG.Position=UDim2.fromScale(0.5,0.75);barBG.AnchorPoint=Vector2.new(0.5,0.5);barBG.BackgroundColor3=COLORS.TERTIARY;barBG.BorderSizePixel=0;barBG.Parent=box;local barCorner=Instance.new("UICorner");barCorner.CornerRadius=UDim.new(0,4 * scale );barCorner.Parent=barBG;local bar=Instance.new("Frame");bar.Size=UDim2.fromScale(0,1);bar.BackgroundColor3=COLORS.ACCENT;bar.BorderSizePixel=0;bar.Parent=barBG;local barCorner2=Instance.new("UICorner");barCorner2.CornerRadius=UDim.new(0,4 * scale );barCorner2.Parent=bar;local status=Instance.new("TextLabel");status.Size=UDim2.fromOffset(300 * scale ,30 * scale );status.Position=UDim2.fromScale(0.5,0.88);status.AnchorPoint=Vector2.new(0.5,0.5);status.BackgroundTransparency=1;status.Text="Initializing...";status.TextColor3=COLORS.TEXT_MUTED;status.TextSize=16 * scale ;status.Font=Enum.Font.Gotham;status.Parent=box;local steps={{text="Scanning Killers...",progress=0.25},{text="Loading GUI...",progress=0.5},{text="Configuring Notifications...",progress=0.75},{text="Finalizing Module...",progress=1}};for _,step in ipairs(steps) do task.wait(0.6);status.Text=step.text;createTween(bar,{Size=UDim2.fromScale(step.progress,1)},0.6):Play();end task.wait(0.3);local popup=Instance.new("Frame");popup.Size=UDim2.fromOffset(400 * scale ,80 * scale );popup.Position=UDim2.fromScale(0.5,0.5);popup.AnchorPoint=Vector2.new(0.5,0.5);popup.BackgroundColor3=COLORS.GOLD;popup.BorderSizePixel=0;popup.BackgroundTransparency=1;popup.Parent=box;local popupCorner=Instance.new("UICorner");popupCorner.CornerRadius=UDim.new(0,20 * scale );popupCorner.Parent=popup;local popupStroke=Instance.new("UIStroke");popupStroke.Color=COLORS.TEXT;popupStroke.Thickness=3 * scale ;popupStroke.Parent=popup;local popupText=Instance.new("TextLabel");popupText.Size=UDim2.fromScale(1,1);popupText.BackgroundTransparency=1;popupText.Text="✨ Rawscr0's UI Library 2.0 Loaded ✨";popupText.TextColor3=COLORS.PRIMARY;popupText.TextSize=22 * scale ;popupText.Font=Enum.Font.GothamBold;popupText.TextTransparency=1;popupText.Parent=popup;popup.Size=UDim2.fromOffset(0,0);createTween(popup,{BackgroundTransparency=0,Size=UDim2.fromOffset(400 * scale ,80 * scale )},0.5,Enum.EasingStyle.Back):Play();task.wait(0.3);createTween(popupText,{TextTransparency=0},0.4):Play();task.wait(1.5);createTween(popup,{BackgroundTransparency=1,Size=UDim2.fromOffset(0,0)},0.5,Enum.EasingStyle.Back,Enum.EasingDirection.In):Play();createTween(popupText,{TextTransparency=1},0.4):Play();task.wait(0.5);createTween(bg,{BackgroundTransparency=1},0.5):Play();createTween(box,{BackgroundTransparency=1},0.5):Play();createTween(title,{TextTransparency=1},0.5):Play();createTween(badge,{BackgroundTransparency=1,TextTransparency=1},0.5):Play();createTween(status,{TextTransparency=1},0.5):Play();task.wait(0.5);gui:Destroy();end local folder=Workspace:WaitForChild("GameObj"):WaitForChild("CharacterHolder"):WaitForChild("Killer");local function clearESP() for _,data in pairs(espObjects) do if data.highlight then data.highlight:Destroy();end if data.gui then data.gui:Destroy();end end table.clear(espObjects);end local function addESP(model) if not model:FindFirstChild("HumanoidRootPart") then return;end local hrp=model.HumanoidRootPart;local hl=Instance.new("Highlight");hl.Adornee=model;hl.FillColor=Color3.fromRGB(255,0,0);hl.FillTransparency=0.4;hl.OutlineColor=Color3.fromRGB(255,60,60);hl.Parent=model;local gui=Instance.new("BillboardGui");gui.Size=UDim2.new(0,200,0,50);gui.StudsOffset=Vector3.new(0,5,0);gui.AlwaysOnTop=true;gui.Adornee=hrp;gui.Parent=model;local label=Instance.new("TextLabel");label.Size=UDim2.fromScale(1,1);label.BackgroundTransparency=1;label.Text="💀 KILLER 💀";label.TextColor3=Color3.fromRGB(255,0,0);label.TextStrokeTransparency=0;label.TextScaled=true;label.Font=Enum.Font.GothamBold;label.Parent=gui;espObjects[model]={highlight=hl,gui=gui};end local function refreshESP() for model,_ in pairs(espObjects) do if ( not model or not model.Parent or (model.Parent~=folder)) then if espObjects[model] then if espObjects[model].highlight then espObjects[model].highlight:Destroy();end if espObjects[model].gui then espObjects[model].gui:Destroy();end espObjects[model]=nil;end end end for _,model in ipairs(folder:GetChildren()) do if (model:IsA("Model") and model:FindFirstChild("HumanoidRootPart") and not espObjects[model]) then addESP(model);end end end local function toggleESP(btn) espEnabled= not espEnabled;local stroke=btn:FindFirstChildOfClass("UIStroke");local grad=btn:FindFirstChildOfClass("UIGradient");local statusLabel=btn:FindFirstChild("StatusLabel");if espEnabled then stroke.Color=COLORS.SUCCESS;createTween(stroke,{Thickness=4 * scale },0.3):Play();grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_ON),ColorSequenceKeypoint.new(1,Color3.fromRGB(200,0,80))});if statusLabel then statusLabel.Text="ON";statusLabel.TextColor3=COLORS.SUCCESS;end createTween(btn,{Size=UDim2.fromOffset(310 * scale ,60 * scale )},0.2,Enum.EasingStyle.Back):Play();task.wait(0.2);createTween(btn,{Size=UDim2.fromOffset(300 * scale ,60 * scale )},0.2):Play();showBetaNotification("Killer ESP: ON",COLORS.SUCCESS,"💀");refreshESP();espConnection=RunService.Heartbeat:Connect(refreshESP);else stroke.Color=COLORS.TERTIARY;createTween(stroke,{Thickness=2 * scale },0.3):Play();grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_OFF),ColorSequenceKeypoint.new(1,Color3.fromRGB(60,60,80))});if statusLabel then statusLabel.Text="OFF";statusLabel.TextColor3=COLORS.DANGER;end showBetaNotification("Killer ESP: OFF",COLORS.DANGER,"❌");if espConnection then espConnection:Disconnect();end clearESP();end end local function toggleLobbyLights(btn) local wall=findInvisWall();local grad=btn:FindFirstChildOfClass("UIGradient");local statusLabel=btn:FindFirstChild("StatusLabel");if wall then lobbyLightsOn= not lobbyLightsOn;if lobbyLightsOn then wall.Transparency=1;wall.CanCollide=false;if statusLabel then statusLabel.Text="ON";statusLabel.TextColor3=COLORS.SUCCESS;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_ON),ColorSequenceKeypoint.new(1,Color3.fromRGB(200,0,80))});showBetaNotification("Lobby Lights: ON",COLORS.SUCCESS,"💡");else wall.Transparency=0;wall.CanCollide=true;if statusLabel then statusLabel.Text="OFF";statusLabel.TextColor3=COLORS.DANGER;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_OFF),ColorSequenceKeypoint.new(1,Color3.fromRGB(60,60,80))});showBetaNotification("Lobby Lights: OFF",COLORS.DANGER,"❌");end createTween(btn,{Size=UDim2.fromOffset(310 * scale ,60 * scale )},0.2,Enum.EasingStyle.Back):Play();task.wait(0.2);createTween(btn,{Size=UDim2.fromOffset(300 * scale ,60 * scale )},0.2):Play();else showBetaNotification("Lobby Lights: No Wall Found",COLORS.DANGER,"⚠️");end end local function toggleGameLights(btn) gameLightsOn= not gameLightsOn;local grad=btn:FindFirstChildOfClass("UIGradient");local statusLabel=btn:FindFirstChild("StatusLabel");local blinded=Lighting:FindFirstChild("Blinded");if gameLightsOn then if blinded then blinded.Enabled=false;showBetaNotification("Game Lights: ON",COLORS.SUCCESS,"🌟");else showBetaNotification("Blinded effect not found!",COLORS.DANGER,"⚠️");end if statusLabel then statusLabel.Text="ON";statusLabel.TextColor3=COLORS.SUCCESS;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_ON),ColorSequenceKeypoint.new(1,Color3.fromRGB(200,0,80))});else if blinded then blinded.Enabled=true;showBetaNotification("Game Lights: OFF",COLORS.DANGER,"❌");end if statusLabel then statusLabel.Text="OFF";statusLabel.TextColor3=COLORS.DANGER;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_OFF),ColorSequenceKeypoint.new(1,Color3.fromRGB(60,60,80))});end createTween(btn,{Size=UDim2.fromOffset(310 * scale ,60 * scale )},0.2,Enum.EasingStyle.Back):Play();task.wait(0.2);createTween(btn,{Size=UDim2.fromOffset(300 * scale ,60 * scale )},0.2):Play();end local function toggleVIPTaunts(btn) tauntsOpen= not tauntsOpen;local playerGui=LocalPlayer:WaitForChild("PlayerGui");local mainGui=playerGui:FindFirstChild("Main");if mainGui then local tauntsGui=mainGui:FindFirstChild("Taunts");if tauntsGui then tauntsGui.Visible=tauntsOpen;if tauntsOpen then btn.Text="👑 Close VIP Taunts";showBetaNotification("VIP Taunts: Opened",COLORS.GOLD,"👑");else btn.Text="👑 Open VIP Taunts";showBetaNotification("VIP Taunts: Closed",COLORS.DANGER,"❌");end else showBetaNotification("Error: Main.Taunts not found!",COLORS.DANGER,"❌");end else showBetaNotification("Error: PlayerGui.Main not found!",COLORS.DANGER,"❌");end local vipValue=LocalPlayer:FindFirstChild("VIP");if ( not vipValue or not vipValue:IsA("BoolValue")) then vipValue=Instance.new("BoolValue");vipValue.Name="VIP";vipValue.Parent=LocalPlayer;end vipValue.Value=true;createTween(btn,{Size=UDim2.fromOffset(310 * scale ,60 * scale )},0.2,Enum.EasingStyle.Back):Play();task.wait(0.2);createTween(btn,{Size=UDim2.fromOffset(300 * scale ,60 * scale )},0.2):Play();end local function toggleMainGuiVisibility() if not mainGuiContainer then return;end if mainGuiContainer.Visible then createTween(mainGuiContainer,{Size=UDim2.fromOffset(0,0),BackgroundTransparency=1},0.5,Enum.EasingStyle.Back,Enum.EasingDirection.In):Play();task.delay(0.5,function() if mainGuiContainer then mainGuiContainer.Visible=false;end end);else mainGuiContainer.Visible=true;mainGuiContainer.BackgroundTransparency=1;mainGuiContainer.Size=UDim2.fromOffset(0,0);createTween(mainGuiContainer,{Size=UDim2.fromOffset(420 * scale ,NEW_MAIN_GUI_HEIGHT),BackgroundTransparency=0},0.5,Enum.EasingStyle.Back):Play();end end local function createToggleGUI() local playerGui=LocalPlayer:WaitForChild("PlayerGui");local toggleGui=Instance.new("ScreenGui");toggleGui.Name=TOGGLE_GUI_NAME;toggleGui.ResetOnSpawn=false;toggleGui.IgnoreGuiInset=true;toggleGui.Parent=playerGui;local toggleButton=Instance.new("TextButton");toggleButton.Size=UDim2.fromOffset(50 * scale ,50 * scale );toggleButton.Position=UDim2.new(1, -40 * scale ,0.5,0);toggleButton.AnchorPoint=Vector2.new(1,0.5);toggleButton.BackgroundColor3=COLORS.ACCENT;toggleButton.Text="🔪";toggleButton.TextColor3=COLORS.TEXT;toggleButton.TextSize=24 * scale ;toggleButton.Font=Enum.Font.GothamBold;toggleButton.Parent=toggleGui;local corner=Instance.new("UICorner");corner.CornerRadius=UDim.new(0.5,0);corner.Parent=toggleButton;local stroke=Instance.new("UIStroke");stroke.Color=COLORS.ACCENT_LIGHT;stroke.Thickness=2 * scale ;stroke.Parent=toggleButton;toggleButton.MouseButton1Click:Connect(toggleMainGuiVisibility);local dragging,dragStart,startPos=false,nil,nil;toggleButton.InputBegan:Connect(function(input) if ((input.UserInputType==Enum.UserInputType.MouseButton1) or (input.UserInputType==Enum.UserInputType.Touch)) then dragging=true;dragStart=input.Position;startPos=toggleButton.Position;return Enum.ContextActionResult.Sink;end end);UserInputService.InputChanged:Connect(function(input) if (dragging and ((input.UserInputType==Enum.UserInputType.MouseMovement) or (input.UserInputType==Enum.UserInputType.Touch))) then local delta=input.Position-dragStart ;toggleButton.Position=UDim2.new(startPos.X.Scale,startPos.X.Offset + delta.X ,startPos.Y.Scale,startPos.Y.Offset + delta.Y );end end);UserInputService.InputEnded:Connect(function(input) if ((input.UserInputType==Enum.UserInputType.MouseButton1) or (input.UserInputType==Enum.UserInputType.Touch)) then dragging=false;end end);end local function createGUI() espEnabled=false;lobbyLightsOn=false;gameLightsOn=false;hideGuisEnabled=false;tauntsOpen=false;if espConnection then espConnection:Disconnect();espConnection=nil;end clearESP();local pg=LocalPlayer:WaitForChild("PlayerGui");local gui=Instance.new("ScreenGui");gui.Name=GUI_NAME;gui.ResetOnSpawn=false;gui.IgnoreGuiInset=true;gui.Parent=pg;mainGuiContainer=Instance.new("Frame");mainGuiContainer.Size=UDim2.fromOffset(420 * scale ,NEW_MAIN_GUI_HEIGHT);mainGuiContainer.Position=UDim2.fromScale(0.5,0.5);mainGuiContainer.AnchorPoint=Vector2.new(0.5,0.5);mainGuiContainer.BackgroundColor3=COLORS.PRIMARY;mainGuiContainer.BackgroundTransparency=1;mainGuiContainer.Parent=gui;local fcorner=Instance.new("UICorner");fcorner.CornerRadius=UDim.new(0,25 * scale );fcorner.Parent=mainGuiContainer;mainGuiContainer.Position=UDim2.fromScale(0.5,0.3);createTween(mainGuiContainer,{BackgroundTransparency=0,Position=UDim2.fromScale(0.5,0.5)},0.8,Enum.EasingStyle.Back):Play();local shadow=Instance.new("ImageLabel");shadow.Size=UDim2.fromScale(1.05,1.05);shadow.Position=UDim2.fromScale(0.5,0.52);shadow.AnchorPoint=Vector2.new(0.5,0.5);shadow.BackgroundTransparency=1;shadow.Image="rbxasset://textures/ui/GuiImagePlaceholder.png";shadow.ImageColor3=Color3.fromRGB(0,0,0);shadow.ImageTransparency=0.7;shadow.ZIndex=0;shadow.Parent=mainGuiContainer;local header=Instance.new("Frame");header.Size=UDim2.new(1,0,0,90 * scale );header.BackgroundColor3=COLORS.SECONDARY;header.BorderSizePixel=0;header.Parent=mainGuiContainer;local hcorner=Instance.new("UICorner");hcorner.CornerRadius=UDim.new(0,25 * scale );hcorner.Parent=header;local titleLabel=Instance.new("TextLabel");titleLabel.Size=UDim2.new(1, -30 * scale ,0,50 * scale );titleLabel.Position=UDim2.fromOffset(20 * scale ,10 * scale );titleLabel.BackgroundTransparency=1;titleLabel.Text="Guess the Killer!😱";titleLabel.TextColor3=COLORS.TEXT;titleLabel.TextSize=32 * scale ;titleLabel.Font=Enum.Font.GothamBold;titleLabel.TextXAlignment=Enum.TextXAlignment.Left;titleLabel.Parent=header;local titleGradient=Instance.new("UIGradient");titleGradient.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.GOLD),ColorSequenceKeypoint.new(0.5,COLORS.TEXT),ColorSequenceKeypoint.new(1,COLORS.ACCENT_LIGHT)});titleGradient.Parent=titleLabel;local betaBadge=Instance.new("TextLabel");betaBadge.Size=UDim2.fromOffset(140 * scale ,25 * scale );betaBadge.Position=UDim2.fromOffset(20 * scale ,60 * scale );betaBadge.BackgroundColor3=COLORS.GOLD;betaBadge.Text="✨ ULTIMATE ✨";betaBadge.TextColor3=COLORS.PRIMARY;betaBadge.TextSize=12 * scale ;betaBadge.Font=Enum.Font.GothamBold;betaBadge.Parent=header;local badgeCorner=Instance.new("UICorner");badgeCorner.CornerRadius=UDim.new(0,12 * scale );badgeCorner.Parent=betaBadge;local versionLabel=Instance.new("TextLabel");versionLabel.Size=UDim2.fromOffset(300 * scale ,25 * scale );versionLabel.Position=UDim2.new(1, -320 * scale ,0,15 * scale );versionLabel.BackgroundTransparency=1;versionLabel.Text="V 1.0";versionLabel.TextColor3=COLORS.TEXT_MUTED;versionLabel.TextSize=14 * scale ;versionLabel.Font=Enum.Font.Gotham;versionLabel.Parent=header;local content=Instance.new("Frame");content.Size=UDim2.new(1,0,1, -90 * scale );content.Position=UDim2.new(0,0,0,90 * scale );content.BackgroundTransparency=1;content.Parent=mainGuiContainer;local closeBtn=Instance.new("TextButton");closeBtn.Size=UDim2.fromOffset(45 * scale ,45 * scale );closeBtn.Position=UDim2.new(1, -60 * scale ,0,15 * scale );closeBtn.BackgroundColor3=COLORS.DANGER;closeBtn.BorderSizePixel=0;closeBtn.Text="X";closeBtn.TextColor3=COLORS.TEXT;closeBtn.TextSize=24 * scale ;closeBtn.Font=Enum.Font.GothamBold;closeBtn.Parent=header;local closeBtnCorner=Instance.new("UICorner");closeBtnCorner.CornerRadius=UDim.new(0,22 * scale );closeBtnCorner.Parent=closeBtn;closeBtn.MouseButton1Click:Connect(function() createTween(mainGuiContainer,{Size=UDim2.fromOffset(0,0)},0.5,Enum.EasingStyle.Back,Enum.EasingDirection.In):Play();createTween(mainGuiContainer,{BackgroundTransparency=1},0.5):Play();task.wait(0.5);if espConnection then espConnection:Disconnect();end clearESP();gui:Destroy();local toggleGui=LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild(TOGGLE_GUI_NAME);if toggleGui then toggleGui:Destroy();end end);local function createButton(yPos,text,callback) local btn=Instance.new("TextButton");btn.Size=UDim2.fromOffset(300 * scale ,60 * scale );btn.Position=UDim2.fromScale(0.5,yPos);btn.AnchorPoint=Vector2.new(0.5,0.5);btn.BackgroundColor3=COLORS.BTN_OFF;btn.Text=text;btn.TextColor3=COLORS.TEXT;btn.TextSize=20 * scale ;btn.Font=Enum.Font.GothamBold;btn.Parent=content;local corner=Instance.new("UICorner");corner.CornerRadius=UDim.new(0,15 * scale );corner.Parent=btn;local grad=Instance.new("UIGradient");grad.Rotation=45;grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_OFF),ColorSequenceKeypoint.new(1,Color3.fromRGB(60,60,80))});grad.Parent=btn;local stroke=Instance.new("UIStroke");stroke.Color=COLORS.TERTIARY;stroke.Thickness=2 * scale ;stroke.Parent=btn;local status=Instance.new("TextLabel");status.Name="StatusLabel";status.Size=UDim2.fromOffset(50 * scale ,25 * scale );status.Position=UDim2.new(1, -10 * scale ,0,5 * scale );status.AnchorPoint=Vector2.new(1,0);status.BackgroundColor3=COLORS.PRIMARY;status.Text="OFF";status.TextColor3=COLORS.DANGER;status.TextSize=11 * scale ;status.Font=Enum.Font.GothamBold;status.Parent=btn;local statusCorner=Instance.new("UICorner");statusCorner.CornerRadius=UDim.new(0,8 * scale );statusCorner.Parent=status;btn.MouseButton1Click:Connect(function() callback(btn);end);return btn;end local btn1=createButton(0.13,"💀 Killer ESP",toggleESP);local btn2=createButton(0.28,"💡 Lobby Lights",toggleLobbyLights);local btn3=createButton(0.43,"👁️ Hide Annoying GUIs",toggleHideGuis);local btn4=createButton(0.58,"🌟 Game Lights",function() end);local normalBtn=Instance.new("TextButton");normalBtn.Size=UDim2.fromOffset(140 * scale ,30 * scale );normalBtn.Position=UDim2.fromOffset(60 * scale ,395 * scale );normalBtn.BackgroundColor3=Color3.fromRGB(100,200,100);normalBtn.Text="Normal";normalBtn.TextColor3=COLORS.TEXT;normalBtn.TextSize=14 * scale ;normalBtn.Font=Enum.Font.GothamBold;normalBtn.Visible=false;normalBtn.Parent=content;local normalCorner=Instance.new("UICorner");normalCorner.CornerRadius=UDim.new(0,10 * scale );normalCorner.Parent=normalBtn;local scaryBtn=Instance.new("TextButton");scaryBtn.Size=UDim2.fromOffset(140 * scale ,30 * scale );scaryBtn.Position=UDim2.fromOffset(220 * scale ,395 * scale );scaryBtn.BackgroundColor3=Color3.fromRGB(150,0,200);scaryBtn.Text="Scary";scaryBtn.TextColor3=COLORS.TEXT;scaryBtn.TextSize=14 * scale ;scaryBtn.Font=Enum.Font.GothamBold;scaryBtn.Visible=false;scaryBtn.Parent=content;local scaryCorner=Instance.new("UICorner");scaryCorner.CornerRadius=UDim.new(0,10 * scale );scaryCorner.Parent=scaryBtn;btn4.MouseButton1Click:Connect(function() toggleGameLights(btn4,normalBtn,scaryBtn);end);normalBtn.MouseButton1Click:Connect(function() gameLightsMode="Normal";if gameLightsOn then applyGameLights("Normal");end normalBtn.BackgroundColor3=Color3.fromRGB(50,255,50);scaryBtn.BackgroundColor3=Color3.fromRGB(150,0,200);end);scaryBtn.MouseButton1Click:Connect(function() gameLightsMode="Scary";if gameLightsOn then applyGameLights("Scary");end scaryBtn.BackgroundColor3=Color3.fromRGB(200,0,255);normalBtn.BackgroundColor3=Color3.fromRGB(100,200,100);end);local btn5=Instance.new("TextButton");btn5.Size=UDim2.fromOffset(300 * scale ,60 * scale );btn5.Position=UDim2.fromScale(0.5,0.82);btn5.AnchorPoint=Vector2.new(0.5,0.5);btn5.BackgroundColor3=COLORS.GOLD;btn5.Text="👑 Open VIP Taunts";btn5.TextColor3=COLORS.PRIMARY;btn5.TextSize=20 * scale ;btn5.Font=Enum.Font.GothamBold;btn5.Parent=content;local bc5=Instance.new("UICorner");bc5.CornerRadius=UDim.new(0,15 * scale );bc5.Parent=btn5;local g5=Instance.new("UIGradient");g5.Rotation=45;g5.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.GOLD),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255,230,100)),ColorSequenceKeypoint.new(1,Color3.fromRGB(200,150,0))});g5.Parent=btn5;local s5=Instance.new("UIStroke");s5.Color=Color3.fromRGB(200,150,0);s5.Thickness=3 * scale ;s5.Parent=btn5;spawn(function() while btn5 and btn5.Parent do createTween(s5,{Thickness=5 * scale ,Transparency=0.3},1,Enum.EasingStyle.Sine):Play();task.wait(1);createTween(s5,{Thickness=3 * scale ,Transparency=0},1,Enum.EasingStyle.Sine):Play();task.wait(1);end end);btn5.MouseButton1Click:Connect(function() toggleVIPTaunts(btn5);end);for _,btn in ipairs({btn1,btn2,btn3,btn4,btn5}) do local baseSize=btn.Size;btn.MouseEnter:Connect(function() local currentSize=btn.Size;if (math.abs(currentSize.X.Offset-baseSize.X.Offset )<1) then createTween(btn,{Size=baseSize + UDim2.fromOffset(5 * scale ,5 * scale ) },0.2):Play();end end);btn.MouseLeave:Connect(function() createTween(btn,{Size=baseSize},0.2):Play();end);end local dragging,start,pos;header.InputBegan:Connect(function(i) if (i.UserInputType==Enum.UserInputType.MouseButton1) then dragging=true;start=i.Position;pos=mainGuiContainer.Position;end end);UserInputService.InputChanged:Connect(function(i) if (dragging and (i.UserInputType==Enum.UserInputType.MouseMovement)) then local delta=i.Position-start ;mainGuiContainer.Position=UDim2.new(pos.X.Scale,pos.X.Offset + delta.X ,pos.Y.Scale,pos.Y.Offset + delta.Y );end end);UserInputService.InputEnded:Connect(function(i) if (i.UserInputType==Enum.UserInputType.MouseButton1) then dragging=false;end end);end local function onCharacterRespawned() task.wait(0.2);if lobbyLightsOn then lobbyLightsOn=false;showBetaNotification("Lobby Lights reset",COLORS.NEON_BLUE,"⚠️");end if gameLightsOn then restoreGameLights();gameLightsOn=false;end if MainGui then local TauntsGui=MainGui:FindFirstChild("Taunts");if TauntsGui then TauntsGui.Visible=false;end end tauntsOpen=false;end local function cleanUpOldGUIs() local playerGui=LocalPlayer:WaitForChild("PlayerGui");local oldGui=playerGui:FindFirstChild(GUI_NAME);if oldGui then if espConnection then espConnection:Disconnect();end clearESP();oldGui:Destroy();end local oldToggleGui=playerGui:FindFirstChild(TOGGLE_GUI_NAME);if oldToggleGui then oldToggleGui:Destroy();end local oldNotifGui=playerGui:FindFirstChild(NOTIF_GUI_NAME);if oldNotifGui then oldNotifGui:Destroy();end local oldLoadingGui=playerGui:FindFirstChild(LOADING_GUI_NAME);if oldLoadingGui then oldLoadingGui:Destroy();end end local function initialize() cleanUpOldGUIs();showLoading();setupNotificationSystem();task.wait(4);createGUI();createToggleGUI();task.wait(0.5);showBetaNotification("Guess the Killer V1.0 Ready!",COLORS.ACCENT,"🚀");end LocalPlayer.CharacterAdded:Connect(onCharacterRespawned);initialize();if LocalPlayer.Character then onCharacterRespawned();end local function toggleHideGuis(btn) hideGuisEnabled= not hideGuisEnabled;local grad=btn:FindFirstChildOfClass("UIGradient");local statusLabel=btn:FindFirstChild("StatusLabel");if hideGuisEnabled then hiddenGuis={};for _,gui in ipairs(PlayerGui:GetChildren()) do if (gui:IsA("ScreenGui") and (gui.Name~=GUI_NAME) and (gui.Name~=NOTIF_GUI_NAME) and (gui.Name~=TOGGLE_GUI_NAME)) then if gui.Enabled then table.insert(hiddenGuis,gui);gui.Enabled=false;end end end if statusLabel then statusLabel.Text="ON";statusLabel.TextColor3=COLORS.SUCCESS;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_ON),ColorSequenceKeypoint.new(1,Color3.fromRGB(200,0,80))});showBetaNotification("GUIs Hidden: " .. #hiddenGuis ,COLORS.SUCCESS,"👁️");else for _,gui in ipairs(hiddenGuis) do if (gui and gui.Parent) then gui.Enabled=true;end end if statusLabel then statusLabel.Text="OFF";statusLabel.TextColor3=COLORS.DANGER;end grad.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,COLORS.BTN_OFF),ColorSequenceKeypoint.new(1,Color3.fromRGB(60,60,80))});showBetaNotification("GUIs Restored: " .. #hiddenGuis ,COLORS.NEON_BLUE,"✅");hiddenGuis={};end createTween(btn,{Size=UDim2.fromOffset(310 * scale ,60 * scale )},0.2,Enum.EasingStyle.Back):Play();task.wait(0.2);createTween(btn,{Size=UDim2.fromOffset(300 * scale ,60 * scale )},0.2):Play();end end