Search
 
SCRIPT & CODE EXAMPLE
 

LUA

how do you find a humanoid in roblox

-- 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)
Comment

roblox what is humanoid

-- 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
Comment

finding humanoid roblox. part

local brick = script.parent

brick.Touched:Connect(function(player)
    local humanoid = player.parent:FindFirstChildWichIsA("Humanoid")
    --do anything here you want
Comment

PREVIOUS NEXT
Code Example
Lua :: lua table is empty 
Lua :: lua loop 
Lua :: color3 not working lua 
Lua :: roblox table.find 
Lua :: input in lua 
Lua :: lua in pairs 
Lua :: for i in pairs lua 
Lua :: lua add 1 to a variable 
Lua :: how to get the length of a table in lua 
Lua :: lua list of all keys 
Lua :: check lua version 
Lua :: lua for loops 
Lua :: Lua How to check what index belongs to value 
Lua :: delete part on touch roblox 
Lua :: lua string 
Lua :: random number lua 
Lua :: dubble and big comment 
Lua :: lua teleport 
Matlab :: matlab font size axis 
Matlab :: matlab not less than 
Matlab :: matlab nxm array 
Basic :: how to open d drive using conda prompt 
Basic :: using amazon s3 to store your django sites static and media files 
Elixir :: elixir ecto query to sql 
Elixir :: elixir string interpolation 
Scala :: hashset scala 
Scala :: map function scala 
Excel :: excel formula not updating after inserting rows 
Perl :: perl add to hash 
Pascal :: pascal wait for key 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =