the meg will not go way
enabled = true
--clon = script.Parent.Parent:FindFirstChild("Regen Pack"):Clone()
--clon.Parent = game.Lighting
--clon.Name = script.Parent:FindFirstChild("Bus Name").Value
function touch(part)
if enabled then
if (part.Parent:FindFirstChild("Humanoid") ~= nil) then
enabled = false
name = part.Parent.Name
busname = script.Parent:FindFirstChild("Bus Name").Value
bus = game.Lighting:FindFirstChild(busname)
m = Instance.new("Message")
m.Text = "A New " .. busname .. " is Being Spawned By " .. name
m.Parent = game.Workspace
regen = bus:Clone()
regen.Parent = game.Workspace
regen:makeJoints()
wait(5)
m:Remove()
wait(20)
enabled = true
end
end
end
script.Parent.Touched:connect(touch)
