Search
 
SCRIPT & CODE EXAMPLE
 

LUA

my second long scripting

local part = workspace:FindFirstChild("Part")
local parts = script.Parent






part.Touched:Connect(proccess_this_life())



function proccess_this_life(otherpart)
	local part = otherpart.Parent
	local humanoid = part:FindFirstChild("Humanoid")
	if humanoid then
		humanoid.Health = 0
		print ("ded exploiter")
		local function ded()
			parts.CanCollide = true
			parts.Color = Vector3.new (120,225,120)
			parts.Anchored = true
			wait (3)
			parts.Anchored = false
			return ded()
		end
	end
end
Comment

PREVIOUS NEXT
Code Example
Lua :: lua hello world 
Lua :: lua globals 
Lua :: remote function unable to cast value to object 
Lua :: luau how to find something in table 
Lua :: roblox lua brick color randomiser 
Lua :: length of table lua 
Lua :: roblox wait for character 
Lua :: what is the point of local varaibles in lua 
Lua :: lua dict 
Lua :: how to define a player roblox studio 
Lua :: string.match roblox 
Lua :: table.find lua 
Lua :: lua table to json 
Lua :: cmder not taking lua file 
Lua :: local in script lua local 
Lua :: can you throw an error forceable in lua 
Lua :: difference between roblox and minecraft 
Lua :: lua compare time 
Matlab :: read all files from folder matlab 
Matlab :: repeat characters matlab 
Matlab :: matlab stop running function 
Basic :: basic latex document 
Basic :: dos assign command output to variable (when output is a single line) 
Elixir :: generate random number elixir 
Elixir :: elixir strings 
Scala :: scala split string to list 
Scala :: scala list of options to option of list 
Excel :: google sheets sort column by element frequency 
Perl :: perl while loop 
Pascal :: pascal readln() 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =