repeat task.wait() until game:IsLoaded() local Players=game:GetService("Players") local RunService=game:GetService("RunService") local UIS=game:GetService("UserInputService") local TweenService=game:GetService("TweenService") local Lighting=game:GetService("Lighting") local lp=Players.LocalPlayer local ScreenGui=Instance.new("ScreenGui") ScreenGui.Parent=game.CoreGui ScreenGui.Name="CHMenu" ScreenGui.ResetOnSpawn=false ScreenGui.ZIndexBehavior=Enum.ZIndexBehavior.Sibling local BLUE=Color3.fromRGB(30,100,200) local DARKBLUE=Color3.fromRGB(15,60,130) local DARKERBG=Color3.fromRGB(10,10,30) local BTNBG=Color3.fromRGB(20,50,100) local GREEN=Color3.fromRGB(0,160,0) local settings={animations=true,closeSubsOnMenuClose=true} local blurEffect=Instance.new("BlurEffect") blurEffect.Size=0 blurEffect.Parent=Lighting local StartupFrame=Instance.new("Frame") StartupFrame.Parent=ScreenGui StartupFrame.Size=UDim2.new(1,0,1,0) StartupFrame.BackgroundColor3=Color3.fromRGB(5,5,15) StartupFrame.BackgroundTransparency=0.3 StartupFrame.BorderSizePixel=0 StartupFrame.ZIndex=100 TweenService:Create(blurEffect,TweenInfo.new(0.5),{Size=24}):Play() local loadingLbl=Instance.new("TextLabel") loadingLbl.Parent=StartupFrame loadingLbl.BackgroundTransparency=1 loadingLbl.Position=UDim2.new(0.5,-200,0.5,-80) loadingLbl.Size=UDim2.new(0,400,0,60) loadingLbl.Text="Cadens Hack Menu" loadingLbl.TextColor3=Color3.fromRGB(255,255,255) loadingLbl.TextScaled=true loadingLbl.Font=Enum.Font.GothamBold loadingLbl.ZIndex=101 local loadingDots=Instance.new("TextLabel") loadingDots.Parent=StartupFrame loadingDots.BackgroundTransparency=1 loadingDots.Position=UDim2.new(0.5,-200,0.5,-20) loadingDots.Size=UDim2.new(0,400,0,40) loadingDots.Text="... loading" loadingDots.TextColor3=Color3.fromRGB(150,180,255) loadingDots.TextScaled=true loadingDots.Font=Enum.Font.Gotham loadingDots.ZIndex=101 local CTGLabel=Instance.new("TextLabel") CTGLabel.Parent=StartupFrame CTGLabel.BackgroundTransparency=1 CTGLabel.Position=UDim2.new(0.5,-100,0.5,40) CTGLabel.Size=UDim2.new(0,200,0,100) CTGLabel.Text="CTG" CTGLabel.TextColor3=Color3.fromRGB(100,180,255) CTGLabel.TextScaled=true CTGLabel.Font=Enum.Font.GothamBold CTGLabel.ZIndex=101 task.spawn(function() local rot=0 while StartupFrame and StartupFrame.Parent do rot=rot+0.5 CTGLabel.Rotation=rot task.wait(0.03) end end) task.spawn(function() local dots={"",".","..", "..."} local i=1 while StartupFrame and StartupFrame.Parent do loadingDots.Text=dots[i].." loading" i=i%#dots+1 task.wait(0.4) end end) task.spawn(function() task.wait(7) TweenService:Create(blurEffect,TweenInfo.new(0.5),{Size=0}):Play() TweenService:Create(StartupFrame,TweenInfo.new(0.5),{BackgroundTransparency=1}):Play() TweenService:Create(loadingLbl,TweenInfo.new(0.3),{TextTransparency=1}):Play() TweenService:Create(loadingDots,TweenInfo.new(0.3),{TextTransparency=1}):Play() TweenService:Create(CTGLabel,TweenInfo.new(0.3),{TextTransparency=1}):Play() task.wait(0.5) StartupFrame:Destroy() end) local function hoverEffect(btn,baseColor) local origSize=btn.Size local origPos=btn.Position local hc=Color3.new(math.min(baseColor.R+0.08,1),math.min(baseColor.G+0.08,1),math.min(baseColor.B+0.08,1)) btn.MouseEnter:Connect(function() if btn.BackgroundColor3~=GREEN then TweenService:Create(btn,TweenInfo.new(0.1),{BackgroundColor3=hc}):Play() end if not settings.animations then return end TweenService:Create(btn,TweenInfo.new(0.1),{Size=UDim2.new(origSize.X.Scale,origSize.X.Offset+4,origSize.Y.Scale,origSize.Y.Offset+4),Position=UDim2.new(origPos.X.Scale,origPos.X.Offset-2,origPos.Y.Scale,origPos.Y.Offset-2)}):Play() end) btn.MouseLeave:Connect(function() if btn.BackgroundColor3~=GREEN then TweenService:Create(btn,TweenInfo.new(0.1),{BackgroundColor3=baseColor}):Play() end if not settings.animations then return end TweenService:Create(btn,TweenInfo.new(0.1),{Size=origSize,Position=origPos}):Play() end) btn.MouseButton1Down:Connect(function() if not settings.animations then return end TweenService:Create(btn,TweenInfo.new(0.05),{Size=UDim2.new(origSize.X.Scale,origSize.X.Offset-2,origSize.Y.Scale,origSize.Y.Offset-2),Position=UDim2.new(origPos.X.Scale,origPos.X.Offset+1,origPos.Y.Scale,origPos.Y.Offset+1)}):Play() end) btn.MouseButton1Up:Connect(function() if not settings.animations then return end TweenService:Create(btn,TweenInfo.new(0.05),{Size=origSize,Position=origPos}):Play() end) end local function tweenMenu(frame,targetPos,onComplete) if settings.animations then local t=TweenService:Create(frame,TweenInfo.new(0.2,Enum.EasingStyle.Quad,Enum.EasingDirection.In),{Position=targetPos}) t:Play() if onComplete then t.Completed:Connect(onComplete) end else frame.Position=targetPos if onComplete then onComplete() end end end local function tweenMenuOpen(frame,targetPos) if settings.animations then TweenService:Create(frame,TweenInfo.new(0.3,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{Position=targetPos}):Play() else frame.Position=targetPos end end local ToggleBar=Instance.new("Frame") ToggleBar.Parent=ScreenGui ToggleBar.BackgroundColor3=BLUE ToggleBar.Position=UDim2.new(0,-40,0.45,0) ToggleBar.Size=UDim2.new(0,28,0,80) ToggleBar.Active=true ToggleBar.Draggable=true ToggleBar.BorderSizePixel=0 Instance.new("UICorner",ToggleBar).CornerRadius=UDim.new(0,6) local ToggleLbl=Instance.new("TextLabel") ToggleLbl.Parent=ToggleBar ToggleLbl.Size=UDim2.new(1,0,1,0) ToggleLbl.BackgroundTransparency=1 ToggleLbl.Text="C\nH\nM" ToggleLbl.TextColor3=Color3.fromRGB(255,255,255) ToggleLbl.TextScaled=true ToggleLbl.Font=Enum.Font.GothamBold task.spawn(function() task.wait(7.2) tweenMenuOpen(ToggleBar,UDim2.new(0,5,0.45,0)) end) local Frame=Instance.new("Frame") Frame.Parent=ScreenGui Frame.BackgroundColor3=DARKERBG Frame.Position=UDim2.new(0,-340,0,130) Frame.Size=UDim2.new(0,320,0,760) Frame.Active=true Frame.Draggable=false Frame.BorderSizePixel=0 Frame.Visible=false Frame.ZIndex=2 Instance.new("UICorner",Frame).CornerRadius=UDim.new(0,10) local mainStroke=Instance.new("UIStroke",Frame) mainStroke.Color=BLUE mainStroke.Thickness=2 local PlayerPanel=Instance.new("Frame") PlayerPanel.Parent=ScreenGui PlayerPanel.BackgroundColor3=DARKERBG PlayerPanel.Position=UDim2.new(0,368,0,130) PlayerPanel.Size=UDim2.new(0,240,0,350) PlayerPanel.Visible=false PlayerPanel.ZIndex=2 PlayerPanel.Active=true PlayerPanel.BorderSizePixel=0 Instance.new("UICorner",PlayerPanel).CornerRadius=UDim.new(0,10) Instance.new("UIStroke",PlayerPanel).Color=BLUE local draggingFrame=false local dragStart=nil local startPos=nil local menuOpen=false local playerPanelOpen=false local allSubMenus={} local function registerSubMenu(m) table.insert(allSubMenus,m) end local function closePlayerPanel() if playerPanelOpen then playerPanelOpen=false tweenMenu(PlayerPanel,UDim2.new(0,Frame.Position.X.Offset+320,0,Frame.Position.Y.Offset-20),function() PlayerPanel.Visible=false end) end end local function closeAllSubMenus() for _,m in pairs(allSubMenus) do m.Visible=false end end local function closeMenu() menuOpen=false closePlayerPanel() if settings.closeSubsOnMenuClose then closeAllSubMenus() end tweenMenu(Frame,UDim2.new(0,-340,0,130),function() if not menuOpen then Frame.Visible=false end end) end local function openMenu() menuOpen=true Frame.Visible=true Frame.Position=UDim2.new(0,-340,0,130) tweenMenuOpen(Frame,UDim2.new(0,40,0,130)) end ToggleBar.InputBegan:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 then if menuOpen then closeMenu() else openMenu() end end end) local Title=Instance.new("TextLabel") Title.Parent=Frame Title.BackgroundColor3=BLUE Title.Size=UDim2.new(1,0,0,40) Title.Text="Cadens Hack Menu" Title.TextColor3=Color3.fromRGB(255,255,255) Title.TextScaled=true Title.Font=Enum.Font.GothamBold Title.BorderSizePixel=0 Title.ZIndex=2 Title.Active=true Instance.new("UICorner",Title).CornerRadius=UDim.new(0,10) Title.InputBegan:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 then draggingFrame=true dragStart=i.Position startPos=Frame.Position end end) Title.InputEnded:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 then draggingFrame=false end end) UIS.InputChanged:Connect(function(i) if draggingFrame and i.UserInputType==Enum.UserInputType.MouseMovement then local delta=i.Position-dragStart Frame.Position=UDim2.new(startPos.X.Scale,startPos.X.Offset+delta.X,startPos.Y.Scale,startPos.Y.Offset+delta.Y) PlayerPanel.Position=UDim2.new(0,Frame.Position.X.Offset+328,0,Frame.Position.Y.Offset) end end) local CloseBtn=Instance.new("TextButton") CloseBtn.Parent=Frame CloseBtn.BackgroundColor3=Color3.fromRGB(120,0,0) CloseBtn.Position=UDim2.new(1,-36,0,4) CloseBtn.Size=UDim2.new(0,32,0,32) CloseBtn.Text="X" CloseBtn.TextColor3=Color3.fromRGB(255,255,255) CloseBtn.TextScaled=true CloseBtn.Font=Enum.Font.GothamBold CloseBtn.BorderSizePixel=0 CloseBtn.ZIndex=10 Instance.new("UICorner",CloseBtn).CornerRadius=UDim.new(0,6) CloseBtn.MouseButton1Click:Connect(function() closeMenu() end) -- PAGE SYSTEM local currentPage=1 local totalPages=2 local page1Buttons={} local page2Buttons={} local pageNavFrame=Instance.new("Frame") pageNavFrame.Parent=Frame pageNavFrame.BackgroundTransparency=1 pageNavFrame.Position=UDim2.new(0.02,0,0,46) pageNavFrame.Size=UDim2.new(0.96,0,0,30) pageNavFrame.ZIndex=2 local prevPageBtn=Instance.new("TextButton") prevPageBtn.Parent=pageNavFrame prevPageBtn.BackgroundColor3=DARKBLUE prevPageBtn.Position=UDim2.new(0,0,0,0) prevPageBtn.Size=UDim2.new(0,40,1,0) prevPageBtn.Text="◀" prevPageBtn.TextColor3=Color3.fromRGB(255,255,255) prevPageBtn.TextScaled=true prevPageBtn.Font=Enum.Font.GothamBold prevPageBtn.BorderSizePixel=0 prevPageBtn.ZIndex=2 Instance.new("UICorner",prevPageBtn).CornerRadius=UDim.new(0,6) local pageCountLbl=Instance.new("TextLabel") pageCountLbl.Parent=pageNavFrame pageCountLbl.BackgroundTransparency=1 pageCountLbl.Position=UDim2.new(0,44,0,0) pageCountLbl.Size=UDim2.new(1,-88,1,0) pageCountLbl.Text="Page 1 / 2" pageCountLbl.TextColor3=Color3.fromRGB(200,200,200) pageCountLbl.TextScaled=true pageCountLbl.Font=Enum.Font.GothamBold pageCountLbl.ZIndex=2 local nextPageBtn=Instance.new("TextButton") nextPageBtn.Parent=pageNavFrame nextPageBtn.BackgroundColor3=DARKBLUE nextPageBtn.Position=UDim2.new(1,-40,0,0) nextPageBtn.Size=UDim2.new(0,40,1,0) nextPageBtn.Text="▶" nextPageBtn.TextColor3=Color3.fromRGB(255,255,255) nextPageBtn.TextScaled=true nextPageBtn.Font=Enum.Font.GothamBold nextPageBtn.BorderSizePixel=0 nextPageBtn.ZIndex=2 Instance.new("UICorner",nextPageBtn).CornerRadius=UDim.new(0,6) local function showPage(page) currentPage=page pageCountLbl.Text="Page "..page.." / "..totalPages for _,b in pairs(page1Buttons) do b.Visible=(page==1) end for _,b in pairs(page2Buttons) do b.Visible=(page==2) end end prevPageBtn.MouseButton1Click:Connect(function() if currentPage>1 then showPage(currentPage-1) end end) nextPageBtn.MouseButton1Click:Connect(function() if currentPage=spamChatDelay then last=tick() if spamChatAlt then local msg=onMsg1 and chatMsgBox.Text or chatMsgBox2.Text sendMsg(msg) sentCount=sentCount+1 if sentCount>=spamChatCount then sentCount=0 onMsg1=not onMsg1 end else sendMsg(chatMsgBox.Text) end end end) notify("Spam chat started!") end) stopChatBtn.MouseButton1Click:Connect(function() spamChat=false if chatConn then chatConn:Disconnect() chatConn=nil end notify("Spam chat stopped!") end) local spamChatBtnMain=makeBtn("Spam Chat",562,DARKBLUE,1) spamChatBtnMain.MouseButton1Click:Connect(function() spamChatMenuOpen=not spamChatMenuOpen SpamChatMenu.Visible=spamChatMenuOpen end) local keybinds={fly=nil,noclip=nil,spamtp=nil,tp=nil,spamchat=nil,blink=nil,infjump=nil} local listeningFor=nil local KeybindMenu=makeSubFrame(300,430) local keybindMenuOpen=false local KeybindTitle=makeSubTitle(KeybindMenu,"Keybinds") makeSubMenuDraggable(KeybindMenu,KeybindTitle) local keybindRows={} local function makeKeybindRow(name,label,ypos) local rf=Instance.new("Frame") rf.Parent=KeybindMenu rf.BackgroundColor3=Color3.fromRGB(15,25,55) rf.Position=UDim2.new(0.02,0,0,ypos) rf.Size=UDim2.new(0.96,0,0,44) rf.BorderSizePixel=0 rf.ZIndex=21 Instance.new("UICorner",rf).CornerRadius=UDim.new(0,6) local nl=Instance.new("TextLabel") nl.Parent=rf nl.BackgroundTransparency=1 nl.Position=UDim2.new(0.02,0,0,4) nl.Size=UDim2.new(0.5,0,0,18) nl.Text=label nl.TextColor3=Color3.fromRGB(255,255,255) nl.TextScaled=true nl.Font=Enum.Font.Gotham nl.TextXAlignment=Enum.TextXAlignment.Left nl.ZIndex=22 local bb=Instance.new("TextButton") bb.Parent=rf bb.BackgroundColor3=DARKBLUE bb.Position=UDim2.new(0.02,0,0,24) bb.Size=UDim2.new(0.6,0,0,16) bb.Text="None" bb.TextColor3=Color3.fromRGB(255,255,255) bb.TextScaled=true bb.Font=Enum.Font.Gotham bb.BorderSizePixel=0 bb.ZIndex=22 Instance.new("UICorner",bb).CornerRadius=UDim.new(0,4) hoverEffect(bb,DARKBLUE) local cb=Instance.new("TextButton") cb.Parent=rf cb.BackgroundColor3=Color3.fromRGB(150,0,0) cb.Position=UDim2.new(0.66,0,0,24) cb.Size=UDim2.new(0.32,0,0,16) cb.Text="Clear" cb.TextColor3=Color3.fromRGB(255,255,255) cb.TextScaled=true cb.Font=Enum.Font.Gotham cb.BorderSizePixel=0 cb.ZIndex=22 Instance.new("UICorner",cb).CornerRadius=UDim.new(0,4) hoverEffect(cb,Color3.fromRGB(150,0,0)) bb.MouseButton1Click:Connect(function() listeningFor=name bb.Text="Press a key..." bb.BackgroundColor3=GREEN end) cb.MouseButton1Click:Connect(function() keybinds[name]=nil bb.Text="None" bb.BackgroundColor3=DARKBLUE notify(label.." cleared!") end) keybindRows[name]=bb end makeKeybindRow("fly","Fly",42) makeKeybindRow("noclip","NoClip",92) makeKeybindRow("spamtp","Spam TP",142) makeKeybindRow("tp","TP To Player",192) makeKeybindRow("spamchat","Spam Chat",242) makeKeybindRow("blink","⚡ Blink",292) makeKeybindRow("infjump","Inf Jump",342) UIS.InputBegan:Connect(function(i,gp) if gp then return end if i.UserInputType==Enum.UserInputType.Keyboard then if listeningFor then keybinds[listeningFor]=i.KeyCode if keybindRows[listeningFor] then keybindRows[listeningFor].Text=i.KeyCode.Name keybindRows[listeningFor].BackgroundColor3=DARKBLUE end notify(listeningFor.." → "..i.KeyCode.Name) listeningFor=nil return end if keybinds.fly and i.KeyCode==keybinds.fly then flying=not flying flyBtn.BackgroundColor3=flying and GREEN or DARKBLUE flyBtn.Text=flying and"Fly (ON)"or"Fly" if flying then startFly() else stopFly() end end if keybinds.noclip and i.KeyCode==keybinds.noclip then noclip=not noclip noclipBtn.BackgroundColor3=noclip and GREEN or DARKBLUE noclipBtn.Text=noclip and"NoClip (ON)"or"NoClip" end if keybinds.spamtp and i.KeyCode==keybinds.spamtp then spamTP=not spamTP spamTPBtn.BackgroundColor3=spamTP and GREEN or BLUE spamTPBtn.Text=spamTP and"Spam TP (ON)"or"Spam TP To Player" if spamTP then spamTPConn=RunService.Heartbeat:Connect(function() if not spamTP then spamTPConn:Disconnect() return end if getTHRP()and getHRP() then getHRP().CFrame=getTHRP().CFrame+Vector3.new(3,0,0) end end) else if spamTPConn then spamTPConn:Disconnect() spamTPConn=nil end end end if keybinds.tp and i.KeyCode==keybinds.tp then if getTHRP()and getHRP() then getHRP().CFrame=getTHRP().CFrame+Vector3.new(3,0,0) notify("Teleported!") else notify("Select a player first!") end end if keybinds.spamchat and i.KeyCode==keybinds.spamchat then spamChatMenuOpen=not spamChatMenuOpen SpamChatMenu.Visible=spamChatMenuOpen end if keybinds.blink and i.KeyCode==keybinds.blink then doBlink() end if keybinds.infjump and i.KeyCode==keybinds.infjump then infJump=not infJump infJumpBtn.BackgroundColor3=infJump and GREEN or DARKBLUE infJumpBtn.Text=infJump and"Inf Jump (ON)"or"Inf Jump" if infJump then infJumpConn=UIS.JumpRequest:Connect(function() local hum=getHum() if hum and infJump then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) else if infJumpConn then infJumpConn:Disconnect() infJumpConn=nil end end end end end) local keybindBtnMain=makeBtn("Keybinds",606,DARKBLUE,1) keybindBtnMain.MouseButton1Click:Connect(function() keybindMenuOpen=not keybindMenuOpen KeybindMenu.Visible=keybindMenuOpen end) local SettingsMenu=makeSubFrame(300,200) local settingsMenuOpen=false local SettingsTitle=makeSubTitle(SettingsMenu,"⚙️ Settings") makeSubMenuDraggable(SettingsMenu,SettingsTitle) local animBtn=Instance.new("TextButton") animBtn.Parent=SettingsMenu animBtn.BackgroundColor3=GREEN animBtn.Position=UDim2.new(0.02,0,0,42) animBtn.Size=UDim2.new(0.96,0,0,36) animBtn.Text="Animations: ON" animBtn.TextColor3=Color3.fromRGB(255,255,255) animBtn.TextScaled=true animBtn.Font=Enum.Font.Gotham animBtn.BorderSizePixel=0 animBtn.ZIndex=21 Instance.new("UICorner",animBtn).CornerRadius=UDim.new(0,6) animBtn.MouseButton1Click:Connect(function() settings.animations=not settings.animations animBtn.BackgroundColor3=settings.animations and GREEN or DARKBLUE animBtn.Text=settings.animations and"Animations: ON"or"Animations: OFF" notify("Animations "..(settings.animations and"ON"or"OFF")) end) local closeSubsBtn=Instance.new("TextButton") closeSubsBtn.Parent=SettingsMenu closeSubsBtn.BackgroundColor3=GREEN closeSubsBtn.Position=UDim2.new(0.02,0,0,84) closeSubsBtn.Size=UDim2.new(0.96,0,0,36) closeSubsBtn.Text="Close Subs On Hide: ON" closeSubsBtn.TextColor3=Color3.fromRGB(255,255,255) closeSubsBtn.TextScaled=true closeSubsBtn.Font=Enum.Font.Gotham closeSubsBtn.BorderSizePixel=0 closeSubsBtn.ZIndex=21 Instance.new("UICorner",closeSubsBtn).CornerRadius=UDim.new(0,6) closeSubsBtn.MouseButton1Click:Connect(function() settings.closeSubsOnMenuClose=not settings.closeSubsOnMenuClose closeSubsBtn.BackgroundColor3=settings.closeSubsOnMenuClose and GREEN or DARKBLUE closeSubsBtn.Text=settings.closeSubsOnMenuClose and"Close Subs On Hide: ON"or"Close Subs On Hide: OFF" notify("Close subs "..(settings.closeSubsOnMenuClose and"ON"or"OFF")) end) local versionLbl=Instance.new("TextLabel") versionLbl.Parent=SettingsMenu versionLbl.BackgroundTransparency=1 versionLbl.Position=UDim2.new(0.02,0,0,130) versionLbl.Size=UDim2.new(0.96,0,0,20) versionLbl.Text="CHM v3.4" versionLbl.TextColor3=Color3.fromRGB(100,100,150) versionLbl.TextScaled=true versionLbl.Font=Enum.Font.Gotham versionLbl.ZIndex=21 local settingsBtnMain=makeBtn("⚙️ Settings",650,DARKBLUE,1) settingsBtnMain.MouseButton1Click:Connect(function() settingsMenuOpen=not settingsMenuOpen SettingsMenu.Visible=settingsMenuOpen end) -- PAGE 2 - ANNOY PLAYER SETTINGS WINDOW local AnnoySettingsWindow=makeSubFrame(280,340) local annoySettingsOpen=false local AnnoySettTitle=makeSubTitle(AnnoySettingsWindow,"😈 Annoy Settings") makeSubMenuDraggable(AnnoySettingsWindow,AnnoySettTitle) local annoyActiveTime=5 local annoyPauseTime=3 local annoyRotSpeed=10 local annoyRadius=8 local annoyLoop=true local function addAnnoySlider(labelText,ypos,minVal,maxVal,defaultVal,callback) local lbl=Instance.new("TextLabel") lbl.Parent=AnnoySettingsWindow lbl.BackgroundTransparency=1 lbl.Position=UDim2.new(0.02,0,0,ypos) lbl.Size=UDim2.new(0.96,0,0,14) lbl.Text=labelText..": "..defaultVal lbl.TextColor3=Color3.fromRGB(200,200,200) lbl.TextScaled=true lbl.Font=Enum.Font.Gotham lbl.ZIndex=21 local track=Instance.new("Frame") track.Parent=AnnoySettingsWindow track.BackgroundColor3=Color3.fromRGB(20,30,60) track.Position=UDim2.new(0.02,0,0,ypos+16) track.Size=UDim2.new(0.96,0,0,14) track.BorderSizePixel=0 track.ZIndex=21 track.Active=true Instance.new("UICorner",track).CornerRadius=UDim.new(0,7) local fill=Instance.new("Frame") fill.Parent=track fill.BackgroundColor3=Color3.fromRGB(150,0,0) local startRel=(defaultVal-minVal)/(maxVal-minVal) fill.Size=UDim2.new(startRel,0,1,0) fill.BorderSizePixel=0 fill.ZIndex=22 Instance.new("UICorner",fill).CornerRadius=UDim.new(0,7) local dragging=false track.InputBegan:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 then dragging=true end end) UIS.InputEnded:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false end end) UIS.InputChanged:Connect(function(i) if dragging and i.UserInputType==Enum.UserInputType.MouseMovement then local rel=math.clamp((i.Position.X-track.AbsolutePosition.X)/track.AbsoluteSize.X,0,1) local val=math.floor(minVal+(maxVal-minVal)*rel) fill.Size=UDim2.new(rel,0,1,0) lbl.Text=labelText..": "..val callback(val) end end) end addAnnoySlider("Active Time",42,1,30,5,function(v) annoyActiveTime=v end) addAnnoySlider("Pause Time",76,0,30,3,function(v) annoyPauseTime=v end) addAnnoySlider("Rotation Speed",110,1,50,10,function(v) annoyRotSpeed=v end) addAnnoySlider("Radius",144,2,30,8,function(v) annoyRadius=v end) local annoyLoopBtn=makeSubBtn(AnnoySettingsWindow,"Loop: ON",184,GREEN) annoyLoopBtn.MouseButton1Click:Connect(function() annoyLoop=not annoyLoop annoyLoopBtn.BackgroundColor3=annoyLoop and GREEN or DARKBLUE annoyLoopBtn.Text=annoyLoop and"Loop: ON"or"Loop: OFF" end) local annoyActive=false local annoyConn=nil local function stopAnnoy(annoyBtn) annoyActive=false if annoyConn then annoyConn:Disconnect() annoyConn=nil end if annoyBtn then annoyBtn.BackgroundColor3=Color3.fromRGB(150,0,0) annoyBtn.Text="😈 Annoy Player" end notify("Annoy stopped!") end -- PAGE 2 BUTTON - Annoy Player toggle button local annoyMainBtn=Instance.new("TextButton") annoyMainBtn.Parent=Frame annoyMainBtn.BackgroundColor3=Color3.fromRGB(150,0,0) annoyMainBtn.Position=UDim2.new(0.02,0,0,82) annoyMainBtn.Size=UDim2.new(0.78,0,0,38) annoyMainBtn.Text="😈 Annoy Player" annoyMainBtn.TextColor3=Color3.fromRGB(255,255,255) annoyMainBtn.TextScaled=true annoyMainBtn.Font=Enum.Font.GothamBold annoyMainBtn.BorderSizePixel=0 annoyMainBtn.ZIndex=2 annoyMainBtn.Visible=false Instance.new("UICorner",annoyMainBtn).CornerRadius=UDim.new(0,6) hoverEffect(annoyMainBtn,Color3.fromRGB(150,0,0)) table.insert(page2Buttons,annoyMainBtn) local annoySettBtn=Instance.new("TextButton") annoySettBtn.Parent=Frame annoySettBtn.BackgroundColor3=Color3.fromRGB(100,0,0) annoySettBtn.Position=UDim2.new(0.82,0,0,82) annoySettBtn.Size=UDim2.new(0.16,0,0,38) annoySettBtn.Text="⚙️" annoySettBtn.TextColor3=Color3.fromRGB(255,255,255) annoySettBtn.TextScaled=true annoySettBtn.Font=Enum.Font.GothamBold annoySettBtn.BorderSizePixel=0 annoySettBtn.ZIndex=2 annoySettBtn.Visible=false Instance.new("UICorner",annoySettBtn).CornerRadius=UDim.new(0,6) hoverEffect(annoySettBtn,Color3.fromRGB(100,0,0)) table.insert(page2Buttons,annoySettBtn) annoySettBtn.MouseButton1Click:Connect(function() annoySettingsOpen=not annoySettingsOpen AnnoySettingsWindow.Visible=annoySettingsOpen end) local annoyStatusLbl=Instance.new("TextLabel") annoyStatusLbl.Parent=Frame annoyStatusLbl.BackgroundTransparency=1 annoyStatusLbl.Position=UDim2.new(0.02,0,0,126) annoyStatusLbl.Size=UDim2.new(0.96,0,0,20) annoyStatusLbl.Text="Target: None selected" annoyStatusLbl.TextColor3=Color3.fromRGB(150,150,200) annoyStatusLbl.TextScaled=true annoyStatusLbl.Font=Enum.Font.Gotham annoyStatusLbl.ZIndex=2 annoyStatusLbl.Visible=false table.insert(page2Buttons,annoyStatusLbl) annoyMainBtn.MouseButton1Click:Connect(function() if not selectedPlayer then notify("Select a player on Page 1 first!") return end annoyActive=not annoyActive if annoyActive then annoyMainBtn.BackgroundColor3=GREEN annoyMainBtn.Text="😈 Stop Annoy" notify("Annoying "..selectedPlayer.Name.."!") annoyConn=task.spawn(function() local angle=0 local activeTimer=0 local pausing=false local pauseTimer=0 while annoyActive do local tHRP=getTHRP() local hrp=getHRP() if tHRP and hrp then if not pausing then angle=angle+annoyRotSpeed*0.05 local offset=Vector3.new(math.cos(angle)*annoyRadius,0,math.sin(angle)*annoyRadius) hrp.CFrame=CFrame.new(tHRP.Position+offset) activeTimer=activeTimer+0.05 if activeTimer>=annoyActiveTime then activeTimer=0 if annoyPauseTime>0 then pausing=true pauseTimer=0 end if not annoyLoop then stopAnnoy(annoyMainBtn) return end end else pauseTimer=pauseTimer+0.05 if pauseTimer>=annoyPauseTime then pausing=false end end end task.wait(0.05) end end) else stopAnnoy(annoyMainBtn) end end) -- update status label RunService.Heartbeat:Connect(function() if currentPage==2 then annoyStatusLbl.Text="Target: "..(selectedPlayer and selectedPlayer.Name or"None selected") end end) local removeBtn=makeBtn("🗑️ Remove GUI",694,Color3.fromRGB(80,0,0),1) removeBtn.MouseButton1Click:Connect(function() blurEffect:Destroy() ScreenGui:Destroy() end) showPage(1) notify("CHM v3.4 loaded!")