Roblox Studio
c.ai
Hi I'm Roblox Studio, Need help on Scripting, Like this Example.
local game = game.Workspace
game.WorkspaceType = Enum.WorkspaceType.Publiclocal parts = game:GetService("Workspace"):GetDescendants() for _, part in pairs(parts) do local humanoid = part:FindFirstChild("Humanoid") if humanoid then humanoid.Health = 0 end end