local player = game:GetService("Players").LocalPlayer local workspace = game:GetService("Workspace") local starterPlayer = game:GetService("StarterPlayer") local function lockStats() if player:FindFirstChild("Hunger") then player.Hunger.Changed:Connect(function() player.Hunger.Value = 100 end) player.Hunger.Value = 100 end if player:FindFirstChild("Sleep") then player.Sleep.Changed:Connect(function() player.Sleep.Value = 100 end) player.Sleep.Value = 100 end end local function lockStaminaWorkspace() if workspace:FindFirstChild("PlayStudiosHolder") and workspace.PlayStudiosHolder:FindFirstChild("StaminaValue") then workspace.PlayStudiosHolder.StaminaValue.Changed:Connect(function() workspace.PlayStudiosHolder.StaminaValue.Value = 200 end) workspace.PlayStudiosHolder.StaminaValue.Value = 200 end end local function lockStaminaStarterPlayer() if starterPlayer:FindFirstChild("StarterCharacterScripts") and starterPlayer.StarterCharacterScripts:FindFirstChild("StaminaValue") then starterPlayer.StarterCharacterScripts.StaminaValue.Changed:Connect(function() starterPlayer.StarterCharacterScripts.StaminaValue.Value = 200 end) starterPlayer.StarterCharacterScripts.StaminaValue.Value = 200 end end lockStats() lockStaminaWorkspace() lockStaminaStarterPlayer() --DM for any conflicts or errors