-- Player = Stores stuff like you UserId. Its you!- Developers have access to like purchases and so
-- Character = How you look like - The Model in your Workspace
-- Humanoid = A little Robot inside the Character that Holds Values like your Health or WalkSpeed
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(Character)
local Humanoid = Character:FindFirstChild("Humanoid")
print(Character.Name)
print(Humanoid.Health)
end)
end)
local brick = script.parent
brick.Touched:Connect(function(player)
local humanoid = player.parent:FindFirstChildWichIsA("Humanoid")
--do anything here you want