-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Animal Hospital Mobile Custom GUI -- Features: Anomaly ESP (Red), Patient ESP (Green), Noclip, Instant Interaction local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local CoreGui = game:GetService("CoreGui") local Workspace = game:GetService("Workspace") local ProximityPromptService = game:GetService("ProximityPromptService") local LocalPlayer = Players.LocalPlayer -- Clean up previous instance if executed multiple times if CoreGui:FindFirstChild("AnimalHospitalGui") then CoreGui.AnimalHospitalGui:Destroy() end -- Feature Toggle States local Settings = { AnomalyESP = false, PatientESP = false, Noclip = false, InstantInteraction = false, WalkSpeed = 16 } -- ScreenGui Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AnimalHospitalGui" ScreenGui.ResetOnSpawn = false local success, _ = pcall(function() ScreenGui.Parent = CoreGui end) if not success then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end --------------------------------------------------------- -- Mobile Dragging Functionality --------------------------------------------------------- local function makeDraggable(frame, dragHandle) dragHandle = dragHandle or frame local dragging, dragInput, dragStart, startPos dragHandle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) dragHandle.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) end --------------------------------------------------------- -- UI Layout Construction --------------------------------------------------------- -- Floating Mobile Toggle Button local ToggleBtn = Instance.new("TextButton") ToggleBtn.Name = "MobileToggleBtn" ToggleBtn.Size = UDim2.new(0, 48, 0, 48) ToggleBtn.Position = UDim2.new(0, 15, 0.35, 0) ToggleBtn.BackgroundColor3 = Color3.fromRGB(24, 24, 32) ToggleBtn.Text = "Δ" ToggleBtn.TextColor3 = Color3.fromRGB(160, 100, 255) ToggleBtn.TextSize = 22 ToggleBtn.Font = Enum.Font.GothamBold ToggleBtn.Parent = ScreenGui local ToggleCorner = Instance.new("UICorner", ToggleBtn) ToggleCorner.CornerRadius = UDim.new(0, 24) local ToggleStroke = Instance.new("UIStroke", ToggleBtn) ToggleStroke.Color = Color3.fromRGB(160, 100, 255) ToggleStroke.Thickness = 2 makeDraggable(ToggleBtn) -- Main Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 310, 0, 380) MainFrame.Position = UDim2.new(0.5, -155, 0.5, -190) MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 24) MainFrame.ClipsDescendants = true MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner", MainFrame) MainCorner.CornerRadius = UDim.new(0, 10) local MainStroke = Instance.new("UIStroke", MainFrame) MainStroke.Color = Color3.fromRGB(45, 45, 60) MainStroke.Thickness = 1.5 -- Header local Header = Instance.new("Frame") Header.Size = UDim2.new(1, 0, 0, 40) Header.BackgroundColor3 = Color3.fromRGB(26, 26, 36) Header.Parent = MainFrame local HeaderCorner = Instance.new("UICorner", Header) HeaderCorner.CornerRadius = UDim.new(0, 10) local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -40, 1, 0) Title.Position = UDim2.new(0, 12, 0, 0) Title.Text = "ANIMAL HOSPITAL | CUSTOM GUI" Title.TextColor3 = Color3.fromRGB(240, 240, 240) Title.TextSize = 13 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.BackgroundTransparency = 1 Title.Parent = Header local CloseBtn = Instance.new("TextButton") CloseBtn.Size = UDim2.new(0, 30, 0, 30) CloseBtn.Position = UDim2.new(1, -35, 0, 5) CloseBtn.Text = "✕" CloseBtn.TextColor3 = Color3.fromRGB(200, 200, 200) CloseBtn.TextSize = 14 CloseBtn.Font = Enum.Font.GothamBold CloseBtn.BackgroundTransparency = 1 CloseBtn.Parent = Header makeDraggable(MainFrame, Header) -- Scroll Area local ContentScroll = Instance.new("ScrollingFrame") ContentScroll.Size = UDim2.new(1, -20, 1, -55) ContentScroll.Position = UDim2.new(0, 10, 0, 48) ContentScroll.BackgroundTransparency = 1 ContentScroll.ScrollBarThickness = 3 ContentScroll.ScrollBarImageColor3 = Color3.fromRGB(160, 100, 255) ContentScroll.CanvasSize = UDim2.new(0, 0, 0, 0) ContentScroll.Parent = MainFrame local ContentList = Instance.new("UIListLayout", ContentScroll) ContentList.Padding = UDim.new(0, 8) ContentList.SortOrder = Enum.SortOrder.LayoutOrder ContentList:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() ContentScroll.CanvasSize = UDim2.new(0, 0, 0, ContentList.AbsoluteContentSize.Y + 10) end) --------------------------------------------------------- -- Component Builders --------------------------------------------------------- local function CreateToggle(text, defaultState, callback) local state = defaultState or false local ToggleFrame = Instance.new("Frame") ToggleFrame.Size = UDim2.new(1, 0, 0, 38) ToggleFrame.BackgroundColor3 = Color3.fromRGB(28, 28, 38) ToggleFrame.Parent = ContentScroll local Corner = Instance.new("UICorner", ToggleFrame) Corner.CornerRadius = UDim.new(0, 6) local Label = Instance.new("TextLabel") Label.Size = UDim2.new(0.7, 0, 1, 0) Label.Position = UDim2.new(0, 12, 0, 0) Label.Text = text Label.TextColor3 = Color3.fromRGB(220, 220, 220) Label.Font = Enum.Font.GothamMedium Label.TextSize = 12 Label.TextXAlignment = Enum.TextXAlignment.Left Label.BackgroundTransparency = 1 Label.Parent = ToggleFrame local Indicator = Instance.new("Frame") Indicator.Size = UDim2.new(0, 18, 0, 18) Indicator.Position = UDim2.new(1, -28, 0.5, -9) Indicator.BackgroundColor3 = state and Color3.fromRGB(160, 100, 255) or Color3.fromRGB(50, 50, 60) Indicator.Parent = ToggleFrame local IndCorner = Instance.new("UICorner", Indicator) IndCorner.CornerRadius = UDim.new(0, 5) local ClickBtn = Instance.new("TextButton") ClickBtn.Size = UDim2.new(1, 0, 1, 0) ClickBtn.BackgroundTransparency = 1 ClickBtn.Text = "" ClickBtn.Parent = ToggleFrame ClickBtn.MouseButton1Click:Connect(function() state = not state TweenService:Create(Indicator, TweenInfo.new(0.15), { BackgroundColor3 = state and Color3.fromRGB(160, 100, 255) or Color3.fromRGB(50, 50, 60) }):Play() callback(state) end) end local function CreateInputBox(placeholder, defaultText, callback) local Frame = Instance.new("Frame") Frame.Size = UDim2.new(1, 0, 0, 38) Frame.BackgroundColor3 = Color3.fromRGB(28, 28, 38) Frame.Parent = ContentScroll local Corner = Instance.new("UICorner", Frame) Corner.CornerRadius = UDim.new(0, 6) local TextBox = Instance.new("TextBox") TextBox.Size = UDim2.new(1, -20, 1, 0) TextBox.Position = UDim2.new(0, 10, 0, 0) TextBox.PlaceholderText = placeholder TextBox.Text = defaultText or "" TextBox.TextColor3 = Color3.fromRGB(250, 250, 250) TextBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 130) TextBox.Font = Enum.Font.GothamMedium TextBox.TextSize = 12 TextBox.BackgroundTransparency = 1 TextBox.TextXAlignment = Enum.TextXAlignment.Left TextBox.Parent = Frame TextBox.FocusLost:Connect(function() callback(TextBox.Text) end) end --------------------------------------------------------- -- Game Logic & ESP Systems --------------------------------------------------------- -- Apply Highlights to targeted Models in Workspace or Players local function ApplyHighlight(obj, nameTag, color, enabled) if not obj then return end local highlight = obj:FindFirstChild(nameTag) if enabled then if not highlight then highlight = Instance.new("Highlight") highlight.Name = nameTag highlight.FillColor = color highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.4 highlight.OutlineTransparency = 0 highlight.Parent = obj end else if highlight then highlight:Destroy() end end end -- Continuous ESP Loop for Anomalies (Red) and Patients (Green) RunService.RenderStepped:Connect(function() -- Scan Workspace and Players for Anomalies and Patients for _, item in ipairs(Workspace:GetDescendants()) do if item:IsA("Model") then local lowerName = string.lower(item.Name) -- Anomaly Detection (Red) if string.find(lowerName, "anomaly") then ApplyHighlight(item, "AnomalyESP_Red", Color3.fromRGB(255, 40, 40), Settings.AnomalyESP) end -- Patient Detection (Green) if string.find(lowerName, "patient") then ApplyHighlight(item, "PatientESP_Green", Color3.fromRGB(40, 255, 100), Settings.PatientESP) end end end -- Player Character check for Patient or Anomaly roles/names for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then local charName = string.lower(plr.Name) if string.find(charName, "anomaly") then ApplyHighlight(plr.Character, "AnomalyESP_Red", Color3.fromRGB(255, 40, 40), Settings.AnomalyESP) elseif string.find(charName, "patient") or (plr.Team and string.find(string.lower(plr.Team.Name), "patient")) then ApplyHighlight(plr.Character, "PatientESP_Green", Color3.fromRGB(40, 255, 100), Settings.PatientESP) end end end -- Noclip Engine if Settings.Noclip and LocalPlayer.Character then for _, part in ipairs(LocalPlayer.Character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end -- WalkSpeed Engine if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then LocalPlayer.Character.Humanoid.WalkSpeed = Settings.WalkSpeed end end) -- Instant Interaction Logic (Sets ProximityPrompt HoldDuration to 0) ProximityPromptService.PromptShown:Connect(function(prompt) if Settings.InstantInteraction then prompt.HoldDuration = 0 end end) local function EnableInstantInteraction() for _, prompt in ipairs(Workspace:GetDescendants()) do if prompt:IsA("ProximityPrompt") then prompt.HoldDuration = 0 end end end --------------------------------------------------------- -- GUI Controls Setup --------------------------------------------------------- CreateToggle("ESP Anomaly (Red)", false, function(state) Settings.AnomalyESP = state end) CreateToggle("ESP Patient (Green)", false, function(state) Settings.PatientESP = state end) CreateToggle("Noclip", false, function(state) Settings.Noclip = state end) CreateToggle("Instant Interaction", false, function(state) Settings.InstantInteraction = state if state then EnableInstantInteraction() end end) CreateInputBox("WalkSpeed (Default: 16)", "16", function(val) local num = tonumber(val) if num then Settings.WalkSpeed = num end end) --------------------------------------------------------- -- Visibility Toggle --------------------------------------------------------- local isVisible = true local function toggleMenu() isVisible = not isVisible MainFrame.Visible = isVisible end ToggleBtn.MouseButton1Click:Connect(toggleMenu) CloseBtn.MouseButton1Click:Connect(toggleMenu) print("[Animal Hospital Script] Loaded successfully!")