Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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
 
PREVIOUS NEXT
Tagged: #long #scripting
ADD COMMENT
Topic
Name
3+9 =