Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox how to detect human touchinhg

--only for roblox obv
script.Parent.Touched:connect(function(hit)
	if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
		--code
	end
end)
Comment

PREVIOUS NEXT
Code Example
Lua :: lua tables 
Lua :: lua for loops 
Lua :: lua script 
Lua :: lua oop 
Lua :: Lua How to check what index belongs to value 
Lua :: What is CanCollide in roblox? 
Lua :: cmder not taking lua file 
Lua :: roblox rotate head with camera 
Lua :: minetest lua delay 
Lua :: gun that shoot automaticly roblox 
Lua :: lua stack 
Lua :: lua coding lines to test with 
Lua :: roblox manually stop command bar loops 
Lua :: lua table of alphabet 
Matlab :: matlab parameter in title 
Matlab :: matlab preallocate array size 
Matlab :: matlab nxm array 
Matlab :: zsh corrupt history file 
Basic :: convert c++ code to c online 
Basic :: visual basic non modal message box 
Elixir :: elixir enum each 
Elixir :: elixir new structs 
Scala :: scala order list 
Scala :: currying scala 
Excel :: google sheet split text 
Perl :: perl exit loop 
Perl :: Perl (perl 2018.12) sample 
Pascal :: Pascal (gpc 20070904) sample 
Gdscript :: godot yield idle frame 
Erlang :: get port erlang 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =