Answers for "my second long scripting"

Lua
1

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
Posted by: Guest on March-05-2022

Browse Popular Code Answers by Language